Can I update the feed more often than once every fifteen minutes?

fumbling - October 24, 2008 - 22:51
Project:SimpleFeed
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I like this model of making feeds and feed items into nodes but am running into some trouble. I'm working on a site that aggregates posts from sources in near real-time, such as tweets and other micro-content where real-time interaction with the poster is the idea. But under Site Configuration >> Simplefeed, the quickest time it checks feeds is once every 15 minutes. Can I speed that up? Also, do I have to run cron every time it checks a feed and pulls in new content? If so, how do I make sure cron runs each time?

#1

VM - October 24, 2008 - 22:54

cron can be run from a cronjob set up on your server = http://drupal.org/cron

#2

fumbling - October 25, 2008 - 00:20

Thanks. Cron actually doesn't seem to be the issue. I can get cron running at any frequency, but the shortest interval allowed by Simplefeed to check feeds for updates is once every 15 minutes. Even when cron is running constantly, the feeds are only updating once every 15 minutes as a result. It looks like I need to reduce that, but 15 minutes is the shortest interval on the menu on the Simplefeed setup page. Do I need to use FeedAPI instead to have a bit more granular control over that?

#3

30equals - March 30, 2009 - 14:09

hey

i needed to do the same thing, and i came across this post.

what i did was, add a new value (300 - for 5 minutes) in the interval array. drupal 5 though

#169 $period = array(0 => t('Never'), 1 => t('Manual')) + drupal_map_assoc(array(300, 900, 1800, 3600, 7200, 10800, 21600, 32400, 43200, 64800, 86400, 172800, 259200, 604800), 'format_interval');
#344 $period = array(0 => t('Never'), 1 => t('Manual')) + drupal_map_assoc(array(300, 900, 1800, 3600, 7200, 10800, 21600, 32400, 43200, 64800, 86400, 172800, 259200, 604800), 'format_interval');

worked for me, maybe this applies for D6 as well

 
 

Drupal is a registered trademark of Dries Buytaert.