|
@@ -114,6 +114,20 @@
|
114
|
114
|
</div>
|
115
|
115
|
</div>
|
116
|
116
|
</div>
|
|
117
|
+<div class="section" id="embed-search-bar">
|
|
118
|
+<h1>Embed search bar<a class="headerlink" href="#embed-search-bar" title="Permalink to this headline">¶</a></h1>
|
|
119
|
+<p>The search bar can be embedded into websites. Just paste the example into the HTML of the site.
|
|
120
|
+URL of the searx instance and values are customizable.</p>
|
|
121
|
+<div class="code html highlight-default"><div class="highlight"><pre><span></span><form method="post" action="https://searx.me/">
|
|
122
|
+ <!-- search query --> <input type="text" name="q" />
|
|
123
|
+ <!-- categories --> <input type="hidden" name="categories" value="general,social media" />
|
|
124
|
+ <!-- language --> <input type="hidden" name="lang" value="all" />
|
|
125
|
+ <!-- locale --> <input type="hidden" name="locale" value="en" />
|
|
126
|
+ <!-- date filter --> <input type="hidden" name="time_range" value="month" />
|
|
127
|
+</form>
|
|
128
|
+</pre></div>
|
|
129
|
+</div>
|
|
130
|
+</div>
|
117
|
131
|
|
118
|
132
|
|
119
|
133
|
</div>
|