Monday, November 08, 2010 at 12:00 AM.
scripting2Suite.server.buildAllStories
on buildAllStories (username) { <<Changes <<6/3/10; 4:38:26 PM by DW <<Created. This takes a long time to run. A little over a second per story. local (adrdata = scripting2suite.inituser (username), adryear, adrmonth, adrday, adrstory); for adryear in @adrdata^.calendar { for adrmonth in adryear { for adrday in adrmonth { for adrstory in adrday { <<msg (adrstory^.postdate + ": " + adrstory^.title + ".") <<scratchpad.laststory = adrstory^.postdate scripting2Suite.server.buildStoryPage (username, adrstory)}}}}}; bundle { //test code buildAllStories ("davewiner")}
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.