2023-12-05 22:11:28 +00:00
< ? php
/* ------------------------------------------------------------------------------------
2024-06-20 00:08:00 +00:00
* Goosle - The fast , privacy oriented search tool that just works .
2023-12-05 22:11:28 +00:00
*
* COPYRIGHT NOTICE
* Copyright 2023 - 2024 Arnan de Gans . All Rights Reserved .
*
* COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT .
* By using this code you agree to indemnify Arnan de Gans from any
* liability that might arise from its use .
------------------------------------------------------------------------------------ */
2024-07-15 20:11:08 +00:00
if ( ! defined ( 'ABSPATH' )) define ( 'ABSPATH' , $_SERVER [ 'DOCUMENT_ROOT' ] . '/' );
date_default_timezone_set ( 'UTC' );
require ABSPATH . 'functions/tools.php' ;
$opts = load_opts ();
$search = load_search ();
2023-12-05 22:11:28 +00:00
?>
2024-01-02 06:24:27 +00:00
<! DOCTYPE html >
2023-12-05 22:11:28 +00:00
< html lang = " en " >
< head >
2024-05-17 01:12:14 +00:00
< title > Goosle Search Help </ title >
< meta charset = " utf-8 " />
< meta name = " viewport " content = " width=device-width, initial-scale=1, user-scalable=no " />
< meta name = " robots " content = " noodp,noydir " />
2023-12-05 22:11:28 +00:00
< meta name = " referrer " content = " no-referrer " />
2024-06-20 00:08:00 +00:00
< meta name = " description " content = " Learn how to use Goosle, the best meta search engine! " />
2024-07-15 20:11:08 +00:00
< meta property = " og:site_name " content = " Goosle Search " />
2024-06-20 00:08:00 +00:00
< meta property = " og:title " content = " Goosle Search Help " />
< meta property = " og:description " content = " Learn how to use Goosle, the best meta search engine! " />
< meta property = " og:url " content = " <?php echo get_base_url( $opts->siteurl ); ?>/help.php " />
< meta property = " og:image " content = " <?php echo get_base_url( $opts->siteurl ); ?>/assets/images/goosle.webp " />
< meta property = " og:type " content = " website " />
2024-05-17 01:12:14 +00:00
< link rel = " icon " href = " favicon.ico " />
< link rel = " apple-touch-icon " href = " apple-touch-icon.png " />
< link rel = " canonical " href = " <?php echo get_base_url( $opts->siteurl ); ?>/help.php " />
2024-06-20 00:08:00 +00:00
< link rel = " stylesheet " type = " text/css " href = " <?php echo get_base_url( $opts->siteurl ); ?>/assets/css/styles.css " />
< link rel = " stylesheet " type = " text/css " href = " <?php echo get_base_url( $opts->siteurl ); ?>/assets/css/<?php echo $opts->colorscheme ; ?>.css " />
2023-12-05 22:11:28 +00:00
</ head >
2024-05-17 01:12:14 +00:00
2024-06-20 00:08:00 +00:00
< body class = " helppage " >
2023-12-05 22:11:28 +00:00
< ? php
2024-07-15 20:11:08 +00:00
if ( verify_hash ( $opts -> hash_auth , $opts -> hash , $opts -> user_auth )) {
2023-12-05 22:11:28 +00:00
?>
2024-05-17 01:12:14 +00:00
< div class = " header " >
< form action = " results.php " method = " get " autocomplete = " off " >
2024-06-20 00:08:00 +00:00
< h1 class = " logo " >< a href = " ./?a=<?php echo $opts->hash ; ?> " >< span class = " goosle-g " > G </ span > oosle </ a ></ h1 >
2024-07-15 20:11:08 +00:00
< input tabindex = " 1 " class = " search-field " type = " search " value = " <?php echo (strlen( $search->query ) > 0) ? htmlspecialchars( $search->query ) : " " ; ?> " name = " q " />< input tabindex = " 2 " class = " button " type = " submit " value = " Search " />
2023-12-05 22:11:28 +00:00
2024-07-15 20:11:08 +00:00
< input type = " hidden " name = " t " value = " <?php echo $search->type ; ?> " />
< input type = " hidden " name = " a " value = " <?php echo $opts->user_auth ; ?> " >
2024-06-20 00:08:00 +00:00
</ form >
2024-05-17 01:12:14 +00:00
2024-06-20 00:08:00 +00:00
< div class = " navigation " >
2024-07-15 20:11:08 +00:00
< a class = " <?php echo ( $search->type == '0') ? 'active ' : ''; ?>tab-search " href = " ./results.php?q=<?php echo $search->query ; ?>&a=<?php echo $opts->user_auth ; ?>&t=0 " > Search </ a >
2024-06-20 00:08:00 +00:00
< ? php if ( $opts -> enable_image_search == 'on' ) { ?>
2024-07-15 20:11:08 +00:00
< a class = " <?php echo ( $search->type == '1') ? 'active ' : ''; ?>tab-image " href = " ./results.php?q=<?php echo $search->query ; ?>&a=<?php echo $opts->user_auth ; ?>&t=1 " > Images </ a >
2024-06-20 00:08:00 +00:00
< ? php } ?>
< ? php if ( $opts -> enable_news_search == 'on' ) { ?>
2024-07-15 20:11:08 +00:00
< a class = " <?php echo ( $search->type == '2') ? 'active ' : ''; ?>tab-news " href = " ./results.php?q=<?php echo $search->query ; ?>&a=<?php echo $opts->user_auth ; ?>&t=2 " > News </ a >
2024-06-20 00:08:00 +00:00
< ? php } ?>
< ? php if ( $opts -> enable_magnet_search == 'on' ) { ?>
2024-07-15 20:11:08 +00:00
< a class = " <?php echo ( $search->type == '9') ? 'active ' : ''; ?>tab-magnet " href = " ./results.php?q=<?php echo $search->query ; ?>&a=<?php echo $opts->user_auth ; ?>&t=9 " > Magnet links </ a >
2024-06-20 00:08:00 +00:00
< ? php } ?>
</ div >
2024-05-17 01:12:14 +00:00
</ div >
< div class = " content " >
< h2 > How to use Goosle </ h2 >
2024-06-20 00:08:00 +00:00
< p > If you ' re tired of traditional results from sites like Google search or DuckDuckGo and you want to have more varied results , or just everything at once , Goosle has your back ! Goosle searches on multiple search engines at the same time and shows you the most relevant results through a neat , clean interface .</ p >
2024-05-17 01:12:14 +00:00
2024-06-20 00:08:00 +00:00
< p >< em > If you can 't find it on page one, you' re using the wrong search query !</ em ></ p >
< p > Goosle tries to provide you with the right answer on page one and is designed to be as easy to use and function as logical as possible . You will not find any unnessesary features or complex settings in Goosle . After - all , navigating the internet is hard and frustrating enough . Search engines should make that more easy , not harder !</ p >
2024-05-17 01:12:14 +00:00
< h3 > Result ranking </ h3 >
2024-06-20 00:08:00 +00:00
< p > To try and provide the best results first . Goosle has a simple algorithm to rank results for Web and Image search . It works a little like a scoring system . A result with more points gets a higher ranking .</ p >
< p > If a website or image is found through multiple search engines it will score higher . Also the amount of matching words in the title and SEO description and a few other bits and bops from the results are considered .</ p >
2024-05-17 01:12:14 +00:00
2024-07-15 20:11:08 +00:00
< h3 > Safe search </ h3 >
< p > Search defaults to Moderate Safe mode . To override the safe mode , prefix your search with < strong > safe : on </ strong > or < strong > safe : off </ strong > ( example : < strong > safe : off geese gone wild </ strong > ) .< br />< strong > On </ strong > will use 'Strict' mode , while < strong > off </ strong > will disable safe searching , this may yield results that are unsuitable for workspaces or minors .</ p >
< ? php if ( $opts -> show_nsfw_magnets == 'off' ) { ?>
< p > The Not Suitable For Work ( NSFW ) filter for Magnet results is enabled . This is an attempt to hide adult content from results . Some search engines have categories that can be filtered out . Others rely on keyword matches . Goosle has an extensive list of 'dirty' keywords to try and find adult content and then ignore it . To override the setting use the < strong > safe : off </ strong > , < strong > xxx </ strong > or < strong > porn </ strong > prefix .< br />
For example : Search for < strong > xxx goose on goose action </ strong > or < strong > safe : off dirty geese </ strong > to include adult content in the results .</ p >
< ? php } ?>
2024-06-20 00:08:00 +00:00
< h2 > Web search </ h2 >
< h3 > Special Searches </ h3 >
< ? php if ( $opts -> special [ 'currency' ] == 'on' ) { ?>
< h4 > Currency converter </ h4 >
2024-05-17 01:12:14 +00:00
< p > Convert currency with a simple query .< br />
For example : Search for < strong > 20 EUR in HKD </ strong > or < strong > 14 USD to MXN </ strong > and Goosle will search for it , but also a local conversion is done in a highlighted result .</ p >
< ? php } ?>
2024-06-20 00:08:00 +00:00
< ? php if ( $opts -> special [ 'definition' ] == 'on' ) { ?>
< h4 > Word Definition </ h4 >
2024-07-15 20:11:08 +00:00
< p > Look up the meaning of single words . Prefix the word you want to look up with any of the following keywords ; < strong > define </ strong > , < strong > meaning </ strong >.< br />
2024-06-20 00:08:00 +00:00
For example : Searching for < strong > define goose </ strong > will do a web search for 'goose' but will also show a dictionary definition highlighted above the search results .</ p >
< ? php } ?>
< ? php if ( $opts -> special [ 'ipaddress' ] == 'on' ) { ?>
< h4 > IP Address lookup </ h4 >
< p > Search for < strong > ip </ strong > , < strong > myip </ strong > or < strong > ipaddress </ strong > to look up your IP Address .< br />
Goosle knows your IP Address but the searches you do via Goosle will hide your IP address from the target sites such as Google or Limetorrents . You can see and verify the difference with this tool .</ p >
< ? php } ?>
< ? php if ( $opts -> special [ 'phpnet' ] == 'on' ) { ?>
< h4 > PHP . net Search </ h4 >
2024-05-17 01:12:14 +00:00
< p > Prefix your search with < strong > php </ strong > to search on php . net for a PHP function .< br />
For example : Searching for < strong > php in_array </ strong > or < strong > php trim </ strong > will show you a brief description , compatible PHP versions and the basic syntax for that function .</ p >
< ? php } ?>
2024-07-15 20:11:08 +00:00
< ? php if ( $opts -> special [ 'wordpress' ] == 'on' ) { ?>
< h4 > WordPress documentation Search </ h4 >
< p > Prefix your search with < strong > wordpress </ strong > or < strong > wp </ strong > to search on wordpress . org for a WordPress function . You can also search for hooks or filters by adding 'hook' as the 2 nd keyword .< br />
For example : Searching for < strong > wordpress the_content </ strong > or < strong > wp hook admin_init </ strong > will show you a brief description and the basic syntax for that function or hook / filter .</ p >
< ? php } ?>
2024-06-20 00:08:00 +00:00
< p >< em >< strong > Note :</ strong > Special Searches do not work for image , news and magnet search .</ em ></ p >
< ? php if ( $opts -> enable_image_search == 'on' ) { ?>
< h2 > Image Search </ h2 >
< p > The number of results is not limited but typically yields about 60 - 100 images . If you ' ve enabled Openverse and Qwant this number in creases a lot , optimally up - to about 150 images .</ p >
< p > Goosle Image Search links directly to the web page where the image is displayed , but also tries to link to the actual image itself .</ p >
< p > You can search for images in a general size by adding < strong > size : small </ strong > , < strong > size : medium </ strong > , < strong > size : large </ strong > or < strong > size : xlarge </ strong > to the beginning of your search query ( example : < strong > size : small huge goose </ strong > ) .</ p >
< p > The result counts for may seem off , for example you get 50 results with 20 from Qwant Images and 60 from Yahoo ! Images . Logically this should mean you should see 80 results . However , this simply means that 30 results were found on both search engines and were merged , resulting in 50 results .</ p >
2024-05-17 01:12:14 +00:00
< ? php } ?>
2024-06-20 00:08:00 +00:00
< ? php if ( $opts -> enable_news_search == 'on' ) { ?>
< h2 > News search </ h2 >
2024-07-15 20:11:08 +00:00
< p > Look for current and recent news through News Search . Search for any topic and you ' ll find news from the last 30 days . Search is loosely ranked by post date . Newer news ranks higher .< p >
2024-06-20 00:08:00 +00:00
< ? php } ?>
< ? php if ( $opts -> enable_magnet_search == 'on' ) { ?>
2024-05-17 01:12:14 +00:00
< h2 > Magnet Search </ h2 >
2024-06-20 00:08:00 +00:00
< p > Magnet Search provides Magnet links , these are special links to download content from the internet . Things like Movies , TV - Shows , EBooks , Music , Games , Software and more . You ' ll need a Bittorrent client that accepts Magnet links to download the search results .</ p >
< p > There are many < a href = " ./results.php?q=Torrent+clients+Magnet+links&a=<?php echo $opts->hash ; ?>&t=0 " target = " _blank " > Torrent clients that support Magnet links </ a > but if you don 't know which one to choose, give <a href="https://transmissionbt.com/" target="_blank" title="Transmission Bittorrent">Transmission BT</a> a go as it' s easy to set up and use .</ p >
< p > Goosle will try to provide useful information about the download , which includea ; Seeders / Leechers , A link to the torrent page , Download Category , Release year . But may also include the Movie quality ( 720 p , 4 K etc . ), Movie Runtime and the Download Size along with some other bits and bops if available . Not every website makes this available and all results take a best effort approach .</ p >
2024-07-15 20:11:08 +00:00
< h3 > Searching for TV Shows </ h3 >
< p > To do a specific search on The Pirate Bay and EZTV you search for IMDb Title IDs . These are numeric IDs prefixed with < strong > tt </ strong >. This kind of search is useful when you 're looking for a tv show that doesn' t have a unique name , or simply if you want to use a specialized tracker for tv shows .</ p >
< p > If you know the IMDb Title ID you can search for it through the Magnet search .</ p >
2024-06-20 00:08:00 +00:00
< ? php if ( $opts -> imdb_id_search == 'on' ) { ?>
2024-07-15 20:11:08 +00:00
< p > If you don ' t know the Title ID you can do a regular search for < strong > imdb [ tv show name ] </ strong > , for example < strong > imdb Duck and Goose </ strong >.< br />
2024-06-20 00:08:00 +00:00
Goosle will detect the IMDb ID from the search results and highlight it in the result as a link . This link offers you to search for downloads through a Magnet Search .</ p >
< ? php } ?>
< ? php if ( $opts -> show_share_option == 'on' ) { ?>
< h3 > Sharing results </ h3 >
2024-07-15 20:11:08 +00:00
< p > You can share a specific Magnet result by clicking on the < strong > share </ strong > link that ' s behind the result information . In the popup that opens you can copy the link and share or store it anywhere you can paste text - For example in a messenger or note . This special link will perform the same search as you did yourself and highlight the result that you want to share .</ p >
< ? php if ( $opts -> hash_auth == 'off' ) { ?>
< p > The links can be shared with anyone since you do not run a private Goosle . Anyone who has the shared link can see the results .</ p >
< ? php } else { ?>
< p > The links can be shared with anyone but keep in mind that since you run a private installation you might be giving uninvited guests access to it . To prevent this from happening the share link does NOT include the passphrase hash . This means that any guests can see your shared results but searching for new things will not work for them .</ p >
< ? php } ?>
2024-05-17 01:12:14 +00:00
< ? php } ?>
2024-06-20 00:08:00 +00:00
< h3 > Finding specific TV Show episodes and seasons </ h3 >
< p > To help you narrow down results you can search for specific seasons and episodes . For example : If you search for < strong > tt7999864 S01 </ strong > or < strong > Duck and Goose S01 </ strong > you ' ll get filtered results for Duck & Goose Season 1. Searching for < strong > tt7999864 S01E02 </ strong > or < strong > Duck and Goose S01E02 </ strong > should find Season 1 Episode 2 and so on .</ p >
< h3 > Filtering Movie and TV Show results </ h3 >
< p > Likewise if you want a specific quality of a movie or tv show you can add that directly in your search . For example : If you search for < strong > Goose on the loose 720 p </ strong > you should primarily find that movie in 720 p quality if it ' s available . Common screensizes are 480 p , 720 p , 1080 p , 2160 p ( 4 K ) and terms like HD - DVD , FULLHD , BLURAY etc ..</ p >
< p > You can do searches by year as well . Searching for < strong > 1080 p 2006 </ strong > should yield mostly movies from that year in the specified quality .</ p >
< h3 > The box office </ h3 >
< p > Along with Magnet search a Box Office page also appears . This is an overview page of the latest movies and other new downloads available on a few supported torrent sites . The shown results are cached just like regular search results .</ p >
2024-07-15 20:11:08 +00:00
< p >< em >< strong > Note :</ strong > The things you find through magnet search are not always legal to download due to copyright or local restrictions . If possible , try to get a legal copy if you found a use for what you downloaded !</ em ></ p >
2024-05-17 01:12:14 +00:00
< ? php } ?>
2023-12-05 22:11:28 +00:00
2024-06-20 00:08:00 +00:00
< h2 > Default search engine </ h2 >
2024-07-15 20:11:08 +00:00
< p > In some browsers you can add a custom search engine . To do so follow the browsers instruction and use the following link : < strong > https :// example . com / results . php ? q =% s </ strong >.</ p >
< p > Or if you use the Auth Hash as a password add the < strong > a </ strong > argument , like so : < strong > https :// example . com / results . php ? a = YOUR_HASH & q =% s </ strong >. Obviously replace example . com with your actual goosle addesss .</ p >
2024-06-20 00:08:00 +00:00
2024-07-15 20:11:08 +00:00
< p > Most browsers will instruct you to add < strong >% s </ strong > for the search query as shown in the examples . If your browser has a different value for this simply replace % s with what your browser requires .
2024-06-20 00:08:00 +00:00
< h2 > Colorschemes </ h2 >
2024-06-23 04:58:17 +00:00
< p > Goose comes with several colorschemes , configurable through the config . php file .</ p >
2024-06-20 00:08:00 +00:00
< h3 > Available colorschemes are :</ h3 >
< ol >
< li > " default " A dark headers and main backgrounds with light search results .</ li >
< li > " light " More light elements .</ li >
< li > " dark " More dark elements , some apps would call this dark mode .</ li >
2024-07-15 20:11:08 +00:00
< li > " auto " Let the browser decide what to use . This is typically linked to the darkmode setting of your device .</ li >
2024-06-20 00:08:00 +00:00
</ ol >
< p >< small >< strong > Acknowledgements :</ strong >< br /> Goosle started as a fork of LibreY , and takes some design cues from DuckDuckGo . com . Goosle is created by < a href = " https://ajdg.solutions/ " target = " _blank " > Arnan de Gans </ a > with the intent to make search more productive and fun .</ small ></ p >
2023-12-05 22:11:28 +00:00
</ div >
2024-06-20 00:08:00 +00:00
< div class = " footer grid-container " >
< div class = " footer-grid " >
2024-07-15 20:11:08 +00:00
& copy ; < ? php echo the_date ( 'Y' ); ?> <?php echo show_version(); ?> By <a href="https://ajdg.solutions/" target="_blank">Arnan de Gans</a>.
2024-05-17 01:12:14 +00:00
</ div >
2024-06-20 00:08:00 +00:00
< div class = " footer-grid " >
2024-07-15 20:11:08 +00:00
< a href = " ./?a=<?php echo $opts->hash ; ?> " > Start </ a > - < a href = " ./box-office.php?a=<?php echo $opts->hash ; ?>&t=9 " > Box office </ a > - < a href = " ./help.php?a=<?php echo $opts->hash ; ?> " > Help </ a > - < a href = " ./stats.php?a=<?php echo $opts->hash ; ?> " > Stats </ a >
2023-12-05 22:11:28 +00:00
</ div >
</ div >
2024-07-15 20:11:08 +00:00
< ? php } else { ?>
< div class = " auth-error " > Redirecting </ div >
< meta http - equiv = " refresh " content = " 1; url=<?php echo get_base_url( $opts->siteurl ); ?>/error.php " />
< ? php } ?>
2023-12-05 22:11:28 +00:00
</ body >
</ html >