Planet returns an XML error for a feed that core aggregator has no problem with
eean - December 23, 2007 - 19:08
| Project: | Planet |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | swe3tdave |
| Status: | needs review |
Description
Planet returns the error "Failed to parse RSS feed Mark Kretschmann: Invalid document end at line 1."
The feed's url is:
http://amarok.kde.org/blog/feeds/categories/1-markey.rss
The feed is very long since I want to do an initial import of all the old blogs. Perhaps Planet has some limit on how long feeds can be? Its on the same server as Drupal so its certainly not a timeout issue.
The core module Aggregator is able to parse it (thought it only gets the first 4 items...).

#1
Limiting the s9y feed to 15 items did allow the import to take place.
#2
This feed is having the same problem despite the item limit:
http://amarok.kde.org/blog/feeds/categories/18-freespirit.rss
#3
i can confirm that this problem still exist in 6.x-1.3
#4
2 other feeds that have the same problem:
http://www.geekazine.com/feed
http://feeds2.feedburner.com/typepad/beermann
#5
This problem seems to affect all feedburner feeds
#6
Ok, this is an experimental patch, only try this on a test site, i repeat, this is probably highly unstable code... :P
Basically, i switched the xml parsing to the simplepie library. It seems to work, but there are a few bugs that i still have to work out. Unless someone beats me to it.. ;)
#7
This should fix the empty nid in planet_items. The patch is incremental(You apply it after applying planet_xml.patch)
#8
#9
This should be the last one. Unless someone finds another bug...
#10
This patch include all 4. Have Fun.. :)
#11
Small omission, nothing to worry about, but a little bit more helpful... :P
#12
#13
These problems should be fixed in planet-6.x-1.x-dev release.
I leave the issue open until tests confirm it.