MT blogmail 1.3 review

Download
by rbytes.net on

MT blogmail is a small Python script that allows you to send an email (including an attached image) and have it posted to your Movabl

License: GPL (GNU General Public License)
File size: 3K
Developer: Troy Dack
0 stars award from rbytes.net

MT blogmail is a small Python script that allows you to send an email (including an attached image) and have it posted to your MovableType blog.

You need something like Procmail to filter your mail and send messages from a
specific address to the blogmail.py script.

blogmail.py can now also poll a POP3 server and process any messages on the server
posting them to your blog for you.

Download blogmail.tar.bz2, unzip and save it somewhere convenient as blogmail.py,
make sure it is executable. (you might need to right-click and save as)

./blogmail.py --help

for all the usage information. You can also edit the script to set defaults.

The body of a message should be in the following format:

XBlogTitle: foo
XBlogPublish: [0|1]
XBlogUsername: mike
XBlogPassword: secret
XBlogid: 1
XBlogUri: http://blog.host.com/mt/mt-xmlrpc.cgi
XBlogAllowComments: [0|1]
XBlogConvertBreaks: [0|1]
XBlogKeywords: foo,baz,bar
XBlogCategories: flob,grob,blurck



All text between is posted as the body of the blog, the XBlog* fields
are parsed and sent via XML-RPC.

XBlogTitle is the only mandatory XBlog* field.

If the message is a multi-part mime message then the first text/plain section is considered to be the body of the post. the first image/* section will be taken
as an image to send to the server. Images are saved in:

images/ddMmmYY/HHMMSS_

and an image tag () is added to the beginning of the post (style
tags with a float and you can have the body of the post beside and wrapping
around the bottom of the image).

What's New in This Release:
o added command line options for pop3/file usage

MT blogmail 1.3 keywords