The online_parselets project is a client gem to talk to http://parselets.com.
REQUIREMENTS
This gem supports both local and server-side parselet execution. In general,
however, you should have the parsley gem installed for fast, local parsing.
Get it here: http://github.com/fizx/parsley-ruby/tree/master
INSTALL
From GitHub:
Run the following if you haven't already:
gem sources -a http://gems.github.com
Install the gem:
sudo gem install iterationlabs-online_parselets
From source:
sudo rake install
USAGE
require "rubygems"
require "online_parselets"
client = OnlineParselets::Client.new(:api_key => "your_api_key")
parselets = @client.find("yelp")
parselet = parselets.first
yelp_data = parselet.parse(:url => "http://www.yelp.com")
puts yelp_data.inspect
# Reload a parselet from the server
parselet = client.parselet(parselet.server_id)
# Or:
parselet = client.parselet('my_parselet', version = 5)