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


on addToolToUpdates (adrintool) {
		<<8/4/08; 5:46:56 AM by DW
			<<Created. Called by a tool to request nightly updates. This is done by adding an address in the tool's database in a special table.
	local (alist = string.parseAddress (adrintool));
	local (f = alist [1], fname = file.filefrompath (f));
	local (adrsub = @user.opmlEditor.prefs.toolsToUpdate.[fname]);
	if not defined (adrsub^) {
		adrsub^ = adrintool}}
<<bundle //test code
	<<addToolToUpdates (@newsriverinfo)

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.