Closed (fixed)
Project:
FeedAPI
Version:
6.x-1.x-dev
Component:
Code parser_common
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Dec 2008 at 00:31 UTC
Updated:
18 Aug 2009 at 09:48 UTC
I had several working feeds and then on Dec 8 they stopped refreshing.
Here is an example:
http://articlesofhealth.blogspot.com/feeds/posts/default
This feed has several new posts since Dec 8 but no matter how many times I run Cron or refresh my feed, it says no new items were added and shows no new items.
Attached is a screenshot of my feed's edit page.
Can anyone spot or explain the problem?
| Comment | File | Size | Author |
|---|---|---|---|
| feedapi.jpg | 75.04 KB | cpelham |
Comments
Comment #1
matt2000 commentedI seem to be having similar problems with some sites, since Dec 19. I've tried both 6.x.-1.5 and 6.x-1.x-dev with no improvement either way. The module on a new site retrieves feed items without problem however. Just older sites are having trouble. Also the module will delete outdated items on refresh, but just won't add new items.
Comment #2
matt2000 commentedSince my problem started after my upgrade to FeedAPI 1.5, I decided to try downgrading to 1.4. Strangely, after doing so, one of my two feeds was able to retrieve new items, but not the other. So I'm totally baffled. Let me know if I can do any other troubleshooting.
BTW, I'm using the Common Syndication Parser, FeedAPI Node and FeedAPi Inherit.
Comment #3
aron novakLet me know if it helps or not if you purge the /parser_common_syndication_cache directory under the '/files'.
Comment #4
cpelham commentedHi Aron. I deleted the files in that directory and then ran cron, and my feeds refreshed. Does that narrow the issue down enough for you to work out a fix?
Comment #5
lugha commentedHi Aron, I am having the same issue. That is, even when clicking Refresh manually my feed never updates, I only have one post out of the entire feed.
This is the feed I am using.
http://www.whitehouse.gov/feed/blog/
I could not find any file called /parser_common_syndication_cache directory under the '/files' to delete. Actually, I have no /files directory in my installation of 6.x.
Comment #6
heavy_engineer commentedHi,
Ive had the same problem. I read through the source code for the function _feedapi_invoke_refresh in the .module
on line 1095 there is the section which looks for changed content. I assumed this was looking at the entries to see if they were new, but it seems to be only looking at the header of the feed. So for my feeds, even tho the content changed in the entries, the header was still the same and this code:
// Step 3: See, whether feed has been modified.
if ($feed === FALSE || $hash_old == $feed->hash) {
// Updated the checked field in any case.
was causing the hash of the feed to be same, hence not refreshing (herre is the code from my feed, this is on zend framework):
$feedArray = array(
'title' => 'Latest Trawler Results'.time(),
'link' =>'',
'description' => 'Trawler feed',
'language' => 'en-us',
'charset' => 'utf-8',
'generator' => 'tnc trawler with zend framework',
'entries' => array()
);
until i added the .time() to the title, none of my feeds were refreshing. And they were working in test, then not in live, but this seems to have sorted the problem nicely.
Hope this helps someone.
Comment #7
heavy_engineer commentedback to the drawing board. This worked once and then stopped again. I have added last_update=>time() to the feed and that doesnt seem to have made much difference either.
im going to try and explore what effect removing the 'if updated' section has...
Comment #8
heavy_engineer commentedMine started working. I think my problem was that i didnt understand how the module worked. You dont need to call a url to get the feeds to refresh, they refresh during the cron.php run. Mine is working happily now for a few weeks.
Comment #9
aron novakseems to be ok