Atom flavour contains HTML code

Martin Michlmayr <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
When I point an RSS reader (say, rss2email) to my blog with the Atom
flavour I end up with HTML code in the text; this doesn't happen with
RSS20.  The change below fixes this but I'm not sure if this is the
correct one.


diff -urN pyblosxom-1.3~/Pyblosxom/flavours/atom.flav/story.atom pyblosxom-1.3/Pyblosxom/flavours/atom.flav/story.atom
--- pyblosxom-1.3~/Pyblosxom/flavours/atom.flav/story.atom	2006-02-02 19:15:37.000000000 +0000
+++ pyblosxom-1.3/Pyblosxom/flavours/atom.flav/story.atom	2006-02-02 19:31:00.000000000 +0000
@@ -8,7 +8,7 @@
 <updated>$w3cdate</updated>
 <published>$w3cdate</published>
 <link rel="alternate" type="text/html" href="$base_url/$file_path_urlencoded" />
-<content type="html"><![CDATA[
+<content type="html">
 $body
-]]></content>
+</content>
 </entry>


-- 
Martin Michlmayr
http://www.cyrius.com/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.