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

system.verbs.builtins.radio.weblog.metaWeblogApi.rpcHandlers.newPost

on newPost (blogid, username, password, struct, publish) {
	<<Changes
		<<3/13/02; 7:25:16 PM by DW
			<<Created.
	on neuter (s) {
		return (radio.weblog.bloggerApi.neuterMacros (s))};
	radio.weblog.bloggerApi.checkUser (client, true, username, password);
	radio.weblog.bloggerApi.checkBlogid (blogid);
	local (posttext = neuter (struct.description));
	local (adrpost = radio.weblog.post (posttext));
	radio.weblog.metaWeblogApi.copyFromStruct (@struct, adrpost);
	if publish {
		radio.weblog.metaWeblogApi.publishPost (adrpost)};
	return (string (number (nameof (adrpost^))))}



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.