Firefox Toolbar Search - anyone game?
-
- LibriVox Admin Team
- Posts: 49760
- Joined: June 15th, 2008, 10:30 pm
- Location: Toronto, ON (but Minnesotan to age 32)
In the previous iteration of the LibriVox site, there was an add-on to the Firefox search bar for LibriVox. Are there any programmers out there who are willing to take on the development of one for the new (current) site? I would think that the basic search (searching titles, authors, and readers for the search terms) would be sufficient.
We're MARCHing to the finish line! Join our project cleanup month initiative. Details HERE
OpenSearch seems to be a popular pick. It's really simple too.
Here's the guide I followed:
https://developer.mozilla.org/en-US/docs/Web/OpenSearch
And here's the XML file which will be hosted on the LibriVox website:
It works if one was to search for an author, book or reader.
For Firefox to detect the search plugin, place this code within the <head> tag on any page (like the main page and/or the search page):
Here's the guide I followed:
https://developer.mozilla.org/en-US/docs/Web/OpenSearch
And here's the XML file which will be hosted on the LibriVox website:
Code: Select all
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>LibriVox</ShortName>
<Description>LibriVox Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon">https://librivox.org/favicon.ico</Image>
<Url type="text/html" template="https://librivox.org/search?q={searchTerms}&search_form=advanced"/>
</OpenSearchDescription>
For Firefox to detect the search plugin, place this code within the <head> tag on any page (like the main page and/or the search page):
Code: Select all
<link rel="search" type="application/opensearchdescription+xml"
title="LibriVox" href="https://librivox.org/LINK TO FILE.xml">
"Le monde est un livre dont chaque pas nous ouvre une page."
- Alphonse de Lamartine
https://github.com/An0n3m0us
- Alphonse de Lamartine
https://github.com/An0n3m0us
-
- LibriVox Admin Team
- Posts: 49760
- Joined: June 15th, 2008, 10:30 pm
- Location: Toronto, ON (but Minnesotan to age 32)
Wow - pulled up a 5 year old request! Thanks!
I'll see if we can add this to our pages.
I'll see if we can add this to our pages.

We're MARCHing to the finish line! Join our project cleanup month initiative. Details HERE
I've filed https://github.com/LibriVox/librivox-catalog/issues/16 to track this.