Closed (fixed)
Project:
SimpleFeed
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2007 at 01:58 UTC
Updated:
11 Apr 2007 at 02:15 UTC
Some feeds are not parsed by simplefeed (items are not created). Up so far:
http://news.nationalgeographic.com/index.rss
http://www.nature.com/news/rss.rdf
http://sciencenow.sciencemag.org/rss/current.xml
http://www.sciam.com/xml/sciam.xml
At least the last one is a 'body is required' error; some items in this feed only have a title. The other ones fail for no apparent reason and the other drupal based aggregators had no problems with them.
Comments
Comment #1
m3avrck commentedOk, I've fixed feed items bodies being required, but the others not sure.
Try here: http://www.simplepie.org/demo/
If they fail there, that is an issue with them so file a bug report over there :-P
I've updated to latest trunk in the release so that might have fixed it too.
Comment #2
FiReaNGeL commentedAll feeds pass the simplepie demo test, and all feeds still fail for some reason. I'll try to investigate this weekend.
Comment #3
m3avrck commentedStrange -- must be during the node creation process for whatever reason, hmm... maybe something is failing validation still? Ping me on #drupal to help debug.
Comment #4
FiReaNGeL commentedOk, the Scientific American feed is now OK since you fixed the 'no description' problem. About the three other feeds:
$feed->data is containing all the necessary data, but for some reason, $feed->get_item_quantity() reports 0 in all three cases. So thats why they're not updating, and its clearly a simplepie bug.
Opened an 'issue' on their support forum: http://simplepie.org/support/viewtopic.php?pid=2707#p2707
For me its not a showstopper, but I guess getting it fixed as soon as possible will benefit everyone :)
Comment #5
m3avrck commentedThanks fireangel! Hopefully we can get that straightened out with the SimplePie guys.
Comment #6
micheleannj commentedCan you give a list of feed types currently supported / not supported? I noticed that /rss/ isn't working (only get titles) but atom.xml seems fine. I'd like to roll this module out to my beta users but it would be nice to document what's currently working.
Again, lemme know if I can help out in any way.
`maj
Comment #7
FiReaNGeL commentedEvery feed type is supported as far as I know, its just that I stumbled (up so far) on three specific feeds that were failing.
Comment #8
m3avrck commentedEverything is supported :-p
http://simplepie.org/
Some just don't work, for whatever reason. File a bug with SimplePie and/or test their demo to see if feeds work or not.
Comment #9
m3avrck commentedFixed!
Turns out to be a bug in SimplePie, I put in a workaround to use foreach() instead of a for()
Comment #10
(not verified) commented