The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
URL Queries with Ruby-doc.org

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
URL Queries with Ruby-doc.org Posted: Feb 24, 2007 8:52 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by James Britt.
Original Post: URL Queries with Ruby-doc.org
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

For about a year now, Ruby-doc offered a custom Internet search by way of Rollyo. Rollyo lets you define a custom Web search that testicts results to defined set of Web sites. This allowed for Ruby serches of ruby-doc.org, as well as relatively small set of reliable sources (e.g., rubygarden.org).

At the time, this was in direct contrast to mainstream search engines. Google, for example, would allow you to specify one particular site to search, but a set of two or three or 50.

However, some months ago Google introduced custom searches along the same lines as Rollyo. I decided to switch to the Goolge version when I learned that the search results page could be an intrinsic part of ruby-doc.org. Searching no longer takes you away from ruby-doc.org. Google allows you to define the search page stlye, too. Very nice.

One annoyance, though, is the URL. I like to use the browsers address field as a command line, typing in locations and parameters to fetch this and that. The Google custom search URL fugly, way to hard to tap out by hand. A little mod_rewrite, though, offers some improvement.

Now, if you wnt to do a Ruby search, you can formulate queries such as these:

 

http://www.ruby-doc.org/q/REXML

 

http://www.ruby-doc.org/q/RJS+partials

 

It's not quite what it should be; I had to settle for issuing a redirect unitl I figure out why my Nitro code is boinking on a straight URL rewrite. Nonetheless, Ruby queries just got easier.

Read: URL Queries with Ruby-doc.org

Topic: Ruby on Rails with Embedded Derby Previous Topic   Next Topic Topic: libical + ruby + linux = nirvana

Sponsored Links



Google
  Web Artima.com   

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