website view en/search.php @ rev 1331
Use DuckDuckGo custom search instead of Google
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 13:14:01 2019 +0200 (2019-08-14) |
parents | 0dedd51426ac |
children |
line source
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <title>SliTaz - Search</title>
6 <meta name="description" content="SliTaz GNU/Linux custom search engine">
7 <meta name="keywords" lang="en" content="System, free, gnu, linux, software opensource, livecd LINUX in RAM">
8 <meta name="author" content="Christophe Lincoln">
9 <?php include("../lib/html/meta-link.html"); ?>
10 </head>
11 <body>
13 <?php
14 include("../lib/html/header.html");
15 include("../lib/html/nav.html");
16 include("../lib/lang.php");
17 ?>
19 <!-- Content -->
20 <div id="content">
22 <h2>Packages Search</h2>
24 <p>
25 Search for <a href="http://pkgs.slitaz.org/">packages</a>,
26 files, build logs, receipts, etc. All packages are installable
27 via the package manager Tazpkg using the GUI or the command
28 <code>tazpkg get-install pkgname</code>.
29 </p>
31 <div style="text-align: center; margin-bottom: 40px;">
32 <form method="post" action="http://pkgs.slitaz.org/">
33 <div class="searchbox">
34 <p>
35 <input type="hidden" name="lang" value="en" />
36 <input type="text" name="query" size="24" style="width: 80%;" />
37 <input type="submit" name="search" value="Search" />
38 </p>
39 </div>
40 Search for:
41 <select name="object">
42 <option value="Package">Package</option>
43 <option value="Desc">Description</option>
44 <option value="Tags">Tags</option>
45 <option value="Arch">Arch</option>
46 <option value="Bugs">Bugs</option>
47 <option value="Depends">Depends</option>
48 <option value="BuildDepends">BuildDepends</option>
49 <option value="File">File</option>
50 <option value="File_list">File list</option>
51 <option value="FileOverlap">common files</option>
52 <option value="Category">Category</option>
53 <option value="Maintainer">Maintainer</option>
54 <option value="License">License</option>
55 </select>
56 in
57 <select name="version">
58 <option value="cooking">cooking</option>
59 <option value="stable">stable</option>
60 <option value="backports">backports</option>
61 <option value="3.0">3.0</option>
62 <option value="2.0">2.0</option>
63 <option value="1.0">1.0</option>
64 <option value="tiny">tiny</option>
65 <option value="undigest">undigest</option>
66 </select>
67 </form>
68 </div>
70 <?php if (false) { ?>
71 <h2>Google Search</h2>
73 <p>
74 This page lets you also search the entire website SliTaz GNU/Linux,
75 the <a href="http://doc.slitaz.org/">documentation</a> wiki and in
76 the archives of the <a href="mailing-list.php">Mailing List</a>
77 and also in the <a href="http://forum.slitaz.org/">Forum</a>.
78 This search engine was created for SliTaz by the Google Co-op custom
79 search engine.
80 </p>
82 <div class="searchbox">
83 <div id="cse-search-form" style="width: 100%;"><img
84 src="/images/loader.gif" alt="*" /> Loading</div>
85 <script src="http://www.google.com/jsapi" type="text/javascript"></script>
86 <script type="text/javascript">
87 google.load('search', '1', {language : 'en', style : google.loader.themes.MINIMALIST});
88 google.setOnLoadCallback(function() {
89 var customSearchControl = new google.search.CustomSearchControl('000868395082919927601:nddq7yjdcxg');
90 customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
91 var options = new google.search.DrawOptions();
92 options.setSearchFormRoot('cse-search-form');
93 customSearchControl.draw('cse', options);
94 }, true);
95 </script>
96 </div>
97 <?php } if (true) { ?>
98 <h2>Recherche DuckDuckGo</h2>
100 <p>
101 This page lets you also search the entire website SliTaz GNU/Linux,
102 the <a href="http://doc.slitaz.org/">documentation</a> wiki and in
103 the archives of the <a href="mailing-list.php">Mailing List</a>
104 and also in the <a href="http://forum.slitaz.org/">Forum</a>.
105 </p>
107 <div class="searchbox">
108 <iframe src="https://duckduckgo.com/search.html?t=slitaz&duck=yes&site=www.slitaz.org,doc.slitaz.org,forum.slitaz.org,https://listengine.tuxfamily.org/lists.tuxfamily.org/slitaz/&prefill=Search DuckDuckGo"
109 style="overflow:hidden;margin:0;padding:0;width:603px;height:60px;" frameborder="0">
110 </iframe>
111 </div>
112 <?php } ?>
114 <div id="cse"></div>
116 <!-- End of content -->
117 </div>
119 <?php include("../lib/html/footer.html"); ?>
121 </body>
122 </html>