🕷 zenspider.com

by ryan davis



sitemap
Looking for the Ruby Quickref?

Adding blogging to hoe.

Published 2007-03-01 @ 11:49

Tagged Seattle.rb, ruby, hoe

Thanks to the ever-awesome Aaron Patterson (go Seattle.rb!), hoe can now blog for you. You’ve got to set up a ~/.hoerc file to make it work.

  --- 
  publish_on_announce: true
  blogs: 
  - user: yourusername
    password: yourpassword
    url: http://blog.example.com/cgi-bin/mt-xmlrpc.cgi
    blog_id: 1
    extra_headers:
      mt_convert_breaks: markdown

Note that extra_headers is just that, extra. This lets me post plain text to the server and apply the markdown filter to make it pretty. Everything else is required and you’ll have to consult your blog doco to see what the values should be.