Tuesday, August 18, 2009 at 7:31 PM.
newsRiverSuite.doScanNow
<<Changes <<10/4/08; 11:54:27 AM by DW <<Add profiling code, ships disabled. <<1/14/06; 6:03:38 PM by DW <<Reading list support. Before we do a scan, check all the reading list, subscribe and unsubscribe from feeds as needed. local (flprofile = false, adrprofile); if flprofile { //10/4/08 by DW adrprofile = @system.temp.newsRiver.scanProfile; if not defined (adrprofile^) { new (tabletype, adrprofile)}; local (name = string.padwithzeros (sizeof (adrprofile^) + 1, 5)); adrprofile = @adrprofile^.[name]; script.startprofile (true)}; bundle { //if there are no services, load the default subscriptions local (adrdata = xml.aggregator.init ()); if sizeof (adrdata^.services) == 0 { newsRiverSuite.importDefaultSubscriptions ()}}; window.about (); newsRiverSuite.readingList.beforeScan (); //1/14/06 by DW local (startticks = clock.ticks ()); xml.aggregator.readAllServices (); log.addtooutline ("Scan: " + "Hourly news aggregator scan", startticks:startticks); if flprofile { //10/4/08 by DW script.stopprofile (adrprofile)}
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.