Drupal 7 feed aggregator not updating
If you don't mind I'll either: 1 incorporate it in the module proper 2 put it in the documentation as an example of how to extend the module by implementing its hook With attribution to you of course!
I've edited edc1's code from 9 and added it as a mini-submodule. I am having problems getting my two external RSS news aggregators to show up in Drupal's home page with one test post.
I have the following advagg modules enabled: The JS aggregated file created by advagg module is not compressed. The initial requirement of having a JS aggregator still remains. But minify does not work on top of aggregated [email protected] Are you using the compressor that comes with Adv Agg? I want to display the minimum time for each 'Name' so I set the 'Apply column function' to the 'Time' field and set it to 'Minimum'.
The aggregation works as expected but the row numbers aren't sequential any more: I think the problem is that the 'View result counter' filed is calculated before the aggregation happens.
I did test the feed on a clean install of 7. My guess is that it is something to do with an items publish date as the aggregator, when run, reports "no new items" even when there are some. The feed won't update and pull in new items on a cron run or when manually updating it. If you delete all the items, then I presume the feed aggregator simply imports all items regardless of the date.
I have to first remove all existing local items before the feed will update correctly via the admin menu options. After this manual remove and update, no further updates happen - eventhough the cron is running correctly. The problem has existed for a while since before 7.
Drupal 7. If there are any in there, it could indicate that queue items aren't being executed properly for some reason. Difficult to say if the existing items aren't being changed as the existing items in the feed don't appear to change. Jan 30, I have a view that makes use of Views Aggregator Plus. The view uses the global field 'View result counter' to display row numbers in the table that gets displayed by the view. Without any aggregation settings this field works as expected.
Go to your settings. Add the following to the list:. The number at the end is the number of seconds a program can run before timing out. Setting it to 0 means "never timeout" which you should use very carefully, like on a development site where you have control over the server.
The cause of the problem likely stems from a corrupt database causing errors when the cron job is run. Details and remedy here:. After following the above instructions you may still see the feeds not updating. Further things to consider:.
Check your site logs for cron job running successfully and new feed items being imported from the aggregator. If you are using a View of type aggregator to process the feed then you would probably need to sort the feed by descending so that the latest feed items appear first.
To do this you will need to define your own date format check the PHP option for the Aggregator Feed Item Timestamp in the View sort criteria, so that the date is big endian i. The current date formats offered aren't purely big endian and the sort won't work properly e. Sign up to join this community. The best answers are voted up and rise to the top.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 9 years, 9 months ago. Active 5 years, 6 months ago. Viewed 5k times. But why is the cron job not triggering the updates? Improve this question. Community Bot 1. No responses. Looks like I'm going to have to solve this myself. Over a year later, and still no response! I have an answer below that hopefully solves the issue for others with the same problem — therobyouknow.
Add a comment. Active Oldest Votes. When I applied to patch I was informed that this was already in the version of aggregator.
0コメント