pub / serci

Search the web with !keywords
git clone https://https://src.jayvii.de/pub/serci.git
Home | Log | Files | Exports | Refs | README | RSS

commit e75bb5d2ecc7381112b7d5b190bd97199834e1da
parent 8c150666e1d35cd3354a23840cd88ed4e89e3ec6
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Tue,  9 Jul 2024 19:07:21 +0200

feat: (disabled) W3S search via Google CSE

Diffstat:
Mconfig/config.php | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/config/config.php b/config/config.php @@ -137,8 +137,14 @@ $searches = array( "query" => "https://stackoverflow.com/search?q=%s", "keywords" => array("stackoverflow", "so", "code") ), + // "w3schools" => array( + // "name" => "W3schools (Google CSE)", /* This is W3S' own solution */ + // "website" => "https://www.w3schools.com", + // "query" => "https://cse.google.com/cse?cx=c5f6ccbd4ce9405a8&q=%s", + // "keywords" => array("w3schools", "w3school", "www", "w3", "webdev") + // ), "w3schools" => array( - "name" => "W3schools (via Mojeek)", /* This is a workaround */ + "name" => "W3schools (via Mojeek)", /* Workaround to avoid Google */ "website" => "https://www.w3schools.com", "query" => "https://www.mojeek.com/search?q=site:www.w3schools.com+%s", "keywords" => array("w3schools", "w3school", "www", "w3", "webdev")