Active
Project:
FeedAPI
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2007 at 14:34 UTC
Updated:
21 Dec 2007 at 22:10 UTC
I get "Could not refresh feed." when I try to refresh a feed with the common_syndication parser.
The "initial" download of items works fine but after that each refresh fails.
I am searching for more info but for now, it's all I have.
Comments
Comment #1
tomdeb commented$feed, returned by
$feed = _feedapi_call_parsers($feed, $feed->parsers, $feed->half_done ? FALSE : TRUE);
on line 1030 of feedapi.module, is an empty array.
Comment #2
aron novakThis simply means that the feed is not refreshed at the server side, that's why feedapi does not do anything. Common syndication parser looks at the HTTP status code and if it's "304 Not Modified" then you get this "error" message.
Task: make the message straightforward, now it can be confusing.
Comment #3
tomdeb commentedI thought about that but then It doesn't update the items when a term has been added to the inherit settings or when taxonomies have been mapped to some feed options.
Comment #4
aron novakWell, it's true, but i think this is the best way to go: untouch feed items if the feed says it's unaltered at the source. For example feedapi_inherit should offer a way to refresh the taxonomy data. We have to find a solution to apply taxonomy - changes immediately. For last chance: you can use simplepie parser. Do you have any strong reason why do you use common syndication parser? I have only one reason for it: it's faster.
Comment #5
aron novakI renamed the title to address the real problem.
Comment #6
tomdeb commentedhttp://drupal.org/node/201413. That is my main reason at the moment.
I also think that a pure drupal solution, under the GPL, makes more sense that using third-party software.
I will try to fiddle with the feedapi_mapper module.