How to test with the MetaWeblog API
Mon, Mar 18, 2002; by Dave Winer.
Important note, as of 4/21/02 this service is no longer open. Sorry. Any copy of updated Radio 8 can serve as a testbed for this feature. We needed the server for another application.
Aaron Cope made a reasonable request -- that we put up a server that he can use to test test an implementation of the MetaWeblog API, much like the site we put up for testing with the Blogger API.
We now have a copy of Radio running on one of our public servers that supports the new API. This page explains how to call the RPC handlers, and provides an example.
We can't guarantee that the server will be up for any period of time. It's unusual for us to run Radio on our servers.
Server, port, path, username, password 
The server is: subhonker7.userland.com.
Port: 5335.
Path: /RPC2.
Username: visitor.
Password: open2all
Sample code 
Here's a UserTalk snippet that creates a new post:
local (struct) new (tabletype, @struct) struct.title = "Test Post" struct.link = "http://www.xmlrpc.com/stories/storyReader$2256" struct.description = "Don't ask me to write an essay, this is just a test post." url = "xmlrpc://subhonker7.userland.com:5335/RPC2" postid = [url].metaWeblog.newPost ("home", "visitor", "open2all", struct, true)
If it works 
You should see a new post at this location.
http://radio.weblogs.com/0102250/
Thanks 
Please respect our server. We made this publicly available so more developers could quickly and easily support the API. Let's have fun!
|