[sugar] [PATCH] Add a prototypical Search toolbar to Browse.

Wade Brainerd wadetb
Sat May 10 19:49:54 EDT 2008


Hey all.

This is an idea for a Search toolbar in Browse, submitted in order to
generate discussion.  It's not acceptable as-is although I wouldn't
mind feedback on the code and interface.

The real reason for the patch is that I've been helping with the
Wikiserver project - briefly, this is a custom BaseHTTPServer-based
web server which serves a 100MB slice of the Spanish Wikipedia, in
compressed wikitext form.  The server is wrapped into a Browse-based
activity bundle.  The web server starts when the activity launches,
and shuts down when the activity exits.  The Browse activity is set up
to launch directly into the server's home page.

As a next step, we need to be able to search the wiki, so we planned
to add an HTML search form to the top of each page that the server
returns. But rather than wasting page space and forcing the user to
scroll all the way up to execute another search, wouldn't it be better
to simply add a search box to the toolbar?  This led me to adding a
Search toolbar to Browse.

And that thought led me to, wouldn't it be better to have this web
server running all the time (or at least whenever Browse is running)?
In that case, our Wikiserver project could simply be another kind of
content bundle, there would be no need for the activity at all.

Best,

Wade
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-prototypical-Search-toolbar-to-Browse.patch
Type: application/octet-stream
Size: 29245 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/sugar/attachments/20080510/5f118db7/attachment-0001.obj 



More information about the Sugar-devel mailing list