Monday, November 08, 2010 at 12:05 AM.
system.verbs.builtins.radio.thread.agents.downloadEnclosures
<<Changes
<<12/2/01; 1:40:56 AM by JES
<<Respect offline status.
<<10/19/01; 4:39:31 PM by JES
<<Created. If the current hour is between user.radio.prefs.enclosures.hourToStartDownloads and user.radio.prefs.enclosures.hourToStopDownloads, and we're not already downloading enclosures, download them by calling radio.aggregator.downloadEnclosures.
if not tcp.isOffline () {
if user.radio.prefs.enclosures.flDownloadsEnabled {
if not defined (system.temp.radio.misc.flDownloadingEnclosures) {
system.temp.radio.misc.flDownloadingEnclosures = false};
if not system.temp.radio.misc.flDownloadingEnclosures {
local (day, month, year, hour, minute, second);
date.get (clock.now (), @day, @month, @year, @hour, @minute, @second);
if hour >= user.radio.prefs.enclosures.hourToStartDownloads {
if hour < user.radio.prefs.enclosures.hourToStopDownloads {
thread.callScript (@radio.aggregator.downloadEnclosures, {})}}}}}
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.