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...).

Comments

eean’s picture

Limiting the s9y feed to 15 items did allow the import to take place.

eean’s picture

This feed is having the same problem despite the item limit:
http://amarok.kde.org/blog/feeds/categories/18-freespirit.rss

swe3tdave’s picture

Component: User interface » Code
Assigned: Unassigned » swe3tdave
Priority: Normal » Critical

i can confirm that this problem still exist in 6.x-1.3

abraham’s picture

Nigeria’s picture

This problem seems to affect all feedburner feeds

swe3tdave’s picture

StatusFileSize
new37.87 KB

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.. ;)

swe3tdave’s picture

StatusFileSize
new1.58 KB

This should fix the empty nid in planet_items. The patch is incremental(You apply it after applying planet_xml.patch)

swe3tdave’s picture

StatusFileSize
new1.15 KB
swe3tdave’s picture

StatusFileSize
new1.66 KB

This should be the last one. Unless someone finds another bug...

swe3tdave’s picture

StatusFileSize
new39.58 KB

This patch include all 4. Have Fun.. :)

swe3tdave’s picture

StatusFileSize
new438 bytes

Small omission, nothing to worry about, but a little bit more helpful... :P

swe3tdave’s picture

Status: Active » Needs review
RockyRoad’s picture

These problems should be fixed in planet-6.x-1.x-dev release.
I leave the issue open until tests confirm it.

MTecknology’s picture

I'd like to point out that the Ubuntu-Drupal team has completed their Planet module which is much more stable and featured than this modules.

Try it out and see which you prefer. http://drupal.org/project/udplanet

MTecknology’s picture

Assigned: swe3tdave » Unassigned
Status: Needs review » Closed (won't fix)

This project is being abandoned by the maintainer (swe3tdave) in favor of a similar project that has many of the bugs in this module taken care of. Please try to udplanet module (http://drupal.org/project/udplanet) to see if this bug still exists. If it does please report it. This module is actively maintained and the Ubuntu-Drupal team that maintains it will make every effort to ensure the issue is resolved as quickly as possible.

Because this project is now abandoned, I and setting the Status to Won't Fix and removing anyone assigned to it.

Thanks,
MTecknology