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?

CommentFileSizeAuthor
feedapi.jpg75.04 KBcpelham

Comments

matt2000’s picture

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

matt2000’s picture

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

aron novak’s picture

Let me know if it helps or not if you purge the /parser_common_syndication_cache directory under the '/files'.

cpelham’s picture

Hi 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?

lugha’s picture

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

heavy_engineer’s picture

Hi,

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.

heavy_engineer’s picture

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

heavy_engineer’s picture

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

aron novak’s picture

Status: Active » Closed (fixed)

seems to be ok