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

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

on newPost (appkey, blogid, username, password, content, publish) {
	<<Changes
		<<4/22/02; 1:31:49 PM by DW
			<<Call radio.weblog.updatePagesForPost to publish archive pages as well as the home page.
		<<1/29/02; 1:02:09 PM by DW
			<<The Blogger API says we should be returning a string, so that's what we do.
		<<1/22/02; 4:15:14 PM by DW
			<<Created.
			<<See http://plant.blogger.com/api/xmlrpc_newPost.html.
	radio.weblog.bloggerApi.checkUser (client, true, username, password);
	radio.weblog.bloggerApi.checkBlogid (blogid);
	content = radio.weblog.bloggerApi.neuterMacros (content);
	local (adrpost = radio.weblog.post (content));
	if publish {
		radio.weblog.updatePagesForPost (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.