After looking at about a zillion different options I ended up with Leo Charre’s WordPress CLI CPAN package for uploading posts… and after a bit of tinkering got it to work with 3.x WP. However… it didn’t support tags, which I really needed for the project I’m working on. This handy pointer to how to do it to java saved my bacon: it turns out that making a very small modification to the code enabled tagging.
Why WP doesn’t support this natively is entirely beyond me. But putting the magic “mt_keywords” in the struct with w/e values you want seems to do the job. Small change to the perl code in case anyone else is looking for this stuff (diff/etc. sent to LC, of course.) Using the mod’d code you can do things like (added the -T for tags):
Of course you can’t use 2 subcategories with the same name in the WP XMLRPC interface either (why they test for names vs. id’s….), but that’s just another sad tale in tech. The salient line:
Perl program attached, but needs the supporting libs from CPAN.