Digital Stronghold - Software Engineering Blog




February 14, 2006

Test mtsend

Filed under: Progressive Studies

mtsend.py is a command line tool written in python. It uses Movable Type’s XML-RPC interface. It appears that it also works with WordPress’ XML-RPC interface. So I have decided to give it a try.

In file ~/.mtsendrc

[global]
default=eradicus
	
[site-blogsome]
url=http://eradicus.blogsome.com/xmlrpc.php
username=*****
password=*****
encoding=UTF-8
	
[blog-eradicus]
site=blogsome
blogid=1

It works!

joset@kee$ ./mtsend.py -B blogsome
+----+-----------+-------------------------------+
| ID | Blog Name | URL                           |
+----+-----------+-------------------------------+
| 1  | Sophie    | http://eradicus.blogsome.com/ |
+----+-----------+-------------------------------+
	
joset@kee$ ./mtsend.py -C
+----+----------------------+
| ID | Category Name        |
+----+----------------------+
| 5  | Healthy Vices        |
| 2  | Of Love and Romance  |
| 1  | Progressive Studies  |
| 3  | Uncategorized        |
| 6  | Unsolicited Opinions |
+----+----------------------+
	
joset@kee$ ./mtsend.py -V
Version 1.1

Massive blogging ahead!

1 Comment »

The URI to TrackBack this entry is: http://eradicus.blogsome.com/2006/02/14/test-mtsend/trackback/

  1. cool dude! cool! i made some mappings in vim, perhaps you can use that too! :D

    Comment by steph — February 14, 2006 @ 11:14 pm

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Theme designed by Joset Anthony Zamora


Digital Stronghold

↑ Get Headline Animator