The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Rollyo Search Stuff

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Britt

Posts: 1319
Nickname: jamesbritt
Registered: Apr, 2003

James Britt is a principal in 30 Second Rule, and runs ruby-doc.org and rubyxml.com
Rollyo Search Stuff Posted: Sep 28, 2005 10:26 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by James Britt.
Original Post: Rollyo Search Stuff
Feed Title: James Britt: Ruby Development
Feed URL: http://feeds.feedburner.com/JamesBritt-Home
Feed Description: James Britt: Playing with better toys
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by James Britt
Latest Posts From James Britt: Ruby Development

Advertisement

Came across a site called Rollyo, which allows you to create site-specfic search engines. I whipped one up for ruby-doc, defined to search ruby-doc.org and a small set of other core-Ruby sites tat likely have good documentation resources.

I wondered if I could use this to power a search engine on ruby-doc.org itself; the Rollyo FAQ didn't say much on that. Inspired by the page's DOCTYPE of XHTML 1.0 Strict, my first quick stab was to use open-uri and REXML, but, sadly, this does not work.

So, I think I'll use Mechanize, which does a very good job of parsing bad markup.

BTW, although the site makes use of DHTML and remote scripting, one can create Rollyo search URLs much as one can for Google. You need to know the sid of the Rollyo search config you want (ruby-doc is 1526), and pass that as well as the actual search terms in the parameter 'q':

 

http://www.rollyo.com/search.html?sid=1526&q=Nitro

Read: Rollyo Search Stuff

Topic: Random thought about Katrina, volunteerism Previous Topic   Next Topic Topic: RubyURL reaches 2000 URLs

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use