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

on prefs (adrTheme) {
		<<1/24/02; 11:22:55 AM by JES
			<<Store archiveLinkImgTag, itemPermaLinkImgTag, and enclosureImgTag with the Theme.
		<<1/8/02; 6:28:01 PM by JES
			<<Don't include weblogData.prefs.ctDaysToDisplay with the Theme.
		<<12/30/01; 5:46:20 PM by JES
			<<Get all of the prefs needed for the Theme, and store them in the theme table at adrTheme.
	local (adrPrefs = @adrTheme^.prefs);
	new (tableType, adrPrefs);
	on addPref (adrPref) {
		local (prefName = string.popFileFromAddress (adrPref));
		adrPrefs^.[prefName] = adrPref^};
	local (adrdata = radio.weblog.init ());
	<<addPref (@adrdata^.prefs.ctDaysToDisplay)
	addPref (@adrdata^.prefs.archiveLinkImgTag);
	addPref (@adrdata^.prefs.itemPermaLinkImgTag);
	addPref (@adrdata^.prefs.enclosureImgTag);
	addPref (@adrdata^.prefs.sourceImgTag);
	addPref (@adrdata^.prefs.navigator.itemFormat);
	addPref (@adrdata^.prefs.navigator.separatorFormat);
	return (true)}
<<bundle //testing
	<<prefs (@scratchpad)

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.