Firefox search engine

Firefox search engine

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Firefox search engine

Post by dansan »

Hi :)
Not sure if it's the right place, because this is not "major". Feel free to move it to subforum where you think it belongs - thanx :)


Announcing a search plugin for Firefox to search directly on SpringFiles.com (using the input top right, where you probably have google).
Get it here: http://mycroft.mozdev.org/search-engine ... gfiles.com
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Firefox search engine

Post by knorke »

copied thread to General Discussion so it is possible to reply. (replies are locked in news forum)

just clicking the link adds springfiles to that searchbox thing where you by default have wikipedia, dict leo, google and some others.
neat, will use.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Firefox search engine

Post by Forboding Angel »

Post it on Springinfo
User avatar
jj
Posts: 273
Joined: 01 Apr 2006, 19:03

Re: Firefox search engine

Post by jj »

That's awesome.
And thanks for the favicon :-)
Not sure if it is a old one or if you made it.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: Firefox search engine

Post by dansan »

Forboding Angel wrote:Post it on Springinfo
Oops - didn't know that site :D
I made a post, it's pending approval.
jj wrote:And thanks for the favicon
Not sure if it is a old one or if you made it.
Oh yes... I made it... Is it OK? The catapult would be cooler ;)
User avatar
jj
Posts: 273
Joined: 01 Apr 2006, 19:03

Re: Firefox search engine

Post by jj »

I already put it on SF. Cookies for you!
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Firefox search engine

Post by knorke »

it seems websites can somehow "propose" themself to that search field.
ie youtube does it:
Image
I do not have youtube added as search engine but when visiting youtube.com that arrow symbol changes a bit and you can easily add yt search.
Without having to go to http://mycroft.mozdev.org etc
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: Firefox search engine

Post by dansan »

I noticed this on some sites, but was never interested how they do it... well it's easy :)

jj: you can install the appended file "opensearch" (rename...) and add a line to sf.com's header (inside <head>):

Code: Select all

<link rel="search" type="application/opensearchdescription+xml" href="http://springfiles.com/opensearch" title="SpringFiles Search">
I didn't test it, but it should work...
Attachments
opensearch.zip
rename me
(510 Bytes) Downloaded 124 times
User avatar
jj
Posts: 273
Joined: 01 Apr 2006, 19:03

Re: Firefox search engine

Post by jj »

Thanks a lot!
I added it to the site and it is almost working.

However, i have no idea what to put in the href field.
It seems it needs the link to the actual script file, but how do i get it?
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: Firefox search engine

Post by dansan »

The attached "opensearch.zip" is really a text-file. In my <link> example you have to put it at /var/www/...../htdocs/opensearch, so that it is downloadable as http://springfiles.com/opensearch

I couldn't upload it without extension, because the forum has restricted uploads to some file extensions. I didn't want to use ".xml", because on some servers it has special meaning. So I renamed it to ".zip".

Anyway: the file has to be downloadable somewhere, and that URL should go into href. If all paths are php-interpreted or apache-mod-rewritten -> maybe you have something like "/static/"?
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Firefox search engine

Post by Neddie »

Pretty awesome.
User avatar
jj
Posts: 273
Joined: 01 Apr 2006, 19:03

Re: Firefox search engine

Post by jj »

it works 8)
Post Reply

Return to “General Discussion”