You are not logged in.

#1 2010-03-18 18:32:27

compuda
Member
From: Prague
Registered: 2010-03-06
Posts: 14
Website

Firefox / Chrome wiki/forum Google search plugin

As an absolute noob, I search the wiki a lot, but since the wiki search is pretty weak I use Google with site:wiki.archlinux.org, but being lazy I wanted to have it in my Firefox search bar with a keyword attached to it for convenience.
I see somebody has done this in the past but the site is down: http://bbs.archlinux.org/viewtopic.php?id=18722
After some scouting around  I found a website which easily creates search plugins for Firefox or Chrome and made two to suit my needs:

wiki Google search

forum Google search

This is such a small contribution that it hardly deserves to be posted, but somebody might find it useful.

Edit:
Site seems to have gone down in the few minutes that this post is up.
you can find the wiki variant here:
http://pastebin.com/nMZfaqzf
Just add this xml file to your /usr/bin/firefox/searchplugins, reboot firefox and it should appear there. To search the forum just change the word wiki in the search query to bbs.

Last edited by compuda (2010-03-18 19:12:09)

Offline

#2 2010-03-19 01:57:37

spupy
Member
Registered: 2009-08-12
Posts: 218

Re: Firefox / Chrome wiki/forum Google search plugin

A little tip for Chromium users.
1. Go to a web site that has a search you want added to the search engines in Chromium.
2. Perform search with whatever word. Better use non-sense random word. ("werwjmlsdf")
3. In Options->Manage search engines, you can now see a search engine automatically created for that website.
4. Change the keyword to whatever you want.
5. ???
6. Profit.


You can add a search engine for the wiki and AUR. JUST MAKE SURE that you don't enter a query that is a single hit. Enter a random non-sense word. This will certainly lead you to the results page, and Chromium will be able to recognize that you just performed a search and arrived at a results page.
* It doesn't work for the arch forums, since they don't have the entered query in the URL of the result page.


There are two types of people in this world - those who can count to 10 by using their fingers, and those who can count to 1023.

Offline

#3 2010-08-20 14:07:39

numbchild
Member
Registered: 2010-05-22
Posts: 20
Website

Re: Firefox / Chrome wiki/forum Google search plugin

i can not understand how to add an engine for chromium after i read these posts. usually i add an engine in chromium, i will right click the input bar.and select 'search engine' . then name, keyword, site.
that site is a url like this: https://encrypted.google.com/search?=&q=%s , because i want to add the arch's forum search engine into my search engine. what should i do ?..what url is the arch forums' search engine?


Hack
Like computer , code , linux , hack .

Offline

#4 2010-08-20 14:32:28

spupy
Member
Registered: 2009-08-12
Posts: 218

Re: Firefox / Chrome wiki/forum Google search plugin

numbchild wrote:

i can not understand how to add an engine for chromium after i read these posts. usually i add an engine in chromium, i will right click the input bar.and select 'search engine' . then name, keyword, site.
that site is a url like this: https://encrypted.google.com/search?=&q=%s , because i want to add the arch's forum search engine into my search engine. what should i do ?..what url is the arch forums' search engine?

The problem with the forum's search is that the results page doesn't contain the search them in its URL. It uses a redirect.
This is the page that redirects to the search results. Use it to create a chrome search engine for these forums:
https://bbs.archlinux.org/search.php?ac … rch=Submit


There are two types of people in this world - those who can count to 10 by using their fingers, and those who can count to 1023.

Offline

#5 2010-08-20 15:06:51

numbchild
Member
Registered: 2010-05-22
Posts: 20
Website

Re: Firefox / Chrome wiki/forum Google search plugin

spupy wrote:
numbchild wrote:

i can not understand how to add an engine for chromium after i read these posts. usually i add an engine in chromium, i will right click the input bar.and select 'search engine' . then name, keyword, site.
that site is a url like this: https://encrypted.google.com/search?=&q=%s , because i want to add the arch's forum search engine into my search engine. what should i do ?..what url is the arch forums' search engine?

The problem with the forum's search is that the results page doesn't contain the search them in its URL. It uses a redirect.
This is the page that redirects to the search results. Use it to create a chrome search engine for these forums:
https://bbs.archlinux.org/search.php?ac … rch=Submit

thx very much. even though i read your post again. i still can not understand your first post. maybe it is difficult to me newbie.
and i mean how to use this : http://pastebin.com/nMZfaqzf

Last edited by numbchild (2010-08-20 15:14:50)


Hack
Like computer , code , linux , hack .

Offline

#6 2010-08-20 15:33:47

spupy
Member
Registered: 2009-08-12
Posts: 218

Re: Firefox / Chrome wiki/forum Google search plugin

numbchild wrote:
spupy wrote:
numbchild wrote:

i can not understand how to add an engine for chromium after i read these posts. usually i add an engine in chromium, i will right click the input bar.and select 'search engine' . then name, keyword, site.
that site is a url like this: https://encrypted.google.com/search?=&q=%s , because i want to add the arch's forum search engine into my search engine. what should i do ?..what url is the arch forums' search engine?

The problem with the forum's search is that the results page doesn't contain the search them in its URL. It uses a redirect.
This is the page that redirects to the search results. Use it to create a chrome search engine for these forums:
https://bbs.archlinux.org/search.php?ac … rch=Submit

thx very much. even though i read your post again. i still can not understand your first post. maybe it is difficult to me newbie.
and i mean how to use this : http://pastebin.com/nMZfaqzf

That is for Firefox and I have no idea how to use it.


There are two types of people in this world - those who can count to 10 by using their fingers, and those who can count to 1023.

Offline

#7 2011-02-19 06:48:30

Dot2Kode
Member
Registered: 2011-02-17
Posts: 2

Re: Firefox / Chrome wiki/forum Google search plugin

Very cool compuda! thanks for the info.

Offline

#8 2011-02-19 18:16:31

rwd
Member
Registered: 2009-02-08
Posts: 664

Re: Firefox / Chrome wiki/forum Google search plugin

I  use the location bar combined with bookmark-keywords instead of installing search engines.

For 'search the site you're currently visiting' I use this trick:
https://bbs.archlinux.org/viewtopic.php … 55#p841455

I also  turned  the url bar into a regular google searchbox  by setting 'keyword.url' in about:config to  (in my case Dutch)

http://www.google.com/search?num=20&btnG=Google+zoeken&as_epq=&as_oq=&as_eq=&lr=&cr=&as_ft=i&as_filetype=&as_occt=any&as_dt=i&as_sitesearch=&as_rights=&safe=off&as_q=

Last edited by rwd (2011-02-19 21:53:26)

Offline

Board footer

Powered by FluxBB