Skip to content

Instantly share code, notes, and snippets.

@benschwarz
Created April 6, 2009 05:46
Show Gist options
  • Save benschwarz/90646 to your computer and use it in GitHub Desktop.
Save benschwarz/90646 to your computer and use it in GitHub Desktop.
Smoke.feed(:slashdot) do
url "http://slashdot.org/index.rdf"
emit do
rename(:url => :link)
end
end
Smoke.join(:ruby, :slashdot).sort(:title).output(:json)
Smoke.join(:ruby, :slashdot) do
sort(:title)
output(:json)
end
Smoke.yql(:ruby) do
select :all
from "search.web"
where :query, "ruby"
emit do
rename(:url => :link)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment