This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<p>A <aclass="reference internal"href="result_types/index.html#result-types"><spanclass="std std-ref">result item</span></a> can be of different media types. The media
type of a result is defined by the <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">result_type.Result.template</span></code>. To
set another media-type as <aclass="reference internal"href="#template-default"><spanclass="std std-ref">default.html</span></a>, the field <codeclass="docutils literal notranslate"><spanclass="pre">template</span></code>
in the result item must be set to the desired type.</p>
<spanid="id2"></span><h2><aclass="toc-backref"href="#id4"role="doc-backlink">Result template macros</a><aclass="headerlink"href="#result-template-macros"title="Link to this heading">ΒΆ</a></h2>
<sectionid="result-header">
<spanid="macro-result-header"></span><h3><aclass="toc-backref"href="#id5"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">result_header</span></code></a><aclass="headerlink"href="#result-header"title="Link to this heading">ΒΆ</a></h3>
<p>Execpt <codeclass="docutils literal notranslate"><spanclass="pre">image.html</span></code> and some others this macro is used in nearly all result
types in the <aclass="reference internal"href="#main-result-list"><spanclass="std std-ref">Main Result List</span></a>.</p>
<p>Fields used in the template <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/macros.html">macro result_header</a>:</p>
<dl>
<dt>url<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Link URL of the result item.</p>
</dd>
<dt>title<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Link title of the result item.</p>
</dd>
<dt>img_src, thumbnail<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>URL of a image or thumbnail that is displayed in the result item.</p>
</dd>
</dl>
</section>
<sectionid="result-sub-header">
<spanid="macro-result-sub-header"></span><h3><aclass="toc-backref"href="#id6"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">result_sub_header</span></code></a><aclass="headerlink"href="#result-sub-header"title="Link to this heading">ΒΆ</a></h3>
<p>Execpt <codeclass="docutils literal notranslate"><spanclass="pre">image.html</span></code> and some others this macro is used in nearly all result
types in the <aclass="reference internal"href="#main-result-list"><spanclass="std std-ref">Main Result List</span></a>.</p>
<p>Fields used in the template <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/macros.html">macro result_sub_header</a>:</p>
<dl>
<dt>publishedDate<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/datetime.html#datetime.datetime"title="(in Python v3.13)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code></a></span></dt><dd><p>The date on which the object was published.</p>
<spanid="engine-data"></span><h3><aclass="toc-backref"href="#id7"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">engine_data_form</span></code></a><aclass="headerlink"href="#engine-data-form"title="Link to this heading">ΒΆ</a></h3>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">engine_data_form</span></code> macro is used in <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/results.html">results,html</a> in a HTML <codeclass="docutils literal notranslate"><spanclass="pre"><form/></span></code> element. The
intention of this macro is to pass data of a engine from one <aclass="reference internal"href="engines/demo/demo_online.html#searx.engines.demo_online.response"title="searx.engines.demo_online.response"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">response</span></code></a> to the <aclass="reference internal"href="../src/searx.search.html#searx.search.SearchQuery"title="searx.search.SearchQuery"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">searx.search.SearchQuery</span></code></a>
of the next <aclass="reference internal"href="engines/demo/demo_online.html#searx.engines.demo_online.request"title="searx.engines.demo_online.request"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">request</span></code></a>.</p>
<p>To pass data, engineβs response handler can append result items of typ
<codeclass="docutils literal notranslate"><spanclass="pre">engine_data</span></code>. This is by example used to pass a token from the response to
<spanid="id3"></span><h2><aclass="toc-backref"href="#id8"role="doc-backlink">Main Result List</a><aclass="headerlink"href="#main-result-list"title="Link to this heading">ΒΆ</a></h2>
<p>The <strong>media types</strong> of the <strong>main result type</strong> are the template files in
the <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates">result_templates</a>.</p>
<sectionid="default-html">
<spanid="template-default"></span><h3><aclass="toc-backref"href="#id9"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">default.html</span></code></a><aclass="headerlink"href="#default-html"title="Link to this heading">ΒΆ</a></h3>
<p>Additional fields used in the <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates/default.html">default.html</a>:</p>
<dl>
<dt>content<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>General text of the result item.</p>
</dd>
<dt>iframe_src<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>URL of an embedded <codeclass="docutils literal notranslate"><spanclass="pre"><iframe></span></code> / the frame is collapsible.</p>
</dd>
<dt>audio_src<spanclass="classifier">uri,</span></dt><dd><p>URL of an embedded <codeclass="docutils literal notranslate"><spanclass="pre"><audio</span><spanclass="pre">controls></span></code>.</p>
</dd>
</dl>
</section>
<sectionid="images-html">
<spanid="template-images"></span><h3><aclass="toc-backref"href="#id10"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">images.html</span></code></a><aclass="headerlink"href="#images-html"title="Link to this heading">ΒΆ</a></h3>
<p>The images are displayed as small thumbnails in the main results list.</p>
<dl>
<dt>title<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Title of the image.</p>
</dd>
<dt>thumbnail_src<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>URL of a preview of the image.</p>
</dd>
<dt>resolution <aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></dt><dd><p>The resolution of the image (e.g. <codeclass="docutils literal notranslate"><spanclass="pre">1920</span><spanclass="pre">x</span><spanclass="pre">1080</span></code> pixel)</p>
</dd>
</dl>
<sectionid="image-labels">
<h4>Image labels<aclass="headerlink"href="#image-labels"title="Link to this heading">ΒΆ</a></h4>
<p>Clicking on the preview opens a gallery view in which all further metadata for
the image is displayed. Addition fields used in the <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates/images.html">images.html</a>:</p>
<dl>
<dt>img_src<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>URL of the full size image.</p>
</dd>
<dt>content: <aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></dt><dd><p>Description of the image.</p>
</dd>
<dt>author: <aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></dt><dd><p>Name of the author of the image.</p>
</dd>
<dt>img_format<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>The format of the image (e.g. <codeclass="docutils literal notranslate"><spanclass="pre">png</span></code>).</p>
</dd>
<dt>source<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Source of the image.</p>
</dd>
<dt>filesize: <aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></dt><dd><p>Size of bytes in <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">human</span><spanclass="pre">readable</span></code> notation
(e.g. <codeclass="docutils literal notranslate"><spanclass="pre">MB</span></code> for 1024 * 1024 Bytes filesize).</p>
</dd>
<dt>url<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>URL of the page from where the images comes from (source).</p>
</dd>
</dl>
</section>
</section>
<sectionid="videos-html">
<spanid="template-videos"></span><h3><aclass="toc-backref"href="#id11"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">videos.html</span></code></a><aclass="headerlink"href="#videos-html"title="Link to this heading">ΒΆ</a></h3>
<p>Additional fields used in the <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates/videos.html">videos.html</a>:</p>
<dl>
<dt>iframe_src<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>URL of an embedded <codeclass="docutils literal notranslate"><spanclass="pre"><iframe></span></code> / the frame is collapsible.</p>
<p>The videos are displayed as small thumbnails in the main results list, there
is an additional button to collaps/open the embeded video.</p>
</dd>
<dt>content<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Description of the code fragment.</p>
</dd>
</dl>
</section>
<sectionid="torrent-html">
<spanid="template-torrent"></span><h3><aclass="toc-backref"href="#id12"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">torrent.html</span></code></a><aclass="headerlink"href="#torrent-html"title="Link to this heading">ΒΆ</a></h3>
<p>Additional fields used in the <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates/torrent.html">torrent.html</a>:</p>
<dl>
<dt>magnetlink:</dt><dd><p>URL of the <aclass="reference external"href="https://en.wikipedia.org/wiki/Magnet_URI_scheme">magnet link</a>.</p>
</dd>
<dt>torrentfile</dt><dd><p>URL of the <aclass="reference external"href="https://en.wikipedia.org/wiki/Torrent_file">torrent file</a>.</p>
</dd>
<dt>seed<spanclass="classifier"><codeclass="docutils literal notranslate"><spanclass="pre">int</span></code></span></dt><dd><p>Number of seeders.</p>
</dd>
<dt>leech<spanclass="classifier"><codeclass="docutils literal notranslate"><spanclass="pre">int</span></code></span></dt><dd><p>Number of leecher</p>
</dd>
<dt>filesize<spanclass="classifier"><codeclass="docutils literal notranslate"><spanclass="pre">int</span></code></span></dt><dd><p>Size in Bytes (rendered to human readable unit of measurement).</p>
</dd>
<dt>files<spanclass="classifier"><codeclass="docutils literal notranslate"><spanclass="pre">int</span></code></span></dt><dd><p>Number of files.</p>
</dd>
</dl>
</section>
<sectionid="map-html">
<spanid="template-map"></span><h3><aclass="toc-backref"href="#id13"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">map.html</span></code></a><aclass="headerlink"href="#map-html"title="Link to this heading">ΒΆ</a></h3>
<p>Additional fields used in the <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates/map.html">map.html</a>:</p>
<dl>
<dt>content<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Description of the item.</p>
</dd>
<dt>address_label<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Label of the address / default <codeclass="docutils literal notranslate"><spanclass="pre">_('address')</span></code>.</p>
</dd>
<dt>geojson<spanclass="classifier"><aclass="reference external"href="https://en.wikipedia.org/wiki/GeoJSON">GeoJSON</a></span></dt><dd><p>Geometries mapped to <aclass="reference external"href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset">HTMLElement.dataset</a> (<codeclass="docutils literal notranslate"><spanclass="pre">data-map-geojson</span></code>) and used by
<dt>boundingbox<spanclass="classifier"><codeclass="docutils literal notranslate"><spanclass="pre">[</span><spanclass="pre">min-lon,</span><spanclass="pre">min-lat,</span><spanclass="pre">max-lon,</span><spanclass="pre">max-lat]</span></code></span></dt><dd><p>A <aclass="reference external"href="https://wiki.openstreetmap.org/wiki/Bounding_Box">bbox</a> area defined by min longitude , min latitude , max longitude and max
latitude. The bounding box is mapped to <aclass="reference external"href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset">HTMLElement.dataset</a>
(<codeclass="docutils literal notranslate"><spanclass="pre">data-map-boundingbox</span></code>) and is used by <aclass="reference external"href="https://github.com/Leaflet/Leaflet">Leaflet</a>.</p>
<codeclass="docutils literal notranslate"><spanclass="pre">data-map-lat</span></code>) and is used by <aclass="reference external"href="https://github.com/Leaflet/Leaflet">Leaflet</a>.</p>
</dd>
<dt>address<spanclass="classifier"><codeclass="docutils literal notranslate"><spanclass="pre">{...}</span></code></span></dt><dd><p>A dicticonary with the address data:</p>
<spanclass="s1">'name'</span><spanclass="p">:</span><spanclass="nb">str</span><spanclass="p">,</span><spanclass="c1"># name of object</span>
<spanclass="s1">'road'</span><spanclass="p">:</span><spanclass="nb">str</span><spanclass="p">,</span><spanclass="c1"># street name of object</span>
<spanclass="s1">'house_number'</span><spanclass="p">:</span><spanclass="nb">str</span><spanclass="p">,</span><spanclass="c1"># house number of object</span>
<spanclass="s1">'postcode'</span><spanclass="p">:</span><spanclass="nb">str</span><spanclass="p">,</span><spanclass="c1"># postcode of object</span>
<spanclass="s1">'country'</span><spanclass="p">:</span><spanclass="nb">str</span><spanclass="p">,</span><spanclass="c1"># country of object</span>
<dt>country_code<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p><aclass="reference external"href="https://wiki.openstreetmap.org/wiki/Country_code">Country code</a> of the object.</p>
</dd>
<dt>locality<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>The name of the city, town, township, village, borough, etc. in which this
object is located.</p>
</dd>
</dl>
</dd>
<dt>links<spanclass="classifier"><codeclass="docutils literal notranslate"><spanclass="pre">[link1,</span><spanclass="pre">link2,</span><spanclass="pre">...]</span></code></span></dt><dd><p>A list of links with labels:</p>
<spanclass="s1">'url_label'</span><spanclass="p">:</span><spanclass="nb">str</span><spanclass="p">,</span><spanclass="c1"># set by some engines but unused (oscar)</span>
<spanclass="p">})</span>
</pre></div>
</div>
</dd>
<dt>data<spanclass="classifier"><codeclass="docutils literal notranslate"><spanclass="pre">[data1,</span><spanclass="pre">data2,</span><spanclass="pre">...]</span></code></span></dt><dd><p>A list of additional data, shown in two columns and containing a label and
<spanclass="s1">'key'</span><spanclass="p">:</span><spanclass="nb">str</span><spanclass="p">,</span><spanclass="c1"># set by some engines but unused</span>
<spanclass="p">})</span>
</pre></div>
</div>
</dd>
<dt>type<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a> # set by some engines but unused (oscar)</span></dt><dd><p>Tag label from <aclass="reference internal"href="searxng_extra/update.html#update-osm-keys-tags-py"><spanclass="std std-ref">OSM_KEYS_TAGS[βtagsβ]</span></a>.</p>
</dd>
<dt>type_icon<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a> # set by some engines but unused (oscar)</span></dt><dd><p>Typeβs icon.</p>
</dd>
<dt>osm<spanclass="classifier"><codeclass="docutils literal notranslate"><spanclass="pre">{...}</span></code></span></dt><dd><p>OSM-type and OSM-ID, can be used to <aclass="reference external"href="https://nominatim.org/release-docs/latest/api/Lookup/">Lookup</a> OSM data (<aclass="reference external"href="https://nominatim.org/release-docs/latest/">Nominatim</a>). There is
also a discussion about β<aclass="reference external"href="https://nominatim.org/release-docs/latest/api/Output/#place_id-is-not-a-persistent-id">place_id is not a persistent id</a>β and the
<dt>id :</dt><dd><p>ID of osm-object (if OSM-Result).</p>
</dd>
</dl>
<divclass="admonition hint">
<pclass="admonition-title">Hint</p>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">osm</span></code> property is set by engine <codeclass="docutils literal notranslate"><spanclass="pre">openstreetmap.py</span></code>, but it is not
used in the <codeclass="docutils literal notranslate"><spanclass="pre">map.html</span></code> template yet.</p>
</div>
</dd>
</dl>
</section>
<sectionid="paper-html">
<spanid="template-paper"></span><h3><aclass="toc-backref"href="#id14"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">paper.html</span></code></a><aclass="headerlink"href="#paper-html"title="Link to this heading">ΒΆ</a></h3>
<p>Additional fields used in the <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates/paper.html">paper.html</a>:</p>
<dl>
<dt>content<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>An abstract or excerpt from the document.</p>
</dd>
<dt>comments<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Free text display in italic below the content.</p>
<dt>type<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Short description of medium type, e.g. <em>book</em>, <em>pdf</em> or <em>html</em> β¦</p>
</dd>
<dt>authors<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">List</span></code></a>[<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a>]</span></dt><dd><p>List of authors of the work (authors with a βsβ suffix, the βauthorβ is in the
<dt>editor<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Editor of the book/paper.</p>
</dd>
<dt>publisher<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Name of the publisher.</p>
</dd>
<dt>journal<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Name of the journal or magazine the article was published in.</p>
<dt>pages<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Page range where the article is.</p>
</dd>
<dt>number<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Number of the report or the issue number for a journal article.</p>
<dt>pdf_url<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>URL to the full article, the PDF version</p>
</dd>
<dt>html_url<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>URL to full article, HTML version</p>
</dd>
</dl>
</section>
<sectionid="packages">
<spanid="template-packages"></span><h3><aclass="toc-backref"href="#id15"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">packages</span></code></a><aclass="headerlink"href="#packages"title="Link to this heading">ΒΆ</a></h3>
<p>Additional fields used in the <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates/packages.html">packages.html</a>:</p>
<dl>
<dt>package_name<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>The name of the package.</p>
</dd>
<dt>version<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>The current version of the package.</p>
</dd>
<dt>maintainer<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>The maintainer or author of the project.</p>
</dd>
<dt>publishedDate<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/datetime.html#datetime.datetime"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime</span></code></a></span></dt><dd><p>Date of latest update or release.</p>
<dt>popularity<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>The popularity of the package, e.g. rating or download count.</p>
</dd>
<dt>license_name<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>The name of the license.</p>
</dd>
<dt>license_url<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>The web location of a license copy.</p>
</dd>
<dt>homepage<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>The url of the projectβs homepage.</p>
</dd>
<dt>source_code_url: <aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></dt><dd><p>The location of the projectβs source code.</p>
</dd>
<dt>links<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#dict"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code></a></span></dt><dd><p>Additional links in the form of <codeclass="docutils literal notranslate"><spanclass="pre">{'link_name':</span><spanclass="pre">'http://example.com'}</span></code></p>
</dd>
</dl>
</section>
<sectionid="code-html">
<spanid="template-code"></span><h3><aclass="toc-backref"href="#id16"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">code.html</span></code></a><aclass="headerlink"href="#code-html"title="Link to this heading">ΒΆ</a></h3>
<p>Additional fields used in the <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates/code.html">code.html</a>:</p>
<dl>
<dt>content<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Description of the code fragment.</p>
</dd>
<dt>codelines<spanclass="classifier"><codeclass="docutils literal notranslate"><spanclass="pre">[line1,</span><spanclass="pre">line2,</span><spanclass="pre">...]</span></code></span></dt><dd><p>Lines of the code fragment.</p>
</dd>
<dt>code_language<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Name of the code language, the value is passed to
<dt>repository<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>URL of the repository of the code fragment.</p>
</dd>
</dl>
</section>
<sectionid="files-html">
<spanid="template-files"></span><h3><aclass="toc-backref"href="#id17"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">files.html</span></code></a><aclass="headerlink"href="#files-html"title="Link to this heading">ΒΆ</a></h3>
<p>Additional fields used in the <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates/files.html">code.html</a>:</p>
<dl>
<dt>filename, size, time: <aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></dt><dd><p>Filename, Filesize and Date of the file.</p>
</dd>
<dt>mtype<spanclass="classifier"><codeclass="docutils literal notranslate"><spanclass="pre">audio</span></code> | <codeclass="docutils literal notranslate"><spanclass="pre">video</span></code> | <aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Mimetype type of the file.</p>
</dd>
<dt>subtype<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Mimetype / subtype of the file.</p>
</dd>
<dt>abstract<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Abstract of the file.</p>
</dd>
<dt>author<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Name of the author of the file</p>
</dd>
<dt>embedded<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>URL of an embedded media type (<codeclass="docutils literal notranslate"><spanclass="pre">audio</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">video</span></code>) / is collapsible.</p>
</dd>
</dl>
</section>
<sectionid="products-html">
<spanid="template-products"></span><h3><aclass="toc-backref"href="#id18"role="doc-backlink"><codeclass="docutils literal notranslate"><spanclass="pre">products.html</span></code></a><aclass="headerlink"href="#products-html"title="Link to this heading">ΒΆ</a></h3>
<p>Additional fields used in the <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates/products.html">products.html</a>:</p>
<dl>
<dt>content<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Description of the product.</p>
</dd>
<dt>price<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>The price must include the currency.</p>
<dt>source_country<spanclass="classifier"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.13)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></a></span></dt><dd><p>Place from which the shipment is made.</p>
</dd>
</dl>
</section>
</section>
<sectionid="answer-results">
<spanid="template-answer-results"></span><h2><aclass="toc-backref"href="#id19"role="doc-backlink">Answer results</a><aclass="headerlink"href="#answer-results"title="Link to this heading">ΒΆ</a></h2>
<h2><aclass="toc-backref"href="#id20"role="doc-backlink">Suggestion results</a><aclass="headerlink"href="#suggestion-results"title="Link to this heading">ΒΆ</a></h2>
<h2><aclass="toc-backref"href="#id21"role="doc-backlink">Correction results</a><aclass="headerlink"href="#correction-results"title="Link to this heading">ΒΆ</a></h2>
<h2><aclass="toc-backref"href="#id22"role="doc-backlink">Infobox results</a><aclass="headerlink"href="#infobox-results"title="Link to this heading">ΒΆ</a></h2>