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: 1192
Joined: 29 May 2010, 23:40

Firefox search engine

Post by dansan » 10 Aug 2011, 17:40

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
0 x

User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Firefox search engine

Post by knorke » 10 Aug 2011, 18:05

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.
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14603
Joined: 17 Nov 2005, 02:43

Re: Firefox search engine

Post by Forboding Angel » 10 Aug 2011, 19:08

Post it on Springinfo
0 x

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

Re: Firefox search engine

Post by jj » 10 Aug 2011, 21:15

That's awesome.
And thanks for the favicon :-)
Not sure if it is a old one or if you made it.
0 x

dansan
Server Owner & Developer
Posts: 1192
Joined: 29 May 2010, 23:40

Re: Firefox search engine

Post by dansan » 10 Aug 2011, 21:33

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 ;)
0 x

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

Re: Firefox search engine

Post by jj » 10 Aug 2011, 21:50

I already put it on SF. Cookies for you!
0 x

User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Firefox search engine

Post by knorke » 31 Aug 2011, 17:08

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
0 x

dansan
Server Owner & Developer
Posts: 1192
Joined: 29 May 2010, 23:40

Re: Firefox search engine

Post by dansan » 31 Aug 2011, 20:52

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 35 times
0 x

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

Re: Firefox search engine

Post by jj » 31 Aug 2011, 21:14

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?
0 x

dansan
Server Owner & Developer
Posts: 1192
Joined: 29 May 2010, 23:40

Re: Firefox search engine

Post by dansan » 31 Aug 2011, 22:14

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/"?
0 x

User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Firefox search engine

Post by Neddie » 01 Sep 2011, 08:10

Pretty awesome.
0 x

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

Re: Firefox search engine

Post by jj » 01 Sep 2011, 15:51

it works 8)
0 x

Post Reply

Return to “General Discussion”