Page 1 of 1
Firefox Toolbar Search - anyone game?
Posted: August 4th, 2014, 8:58 am
by TriciaG
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.
Re: Firefox Toolbar Search - anyone game?
Posted: October 17th, 2019, 1:28 pm
by Anonyme
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:
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>
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):
Code: Select all
<link rel="search" type="application/opensearchdescription+xml"
title="LibriVox" href="https://librivox.org/LINK TO FILE.xml">
Re: Firefox Toolbar Search - anyone game?
Posted: October 17th, 2019, 2:38 pm
by TriciaG
Wow - pulled up a 5 year old request! Thanks!
I'll see if we can add this to our pages.
Re: Firefox Toolbar Search - anyone game?
Posted: July 11th, 2020, 6:54 am
by notartom