Just a quick Question about Atom and RSS updating
Posted: Fri Jun 12, 2009 7:46 am
I was wondering what the best way is to keep the atom and rss feeds updated. I need it to update once a new article is updated. I can't do it on creation as articles can be predated and are published delayed. So I was thinking of a couple of way to do it.
1. Using Contab to update it every so often
2. Running all .xml documents thru php and create the feeds on the fly
3. Using my regular php page calls to check if the feed is current and update if needed.
I am currently prefering #2 as crontab limits my prog to where crontab is available. I am not sure however how much burden the creation of on-the-fly feeds put on the server as I have no clue how often such a feed is called etc.
Do you guys have an idea what the best way is to do this?
1. Using Contab to update it every so often
2. Running all .xml documents thru php and create the feeds on the fly
3. Using my regular php page calls to check if the feed is current and update if needed.
I am currently prefering #2 as crontab limits my prog to where crontab is available. I am not sure however how much burden the creation of on-the-fly feeds put on the server as I have no clue how often such a feed is called etc.
Do you guys have an idea what the best way is to do this?