Monday, November 08, 2010 at 12:04 AM.


	<<4/21/09; 2:30:49 PM by DW
		<<Created. Roll the log outline every night, if it's not empty.
local (adrlogoutline = @user.log.outlines.default);
if sizeof (adrlogoutline^) > 1 { //more than 1 headline
	local (opmltext = op.outlinetoxml (adrlogoutline));
	local (f = frontier.getsubfolder ("ops/logs/outlines") + file.getdatepath (flLastSeparator:false) + ".opml");
	file.surefilepath (f);
	file.writewholefile (f, opmltext);
	new (outlinetype, adrlogoutline)}

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.