Posting on the command line
-
Hello all,
I have spent a few hours searching the web to find a solution on how to be able to post new entries in WordPress from a Unix/Linux command line.
My problem is simple, I would like to log all work I do on several Unix systems. These systems are Linux based and HPuX based.
My closest find is these two:
* mtsendpy (http://scott.yang.id.au/2002/12/mtsendpy/) which seems rather old
* pyblogger (for which I can’t find too many references other than this http://pyblogger.wordpress.com/)What does other people use for a tool? In principle I would like to be able to do the following, using some kind of a wrapper, let us call it blogit.bash:
bash$ blogit.bash -u my_user -h current_system -m "message to post on the blog" -s "subject" -t "tag,list"
Well, this would tag the post with either the current system or any of the tags in the tag list. Hence, I would have a fairly IT-governance compliant weblog on all work done on our systems, just by typing in a simple command on the command line.
I hope there is somebody out there who could point me in the right direction. Of course I would be happy if there is a solution that does not force me to install “too many” non standard packages, as I live in a quite regulated environment.
Have a nice evening!
//magnus
- The topic ‘Posting on the command line’ is closed to new replies.