the power of 0ne

# February 3, 2004

Some different RPC interfaces I could use to get Radio post into Manila, and maybe even vice-versa... in no particular order:

  1. Manila-RPC.
  2. Blogger API.
  3. MetaWeblog API.
Did I miss any?

I know that Dave Winer's manila-blogger bridge allows you to post to Manila from Radio, it uses the Blogger API. I could probably re-use much of the code from the bridge to move Radio posts to Manila. This would have the added bonus of being compatible with Blogger.

Looks like I have some research to do...

Steve proposes a methodology for getting weblogs posts from Radio to Manila.

Write a Usertalk script that:
  • creates a new, empty news item in your Manila site
  • maps the Radio weblog data structure to the Manila equivalent
  • loops through each post, presenting a before (Radio) and after (Manila) and an approval button.
Then:
  • Shut down Radio.
  • Make a copy of the weblogData.root file and move that to the Manila server.
  • Run the above script.
Positives:

Simple
Easy to write and loop with UserTalk
Easy to test--create a "junk" Manila site and run your script

Negatives:
Lose all comments since you go off the cloud. (may be another way to solve that)
Manila is more expensive than Radio.

The basic logic is sound but, I would argue that there is a better way to get the data from one server to another. Manila already has an XML-RPC interface for creating and editing News Items, why not take advantage of it? This method would be just as easy to write and has the advantage that it doesn't require direct access to the Manila Server. All you need is your login and password for the Manila site.