Tuesday, August 18, 2009 at 7:30 PM.
newsRiverSuite.background.everyHour
<<Changes <<5/13/06; 8:47:17 PM by DW <<Handle automatic export of mySubscriptions.opml. <<1/19/06; 6:34:03 AM by DW <<Start downloading podcasts according to hourToStartDownloads pref. local (adrdata = newsRiverSuite.init ()); if adrdata^.newsRiver.podcatcher.prefs.enabled { if date.hour () == adrdata^.newsRiver.podcatcher.prefs.hourToStartDownloads { newsRiverSuite.doScanNow (); newsRiverSuite.podcatcher.downloadQueue (true)}}; if adrdata^.newsRiver.flSubscriptionListDirty { //5/13/06; 9:18:34 PM by DW if adrdata^.newsRiver.flAutoSubscriptionExport { //it's enabled local (fname = newsRiverData.english.strings.aggregator.subsFileName); if adrdata^.newsRiver.flPublicSubscriptionExport { local (folder = dotopmldata.folderwatcher.prefs.folder); local (f = folder + "newsRiver" + file.getpathchar () + fname); xml.aggregator.saveServicesXml (f); dotopmlsuite.folderwatcher.threadscript (); local (path = string.delete (f, 1, sizeof (folder))); local (adrfile = @dotopmldata.folderwatcher.files.[path]); local (url = adrfile^.url); ["xmlrpc://rpc.opml.org/RPC2"].weblogupdates.ping (user.prefs.name, url)} else { xml.aggregator.saveServicesXml (frontier.pathstring + fname)}}; adrdata^.newsRiver.flSubscriptionListDirty = false}
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.