WP-post

A simple command-line script in PHP which allows to post contents of a file, or a text string, to a blog that supports metaWeblog API through XML-RPC. (Tested only with WordPress blogs.) Its usability lies in being easy to use it from other scripts, e.g. generating a file and automatically posting or crossposting it with auto-generated tags, categories etc.

Example of usage:


php wp_post.php -file="contents.txt" -subject="Beautiful Day" -tags="daily, photo" -categories="Forest" -blog=photo365

Click to download – wp_post-1.0.zip

This entry was posted in code, php and tagged . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Trackbacks are closed, but you can post a comment.

Leave a Reply

Your email address will not be published. Required fields are marked *

Your email address will never be published.

Unable to load the Are You a Human PlayThru™. Please contact the site owner to report the problem.