Development :  K-Meleon Forum
K-Meleon development related discussions. 
google search macro
Posted by: seetru
Date: January 24, 2006 06:49AM

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 07: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 27, 2006 01:31AM

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 27, 2006 03:12AM

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 28, 2006 06:55AM

@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 ;) - maybe only with google.de ?

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

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 09:07PM
Options: ReplyQuote


K-Meleon forum is powered by Phorum.