This is a tremendous module.
One support or feature request: I'm working on a site that aggregates posts from sources in near real-time, such as tweets and other live micro-content where real-time interaction with the poster is the idea. But on the FeedAPI drop-down menu for Content Type >> Feed, the quickest time allowed for updating feeds is once every 15 minutes. Can I speed that up? I'm already running Cron every minute, so ideally would like to update the feed every minute as well.
Although this is a feature request, if there's a way I can go into the code and adjust that update-option for my own implementation while awaiting the feature, that would be good to know, as much as I like to avoid code changes.
Any thoughts would be greatly appreciated.
Comments
Comment #1
fumbling commentedResolved, in a sense. I set up a cron job to hit the feed refresh URL once per minute. I'm not sure if that's a structurally sound solution, but it does result in updating the feed once a minute instead of once every 15.
Comment #2
flexvixon commentedInteresting solution drupalot. I find it strange that there's no clear definition on how often feeds are updated. I'm looking. I'm looking.
Comment #3
fumbling commentedThanks. Let us know what you find.
Comment #4
flexvixon commentedNo response from anyone yet. A light hunt turns up nothing. I'll update if I find anything...
Comment #5
aron novakWell, to adjust the minimal refresh interval, you need to do this (not clean solution, only an ugly hack):
1) Edit feedapi.module file, line 15:
define('FEEDAPI_CRON_MIN_REFRESH_TIME', 1800);Here the value is in seconds.
Comment #6
fumbling commentedThanks Aron, I'll try that. So the minimum refresh would need to be coordinated with cron as well right? For example, if the minimal refresh interval is 30 seconds, and cron runs once every 5 minutes, the feed will actually get refreshed once every 5 minutes, not every 30 seconds, right? Thanks again for your help.