start | find | index | login or register | edit
Ruby/Blogger
by earl, 8292 days ago
accessing [create Blogger] through the recently published XML-RPC API is quite straightforward in ruby:

require "xmlrpc/client"

server = XMLRPC::Client.new( "plant.blogger.com", "/api/RPC2" )
blogger = server.proxy( "blogger" )

# now one can use blogger. as described in the API

# as an example a somewhat imaginary 'new post'
blogger.newPost( "appkey", "744145", "ewilliams", "secret", "Today I had a peanut butter and pickle ...", true )
powered by vanilla
echo earlZstrainYat|tr ZY @.
earl.strain.at • esa3 • online for 8662 days • c'est un vanilla site