Download & Extend

Planet returns an XML error for a feed that core aggregator has no problem with

Project:Planet profile
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

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

#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

Version:»
Component:User interface» Code
Priority:normal» critical
Assigned to:Anonymous» swe3tdave

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

#4

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

AttachmentSize
planet_xml.patch 37.87 KB

#7

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

AttachmentSize
planet_xml-2.patch 1.58 KB

#8

AttachmentSize
planet_xml-3.patch 1.15 KB

#9

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

AttachmentSize
planet_xml-4.patch 1.66 KB

#10

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

AttachmentSize
planet_xml.patch 39.58 KB

#11

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

AttachmentSize
planet_xml-readmefix.patch 438 bytes

#12

Status:active» needs review

#13

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

#14

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

#15

Assigned to:swe3tdave» Anonymous
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