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

local (blogid = "home");
local (username =;
local (password =;
local (data);
new (tabletype, @data);
data.server = "";
data.port = user.inetd.config.http.port;
data.protocol = "xml-rpc";
data.rpcpath = "/RPC2";
data.appkey = "";

local (postid = blogger.newPost ("Now is the time for all good men to come to the aid of their country.", username, password, blogid, true, adrdata:@data));
blogger.editPost ("Daddy's in the alley he's lookin for some food.", postid, username, password, adrdata:@data);
blogger.editPost ("< ()%>", postid, username, password, adrdata:@data);
blogger.deletePost (postid, username, password, adrdata:@data);
local (template = blogger.getTemplate (blogid, username, password, adrdata:@data));
blogger.setTemplate (template, blogid, username, password, adrdata:@data);
blogger.getRecentPosts (@scratchpad.recentPosts, 20, blogId, username, password, adrdata:@data);
blogger.getUserBlogs (@scratchpad.userblogs, username, password, adrdata:@data)

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.