Andrew Black wrote:
Dave Arquati wrote:
I did submit it to Mycroft but never heard anything back from them.
My feeling is that it would be better (or at least more achievable) to host it on the Openguides site, or on a site that one of us can easily update things on. The idea would be that there is an icon on OG page that when clicked on adds OG to your Firefox search icon. What would the OG people think about that.
I've done a bit of digging and uncovered how to put a link on the Openguides site which users can click on to add the OG London search tool to Firefox/Mozilla: http://mycroft.mozdev.org/no_wrap/deepdocs/installing.html
So... the following code should work: <script type="text/javascript"> <!--
function addEngine(name,ext,cat) { if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")) { window.sidebar.addSearchEngine( "http://openguides.org/london/%22+name+%22.src", "http://openguides.org/london/%22+name+%22.%22+ext, name, cat ); } else { alert("Netscape 6 or Mozilla is needed to install a search plugin"); } } //--> </script>
<a href="javascript:addEngine('oglondon','png','Travel')">Add us to your Firefox search box</a>
I can't seem to get it to work locally though (replacing the URL with my own one). I wonder if anyone else might have any luck.
Dave