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


<<Make sure the scratchpad.manilaRpcSettings table is properly initialized.
manila.examples.init ();

<<Request the template from the site. This will only work if you are the managing editor for the site.
local (s, adrSitePrefs = @scratchpad.manilaRpcSettings);
s = manila.template.get (adrSitePrefs);

<<Create a database object holding the template and display it
local (adrOutline = @temp.manilaRpcTemplate);
op.newOutlineObject (s, adrOutline);
target.set (adrOutline);
op.fullExpand ();
target.clear (); (adrOutline);
window.zoom (adrOutline);

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.