That's it! Now you will have the option in the RSS Feed Manager to add feeds to be checked every 2 or 5 minutes. You can also go back to your existing feeds and change them to be checked every 2 or 5 minutes.
One more thing... you will have to modify the RSS Poster Robot settings in the Scheduled Tasks, or the feeds still won't be checked more frequently than once every 10 minutes.
To do this, go to the Admin Control Panel, select Scheduled Task Manager, and then click Go under RSS Poster Robot.
Make sure Days of the Month, Days of the Week, and Hour are all set to *. Then go change the first column of Minute also to *. The result should look like the below attachment.
No problem i've just made the changes to mine for 24 and 48 hours will let you know what happens, i cant see there being a problem with double posting.
Code:
case 259200: // every 72 hours
case 172800: // every 48 hours
case 86400: // every 24 hours
Dan I’ve got a problem, when I save the feed after making a selection for the TTL its not saving. Going back to the feed to edit it the TTL setting is set to 10 minutes, selecting any of the vB stock times works and they get saved.
So it’s got me thinking something must be missing in the database, going to have a look now but can you look at yours and see if you get the same thing or dose yours remember your choice?
Ok i think i have worked it out, it looks as though vB seems to only support 65535 so call it 18 hours, anything above that it just inserts "65535" into the ttl.
Interesting. I didn't know about the 65535 limitation.
Other than that, I don't see any problems with setting additional options for higher than the max time allowed by default, provided you edit the PHP files described above accordingly.
There is no problem going higher in that sense, the 65535 is a 16bit limit i.e. (2^16=65536).
The problem is/was with the database, the TTL column type is set to "smallint(5)" by default, changing this to int(11) fix's the problem. I'm now running a feed and checking ever 48 hours with no problems so far.
Obviously anyone reading this should understand what they are doing and note it is not recommended that you edit core files in this way, you also shouldn’t really be messing with the database. Next time you update vB it’s possible that the files will have changed and any edits you made could be lost, it’s also not the intended use for the product.
I'm going to turn this into a proper modification/plug-in, I will need it myself Dan and no doubt you and others would find it beneficial.
Thanks for this! I had made the changes to rssposter.php already, but couldn't figure out which other file kept resetting my choices back to 30 minutes This saved me a lot of searching.