Sorry to submit a bug report so soon after a release. This seems to
affect 3.03 and previous version. 


There appears to be a bug in the RDF generation code for the journal
style. The following  muse file...


* 20070619 Hello

Goodbye

* 20070619 Hello 2

Goodbye 2


 
Gets translated as     

 [...]
  </description>
    <link>temp.html#hello</link>
    <dc:date>2007-06-19T00:00:00</dc:date>
    <dc:creator>[EMAIL PROTECTED]</dc:creator>
  </item>
  <item rdf:about="temp.html#hello2">
    <title> Hello 2</title>
    <description>
      Goodbye 2



 
</description>
<link>temp.html#hello2</link>
<dc:date>2007-06-19T00:00:00</dc:date>
<dc:creator>[EMAIL PROTECTED]</rdf:RDF>


As you can see neither the dc:create, nor item is properly closed. 

This occurs using journal-rdf follow M-x muse-publish-this-file 

Picking around a bit shows that        

muse-journal-rss-munge-buffer is to blame. Particularly in this
section....


   (while (search-forward "%maintainer%" nil t)
              (replace-match
               (or (muse-style-element :maintainer)
                   (concat "webmaster@" (system-name)))
               nil t))))))
    (unless (eobp)
      (delete-region (point) (point-max)))
    )


Commenting out the final `unless' form  solves the issue -- the
correct markup is being inserted and then deleted. 

Haven't quite worked out what this form is trying to achieve -- clean
up at the end of the file I guess -- so I am not sure what the
consequences are of removing it. 



Hope this helps! Congratulations on the release BTW. Muse is getting
better and better with every release. 

Phil

_______________________________________________
Muse-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/muse-el-discuss

Reply via email to