Monday, November 08, 2010 at 12:05 AM.
system.verbs.builtins.radio.weblog.metaWeblogApi.testing.categoryPublishingTest
local (username = user.radio.prefs.security.remoteUsername, password = user.radio.prefs.security.remotePassword); local (struct); bundle { //set up struct new (tabletype, @struct); struct.title = "Testing categories and publishing"; struct.link = "http://www.xmlrpc.com/metaWeblogApi#update31602AddedMetawebloggetcategories"; struct.categories = {"XML-RPC"}; struct.flNotOnHomePage = true; struct.description = "This morning I'm improving the MetaWeblog API. This post is coming from a script where I'm testing the code. It's an interesting way to write for a weblog. Back in a minute with some results. If this works you should see the post on the category pages, but not on the home page."}; ["xmlrpc://127.0.0.1:5335/RPC2"].metaWeblog.editPost (1068, username, password, struct, true)
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.