using wordpress CLI to post to wordpress

There is a very nice post here: How to post content to a WordPress blog from the command line

I tried this in Fedora 14 and here is the way to get this working in Fedora

su -


install WordPress::CLI WordPress::Post

Now, once the above completes make sure that the path /usr/local/bin is in you path.

Then you can simply follow the steps in the above blog post and you are good to go. Happy blogging.


Enhanced by Zemanta

Adding a sub-menu in the wordpress admin menu :)

For the impatient ones, first the code:
(in wp-admin folder, open the file menu.php) and locate the code:

$submenu[\’edit.php\’][10]  = array( _x(\’Add New\’, \’post\’), \’edit_posts\’, \’post-new.php\’ );

and add the below:

$submenu[\’edit.php\’][7]  = array( _x(\’Pending\’, \’post\’), \’edit_posts\’, \’edit.php?post_status=pending&post_type=post\’ );

And now the explanation and why do you need this 🙂


There is no direct mechanism to access the pending posts in WP admin. I generally post through email and mark them as pending. So, whenever I go to my admin POSTs page, I will look through the list of pending items and post them as and when required. For this, when I am done with changes in one item, I need to either modify the address bar or need to go to posts link and then click the Pending items.

I kind of did not like this so added one submenu just below the add new.. Cool, this is my first hack of the WP-core to get something going. For Plugins and sidebar I have kept doing this anywasys 🙂


Unixmen – Tips to reduce memory usage on Firefox

Unixmen – Tips to reduce memory usage on Firefox

A nice aritcle on reducing the memory usage of firefox on Linux.

There are some things in life everyone is looking for and no one ever finds and there are other things that people keep finding and re-finding and inventing and re-inventing. Reducing memory usage for Firefox and speeding it up is one such thing. So, here is another story to reduce the memory usage of firefox.

Unixmen – Tips to reduce memory usage on Firefox | Linux | Unixmen