Forums

Command line XML-RPC posting utility (3 posts)

  1. ae6rt
    Member
    Posted 3 years ago #

    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.

  2. petit
    Member
    Posted 3 years ago #

    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?

  3. ae6rt
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags