Hi,

Josef 'Jupp' Schugt wrote:
> * Robert Wagner, 09.03.2007 20:47:
>> oh i like offline generated pages. seems nice. regarding the
>> search problem: consider integrating a javascript based solution.
> 
> the integration than should be done in a clever 
> way. My suggestion is as follows:
> 
> 1. Keep the current search
> 2. Add a search using javascript
> 3. Make use of <noscript> in this manner:
>    a) If Javascript is enabled display
>       "Search (Javascript enhanced)"
>    b) If Javascript is disabled display
>       "Search (no Javascript, deprecate)"
> 4. Add a small paragraph about why to enable Javascript to the latter
>    search.
> 5. On the same page add a piece of Javascript that replaces the page
>    by the Javascript version of the search.

I like this idea and will try to implement something along these lines. 
I will also remind (although it may be considered offensive to be 
reminded of such basic operations -- like someone telling you how 
shoelaces are tied) the reader gently about using their browser's search 
mechanism, be it <control><f> or <forward-slash>. I will also state 
clearly that the "search" page is really just an exhaustive listing of 
the content of all entries available on the blog.

Thank you all for your suggestions.

P.S. It may be a few weeks before I get around to implementing these 
things (final exams are approaching), so feel free to submit a patch if 
you're able. :-)

-- 
Posted via http://www.ruby-forum.com/.