Tuesday, August 18, 2009 at 7:35 PM.
photoFanSuite.checkFeeds
on checkFeeds () { <<Changes <<4/16/08; 1:50:23 PM by DW <<Respect user.photoFan.prefs.enabled. <<3/7/08; 9:52:05 AM by DW <<Record errors in the new feed-level lastError table. <<11/18/07; 9:18:30 PM by DW <<Give it a standard arrangement with a test code bundle at the bottom. <<11/6/07; 10:12:43 AM by DW <<Break out checkfeed into a separate debuggable object. <<11/3/07; 12:25:41 PM by DW <<Disable debugging messages on tcp.httpReadUrl calls. <<11/2/07; 7:02:51 AM by DW <<Remove code that updates tools. <<10/30/07; 9:15:07 AM by DW <<If it's not flickr.com, don't use flickr.readFeed. For OPML files this is important because it's possible that the OPML hasn't changed, but the RSS feeds it links to have. <<10/29/07; 5:27:03 PM by DW <<Update opml.root in addition to flickrRivr.root. <<9/30/07; 12:40:29 PM by DW <<Use new optimized Flickr feed reader. <<5/6/07; 12:38:20 PM by DW <<Use the new code updating method. <<4/22/07; 2:24:24 PM by DW <<Update the flickrRivr tool every hour, in a separate thread so we can update this script too. <<4/21/07; 6:22:22 PM by DW <<Call flickrRivrSuite.parseXstruct instead of local routine. <<4/20/07; 9:14:57 PM by DW <<Add support for OPML reading lists. <<1/1/06; 6:59:20 AM by DW <<Created. photoFanSuite.init (); if user.photoFan.prefs.enabled { //4/16/08 by DW user.photoFan.stats.ctChecks++; user.photoFan.stats.whenLastCheck = clock.now (); filemenu.save (); local (adrfeed); for adrfeed in @user.photoFan.feeds { try { photoFanSuite.checkFeed (adrfeed)} else { adrfeed^.lastError.what = tryerror; //3/7/08 by DW adrfeed^.lastError.when = clock.now ()}}}}; <<flickrRivrSuite.deleteSmallPics () bundle { //test code checkFeeds ()}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.