version="1.0" encoding="utf-8"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName>LibreY</ShortName> <Description>Framework and javascript free privacy respecting meta search engine" version="1.0" vendor="Ahwx <ahwx.org>" maintainer="Ahwx <ahwx.org>" url="https://github.com/Ahwxorg/LibreY" authors="https://github.com/Ahwxorg/LibreY/contributors" # Include arguments as temporary environment variables to be in JSON format.</p> <p>The API supports both POST and GET requests.</p>"; die(); } require_once "misc/tools.php"; require_once "misc/search_engine.php"; $opts = load_opts(); function print_page_buttons($type, $query, $page) { if ($type > 1) return; echo "<div class="next-page-button-wrapper">"; if ($page != 0) { print_next_page_button("<<", 0, $query, $type); echo "</div>"; } ?> </div> </form> <?php fetch_search_results($opts, true); print_page_buttons($opts->type, $opts->query, $opts->page); ?> <?php return (object) array( //