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


local (server =, i);
on getpagename (i) {
	return (string.lower (states.nthState (i) - " "))};
webstar.root.newTable (server, "odb.test");
for i = 1 to 50 {
	local (name = getpagename (i));
	local (pagepath = "odb.test." + name);
	webstar.root.newObject (server, pagepath, string.filledstring (name + "<br>", 50), "text/html");
	msg (pagepath)}; (server);
webstar.root.close (server);
for i = 1 to 50 {
	webbrowser.openurl ("" + getpagename (i) + ".odb");
	clock.waitseconds (1)}

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.