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

system.verbs.apps.wordPress.getPost

on getPost (siteUrl, username, password, postid, adrstruct) {
	<<Changes
		<<10/28/09; 12:04:50 PM by DW
			<<Created. 
	local (adrdata = wordPress.init (), rpcdata);
	local (adrsite = wordPress.getSiteData (siteurl));
	wordPress.getRpcData (siteurl, @rpcdata);
	metaweblog.getpost (postId, username, password, adrsite^.blogId, adrstruct, @rpcdata)};
bundle { //test code
	getpost ("http://rebootnews.wordpress.com/", user.wordpress.prefs.username, user.wordpress.prefs.password, 9, @scratchpad.wpstruct)}



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.