Monday, November 08, 2010 at 12:05 AM.
system.verbs.builtins.radio.thread.agents.weblogArchive
<<Changes
<<12/14/01; 8:47:36 PM by DW
<<Created. Update the Weblog archive once an hour if it changed.
if user.radio.prefs.flWeblogArchive {
local (flupdate = false);
bundle { //set flupdate
local (day, month, year, hour, minute, second);
date.get (clock.now (), @day, @month, @year, @hour, @minute, @second);
if minute == 0 {
if not defined (system.temp.radio.misc.lastWeblogArchiveHour) {
system.temp.radio.misc.lastWeblogArchiveHour = -1};
if hour != system.temp.radio.misc.lastWeblogArchiveHour {
system.temp.radio.misc.lastWeblogArchiveHour = hour;
flupdate = true}}};
if flupdate {
radio.weblog.archive.update ()}}
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.