Radio Aaronland Movable Radio This

Radio Aaronland

Movable Radio
This is untested, but the following :
// Assume that these are actually defined….
local (appkey,blogId,username,password,server,port,rpcPath,protocol);

local (params = {appkey, string (blogId), string (username), string (password), number (0)});
local (postlist = xml.rpc (server, port, “blogger.getRecentPosts”, @params, rpcPath:rpcPath, protocol:protocol));

for item in postlist {
local (adrblog=radio.weblog.init ());
local (adrpost = @adrblog^.posts.[string.padwithzeros (item.postid, 8) ]);
radio.weblog.post(item.content,nil,item.dateCreated,adrpost)}

should import an entire Movable Type weblog in to Radio

Comments are closed.