Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Simple XML-RPC in Ruby (See related posts)

Example lifted from the standard library docs. Illustrative!

#!c:\ruby\bin\ruby.exe
require 'xmlrpc/client'
require 'pp'

server = XMLRPC::Client.new2("http://rpc.technorati.com/rpc/ping")
result = server.call("weblogUpdates.ping", "Copenhagen.rb", "http://www.copenhagenrb.dk/")
pp result

You need to create an account or log in to post comments to this site.


Click here to browse all 5059 code snippets

Related Posts