Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
google search macro
Posted by: seetru
Date: January 23, 2006 11:49PM

in the macros.cfg file you need to change the google searh line from:
http://www.google.com/search?num=100&query=
to:
http://www.google.com/search?hl=en$q=
in order to get 100 results per page

the line you need to change looks like this in my macros.cfg file:

# ----ENGINES----
Google{
&OldSearch; $search = "Google";
$eng = "http://www.google.com/search?hl=en$q=";; <-- inside the quotes here
&SetSearch;
}

Options: ReplyQuote
Re: google search macro
Posted by: Fred
Date: January 24, 2006 12:11AM

I am sorry, but this is definitely wrong.
This search string gives you 10 results, instead of 100
per page (but only after replacing the wrong $ sign
after en with a & sign).
The original search string is completely right and
gives you 100 results per page.
Fred

Options: ReplyQuote
Re: google search macro
Posted by: seetru
Date: January 26, 2006 06:31PM

must be an individual system quirk or something
i pasted it like it is in my config file
and it works fine for me

i get 100 results by hitting the search button on the toolbar
or by just hitting enter key when typing anything in the
address box that is not prefixed with anything
eg (http:// ftp:// etc...)

anyway copied the code from a google page and it works fine for me

ymmv

Options: ReplyQuote
Re: google search macro
Posted by: Drahken
Date: January 26, 2006 08:12PM

num is the variable that decides how many results to show. Whatever you put there is how many results you'll get.

"This search string gives you 10 results, instead of 10"
Not quite. The hl=en thing has no apparent affect on anything (although the "en" part hints that it's something to do with language). With that second string, you get your default number of search results (because you're not specifying a number). If you have never changed your prefs on google or if you refuse/delete their cookies, you'll get 10. If you've changed your prefs, you'll get whatever you've chosen (in my case, 30).

Options: ReplyQuote
Re: google search macro
Posted by: guenter
Date: January 27, 2006 11:55PM

@seetru (---.tampabay.res.rr.com) - probably: system quirk!
AFAIK Fred is speciallist to know what querry works on majority of systems & languages // many CH ppl speak 4 languages! Drahken is English.

p. s. never - say never or impossible! we had one user that swore layers were at the bottom and asked how to have them back there after he had to reinstall 0.8.2?
We admitted impossible. But it must have been there on his pc! & many would have liked to di-or vivisect his old install.

en has to do with language.properties (one list is at res/language.properties)

; ) try "de" for German winking smiley - maybe only with google.de ?

Options: ReplyQuote
K-Meleon - Tradução!
Posted by: guscarsil
Date: May 12, 2006 06:33AM

Exixte alguma tradução do K-Meloen. Se positivo, onde fazer o download. Se negativo, como colocar os menus em português?

Options: ReplyQuote
Re: google search macro
Posted by: Fred
Date: May 12, 2006 02:07PM
Options: ReplyQuote


K-Meleon forum is powered by Phorum.