Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
Yahoo Local Search Engine
Posted by: ndebord
Date: August 20, 2005 04:39AM

Just saw the posts about the new Yahoo Local search engine which they have implemented in their battle with Google. I did ONE POSSIBLE interpretation of that search engine for KM. Think there may be others, but haven't discovered them. Here it is:

N

===================================

MENUS.CFG

Engines{

macros(YahooLocal)

MACROS.CFG

# ----ENGINES----

YahooLocal{
&OldSearch; $search = "YahooLocal";
$eng = "http://local.yahoo.com/results?p=";;
&SetSearch;
}

EngineSync{

setcheck("macros(YahooLocal)", getpref(STRING, $sen) == "YahooLocal" ? true:false);

Options: ReplyQuote
Re: Yahoo Local Search Engine
Posted by: ndebord
Date: August 20, 2005 05:02AM

Rats. I take it back. Doesn't work. Back to the drawing board.

<sigh>

N

Options: ReplyQuote
Re: Yahoo Local Search Engine
Posted by: Fred
Date: August 20, 2005 11:03PM

You need two prompts.

In menus.cfg:
in
Engines{
macros(YahooLocal)

In macros.cfg:
# ----ENGINES----

YahooLocal{
&OldSearch; $search = "YahooLocal";
$nametype = prompt("What you look for (restaurants, museums etc):", "", "");
$eng = "http://local.yahoo.com/results?stx=".$nametype."&csz=";;
&SetSearch;
}

in one line in :

EngineSync{
setcheck("macros(YahooLocal)", getpref(STRING, $sen) == "YahooLocal" ? true:false);


I hope that it will work.

Fred

Options: ReplyQuote


K-Meleon forum is powered by Phorum.