Sun, 19 Mar 2006

Atom feed and Planet Debian

I upgraded my atom feed to atom 1.0 during the week. This appears to have broken my entries on Planet Debian. If anyone has any ideas on what I can do to make planet like me with a valid atom 1.0 feed, please let me know.

Update: I've changed my feed from having html content to xhtml, which isn't encoded. Hopefully Planet will like this. If not I'll have to fix it in the morning.

[] | # Read Comments (6) |

Comments

feed validator complains about the tag: uri in your feed, that could be the problem.
Posted by Brian Ewins at Mon Mar 20 08:46:47 2006
Sorry the original link was to the validation of your atom feed, but the url was mangled by the comment...so fv tracked down your rss feed and complained about it too! Original link was...

http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.davidpashley.com%2Fcgi%2Fpyblosxom.cgi%2F%3Fflav%3Datom
Posted by Brian Ewins at Mon Mar 20 08:50:16 2006
Yep, I'd noticed that. Strangely it complains if I don't have it in there and I can't see any difference between my feed and one of the
example feeds on http://www.atomenabled.org. The problem was that planet doesn't understand the <content type="html"> mode where content is
escaped. I changed it to type="xhtml" where content is xml and the child is a <div> with the xhtml namespace defined. It looks like it's understood that and hasn't displayed the markup.

I suspect planet.debian.org need to upgrade their copy of feedparser to one that understands atom 1.0 properly.
Posted by JD at Mon Mar 20 09:05:07 2006
Any chance you could make the broken copy of the feed available (or just mail it to me)? It'd be interesting to try to track down the problem.
Posted by Brian Ewins at Mon Mar 20 09:21:46 2006
http://www.davidpashley.com/cgi/pyblosxom.cgi/?flav=atom-html

Of course I could have misunderstood the spec.
Posted by JD at Mon Mar 20 09:29:25 2006
Not your fault at all... it turns out even the latest planet doesn't grok atom 1.0, its still got the old feedparser bundled. I dropped in the latest feedparser and it 'just worked'. I'll pass this on to -devel. Thanks!
Posted by Brian Ewins at Mon Mar 20 11:28:45 2006

Name:


E-mail:


URL:


Comment:


Please enter "fudge" to prove you are a human