The ruby script here uploads posts to WordPress blogs via AtomPub. Once you’ve set your blog coordinates in the script (around line 20), you can post like that : echo "I love Ruby" | post.rb -t "title" -c "thoughts,ruby" The script will publish your post and then ouptput the WordPress server reply. #!/usr/bin/env ruby # Copyright (c) 2007 John Mettraux # Released under the MIT license # http://www
![posting to wordpress via ruby and atompub](https://cdn-ak-scissors.b.st-hatena.com/image/square/8d71ff5111e05619a10d29bb40d7aebaa75c8fbc/height=288;version=1;width=512/https%3A%2F%2Fs0.wp.com%2Fi%2Fblank.jpg)