XML-RPC.ComUserLand
    Simple cross-platform distributed computing, based on the standards of the Internet.

Home

Spec

News

Mail List

Directory

Discuss

New Topic

HowTo

Top 50

SOAP

RSS

OPML

XML




Members
Join Now
Login

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!

© Copyright 2004-2010 Scripting News, Inc.
© Copyright 1998-2004 UserLand Software, Inc.
XML-RPC is a trademark of UserLand Software, Inc.
Last update: Sunday, April 21, 2002 at 1:59:23 PM Pacific.

Create your own Manila site in minutes. Everyone's doing it!