« hn: tu lan restaurant |
Main Page
| last hurrah at the pool hall »
There's also another part I hacked out that decodes japanese characters in the message into html unicode entities (that's for handling email from Mie's cell phone).
Comments:
blogpost.pl
Posted by dav at 2003 January 9 09:04 PM
File under: Geek
File under: Geek
So I got my blogpost perl script working so that I can use it as part of the system that accepts an email from the hiptop and posts it to my main blog and also hiptop nation.
There's actually several parts of the system:
- procmail accepts the email and calls the other scripts
- blogpost.pl posts to my moveable type blog using XMLRPC, according to the blogpostrc configuration specified in the procmailrc recipe (or the default in $HOME)
- munge_hiptop_nation_post.pl does some tweaking to the message body and subject to prepare it for forwarding off to hiptop nation. This piece is hella buggy :) ...I'll get around to cleaning it up someday....
There's also another part I hacked out that decodes japanese characters in the message into html unicode entities (that's for handling email from Mie's cell phone).
Warning: this is a total kludge that I've been piecing this together in my scant spare time. YMMV.
Post a new comment:
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)
I'm wondering if you'd know how to remove the stuff for decoding the japanese characters from this... I've been trying to get the script to work for me, but my host won't install the perl module for that.
Posted by: David Calvarese on May 6, 2003 01:29 PM