Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ANN] Ruby-doc.org search for your browser toolbar

Reply
Thread Tools

[ANN] Ruby-doc.org search for your browser toolbar

 
 
James Britt
Guest
Posts: n/a
 
      03-03-2007
Thanks to Greg Whiteley, ruby-doc.org has a slick new feature.

I recently changed the search function on the site. The search covers
not just ruby-doc, but a number of other informative Ruby Web resources.
That part is not new; I had been using Rollyo to handle the aggregated
Web search.

Now, though, the search is powered by Google's custom search feature.
It's very, very nice (for one thing, search results are returned as a
page in the ruby-doc.org domain, rather than taking you off to some
other site), but the query URLs are way fugly. To remedy this, I hacked
up some mod_rewrite magic, so that one can search with a clean URL, as
in these examples:

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

Greg took this a step further and created a browser search toolbar
auto-discovery file. Users of Firefox 2 and IE7 (and possibly others)
who visit the site should now see the search toolbar icon (usually in
the upper right of the browser) become highlighted.

Clicking the icon will then give you the option of adding the
ruby-doc.org search to your search toolbar.

Try it!

--
James Britt

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys

 
Reply With Quote
 
 
 
 
James Edward Gray II
Guest
Posts: n/a
 
      03-03-2007
On Mar 2, 2007, at 8:05 PM, James Britt wrote:

> Thanks to Greg Whiteley, ruby-doc.org has a slick new feature.


Forgive my subject change, but can I ask why the Core documentation
now includes most of the standard library as well? I think this has
hurt it's browsibilty.

James Edward Gray II

 
Reply With Quote
 
 
 
 
James Britt
Guest
Posts: n/a
 
      03-03-2007
James Edward Gray II wrote:
> On Mar 2, 2007, at 8:05 PM, James Britt wrote:
>
>> Thanks to Greg Whiteley, ruby-doc.org has a slick new feature.

>
> Forgive my subject change, but can I ask why the Core documentation now
> includes most of the standard library as well? I think this has hurt
> it's browsibilty.


What's there is simply the output of running rdoc over the main source,
as has always been the case. There seem to have been changes in the
source code or the .document files.

I'd prefer to see no distinction at all, but have the docs be clear on
whether a given class/module/method is built-in, or requires 'requires'
on something, and so on. But, right now, the docs show, for example,
YAML methods as being built into core classes, such as Array. So there
is all sorts of confusion.

However, this may be a topic better discussed on the ruby-core or
ruby-doc lists.

--
James Britt

"A language that doesn't affect the way you think about programming is
not worth knowing."
- A. Perlis

 
Reply With Quote
 
Rick DeNatale
Guest
Posts: n/a
 
      03-03-2007
On 3/2/07, James Britt <> wrote:

> Greg took this a step further and created a browser search toolbar
> auto-discovery file. Users of Firefox 2 and IE7 (and possibly others)
> who visit the site should now see the search toolbar icon (usually in
> the upper right of the browser) become highlighted.
>
> Clicking the icon will then give you the option of adding the
> ruby-doc.org search to your search toolbar.


Any chance that someone with the right mojo might help us poor
beknighted souls still running Firefox 1.5 with a less automatic way
to add it to the search engine list?

--
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/

 
Reply With Quote
 
botp
Guest
Posts: n/a
 
      03-04-2007
On 3/3/07, James Britt <> wrote:
> Thanks to Greg Whiteley, ruby-doc.org has a slick new feature.
> I recently changed the search function on the site. The search covers
> not just ruby-doc, but a number of other informative Ruby Web resources.
> That part is not new; I had been using Rollyo to handle the aggregated
> Web search.
> Now, though, the search is powered by Google's custom search feature.
> It's very, very nice (for one thing, search results are returned as a
> page in the ruby-doc.org domain, rather than taking you off to some
> other site), but the query URLs are way fugly. To remedy this, I hacked
> up some mod_rewrite magic, so that one can search with a clean URL, as
> in these examples:
> http://www.ruby-doc.org/q/REXML
> http://www.ruby-doc.org/q/RJS+partials
> Greg took this a step further and created a browser search toolbar
> auto-discovery file. Users of Firefox 2 and IE7 (and possibly others)
> who visit the site should now see the search toolbar icon (usually in
> the upper right of the browser) become highlighted.
> Clicking the icon will then give you the option of adding the
> ruby-doc.org search to your search toolbar.


indeed. ruby-doc is getting better and better. great doc + great
language = who could ask for more. many thanks to ruby-doc team!

kind regards -botp

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A browser in a browser or how to make your site compatible with IE>=6 in a minute Jorge Javascript 4 11-12-2009 12:16 PM
| SEO , Search Engine Optimizer, SEARCH OPtiMIzAtIoN with SeaRch OPtiMizer optimizer.seo@gmail.com Digital Photography 0 04-22-2007 04:20 AM
window.open with toolbar=1 and without google toolbar ? pcouas Javascript 0 02-19-2007 08:28 AM
Toolbar behind toolbar help pls? Dribbler Computer Support 4 05-01-2005 11:10 AM
search within a search within a search - looking for better way...my script times out Abby Lee ASP General 5 08-02-2004 04:01 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57