Good day.
I scratched an itch and hacked up a simple Java command line utility to post the contents of a file to my Wordpress blog.
It's very rough, but still functional enough to bootstrap a post created in your favorite editor.
Good day.
I scratched an itch and hacked up a simple Java command line utility to post the contents of a file to my Wordpress blog.
It's very rough, but still functional enough to bootstrap a post created in your favorite editor.
Sounds like fun. A question though.
The first part of your command line reads
java -Durl=https://someurl/xmlrpc.php -Dusername=someuser-Dpassword=thepassword
where username and password is that of my WP author( or admin ). Would that be sent in clear text over the net?
Good question. The short answer: no. The utility will establish a secure connection if the URL protocol is "https". If the URL begins with "http", an unsecure connection is used.
As fiddlers are want to do, I changed the code a bit since my post. See
http://www.petrovic.org/blog/?p=98
for new command line option for previewing and specifying the other runtime values. Or, if you've already downloaded the version and have commenced to playing with it, nevermind.
Mark
This topic has been closed to new replies.