PDA

View Full Version : Cache rss information?


xmcnuggetx
May 11th, 2009, 01:28 PM
Is there an automatic way for Boxee to cache rss data from within a boxee app? Say only fetch a feed once a day vs each time the application is opened.

DPK
May 11th, 2009, 01:50 PM
In theory, you could save the date/time you pull the feed to a config setting. Then check against the current time for a 24 hours period to elapse. If it has, pull a new feed and save the xml file locally, if not load the locally saved feed.

There's probably a "preferred" method boxee can use, but the API documentation is sparse so this is what I'd do if I were in this situation.

junda
May 26th, 2009, 12:59 PM
save the feed locally and save time tag to your localconfig, then choose local copy if not expired. for how to deal with local rss, look at the app below

http://forum.boxee.tv/showthread.php?t=9018