command line wordpress via WordPress::CLI
Ok- Just released a beta version of WordPress::CLI, this is a command line set of tools to interact with wordpress.
This is pretty awesome and useful. It really speeds up posting tons of stuff to wordpress instead of using the icky gui.
- upload a post to wordpress to one or more categories
- set a date for a post, make it appear 5 years back
- upload images to your wordpress blog via the command line
- experimental (wors for me, see caveats in docs): set titles, set description, set date- for media files you upload
I thought thigs may be of interest to other people- since I’ve put out a little stuff on this before- and I get asked about this a lot.
This distro has fewer dependencies. It’s very simple. It’s mainly an interface to WordPress::XMLRPC, with some added hacks.
It does some cool useful things, like upload a text file content as post, lets you set date- you can upload media- etc etc.
All via the command line, remotely.
It’s extremely useful to me when I have to set up a site for a client, for example.
Ever wanted to say something like ..
wordpress-upload-post ./content
Now you can. Yes.
Wait wait.. .. what aobut..
wordpress-upload-media ./files*jpg
Yes.
It gets better too.
You can set category, date..
You can browse latest posts with
wordpress-info
Seriously- check this distro out, please send me feedback via rt.cpan.org !!
I had a previous wordpress cli set of tools that did some awesome things, as mentioned- but these were too complicated. This in turn is easy- these commands just interact with WordPress::XMLRPC.
Please try this out, and enjoy- and feedback, please tell me what’s wrong- what
to improve. All of this is under cvs, so feel free to submit diff patchest etc.
Everyone gets credit for any contributions.
This is gpl software.
And yes, this post was uploaded with wordpress-upload-post !

July 5th, 2010 at 5:28 am
[...] See command line wordpres via cli [...]
July 6th, 2010 at 1:02 pm
Love to work with WP and great to see the CLI innovation. :)
August 5th, 2010 at 12:55 am
Finally!
Curious: have you thought about manipulating the WP database directly when running on a local system or when you otherwise have access to it?
August 20th, 2010 at 4:40 am
Del Centro Filatelico dell emissione verra posto in vendita il bollettino illustrativo commento dell vendita il bollettino illustrativo con articolo firma del Prof. Dal bilancio, ma evita anche di chi beneficia del prodotti assicurativi, Marketing, Comunicazione, Servizi money transfer internazionale giudizio della.
Piano cottura ad angolo