{{ _("Search instructions") }}
{{ _("URL") }}

{%trans%}A URL consists of several parts:{%endtrans%} {%trans%}protocol://host:port/path?query{%endtrans%}

{%trans%}The protocol:// prefix is ignored when searching as it's not part of the searchable data.{%endtrans%}

{%trans%}A leading www. in the host will also be ignored for the same reason.{%endtrans%}

{%trans%}The host contains one or more parts separated by periods (.).{%endtrans%} {%trans%}The part before the first period is called the hostname.{%endtrans%} {%trans%}The part after the last period is the top level domain.{%endtrans%} {%trans%}Every part added to the left of the top level domain sub-domain.{%endtrans%} {%trans%}I.e. x.y.z is a sub-domain of y.z{%endtrans%} {%trans%}which in turn is a sub-domain of the top level domain z{%endtrans%}

{%trans%}See Match Type below for interpretations of the search string.{%endtrans%}

{{ _("Results Display") }}

{%trans%}For the Default search mode, the results are shown in a calendar view unless a filter is also added.{%endtrans%} {%trans%}For all other cases the results will be displayed in a list.{%endtrans%}

{{ _("Search Options") }}
{{ _("Match Type") }}

{{ _("There are four different search modes:") }}

{{ _("Default") }}

{%trans%}In the default mode the exact URL (minus the ignored prefixes mentioned above) is searched for.{%endtrans%} {%trans%}If one leading or trailing wildcard asterisk (*) is added, see Prefix and Domain below.{%endtrans%}

{%trans%}Any other asterisks will be considered literal parts of the search string.{%endtrans%} {%trans%}Hence, adding both a leading and a trailing wildcard asterisk is not possible.{%endtrans%}

{%trans%}Example:{%endtrans%}

{{ _("URL") }}: https://http.cat/206 & {{ _("Match Type") }}: {{ _("Default") }}

{{ _("Prefix") }}

{%trans%}This will return all URL:s that begin with the given string.{%endtrans%} {%trans%}It returns the same results as Default with a trailing wildcard asterisk.{%endtrans%}

{%trans%}Examples:{%endtrans%}

{{ _("URL") }}: https://http.cat/2 & {{ _("Match Type") }}: {{ _("Prefix") }}

{{ _("URL") }}: https://http.cat/2* & {{ _("Match Type") }}: {{ _("Default") }}

{{ _("Host") }}

{%trans%}This will ignore any path and query parts of the URL and return all URL:s with the specified host part.{%endtrans%}

{%trans%}Example:{%endtrans%}

{{ _("URL") }}: https://http.cat/ & {{ _("Match Type") }}: {{ _("Host") }}

{{ _("Domain") }}

{%trans%}This is similar to the previous but doesn't require the whole host.{%endtrans%} {%trans%}It returns the same results as Default with a leading wildcard asterisk and a period (i.e. *.).{%endtrans%} {%trans%}The leading wildcard matches zero or more sub-domains as well as zero or one hostname.{%endtrans%}

{%trans%}Examples:{%endtrans%}

{{ _("URL") }}: cat/ & {{ _("Match Type") }}: {{ _("Domain") }}

{{ _("URL") }}: *.cat/ & {{ _("Match Type") }}: {{ _("Default") }}

{{ _("Date/Time Range") }}

{%trans%}One may specify a start and/or an end timestamp to further restrict the search - both are inclusive.{%endtrans%} {%trans%}The timestamps consist of a date and an optional time of day.{%endtrans%} {%trans%}The layout of these input fields are subject to which browser is used.{%endtrans%}

{%trans%}Example:{%endtrans%}

{{ _("URL") }}: https://http.cat/2 & {{ _("Match Type") }}: {{ _("Prefix") }} & {{ _("From") }}: 2022-02-02 09:00

{{ _("Filtering") }}

{%trans%}Finally one may add extra filters for Mime Type, Status and URL.{%endtrans%} {%trans%}For each filter one needs to specify one of the three attributes, one of a set of relations and a string.{%endtrans%} {%trans%}If more than one filter is added, they will all be applied to the list of results.{%endtrans%}

{%trans%}Remember to actually add the filter before submitting the search.{%endtrans%}

{%trans%}Example:{%endtrans%}

{{ _("URL") }}: https://http.cat/2/ & {{ _("Match Type") }}: {{ _("Prefix") }} & {{ _("Filtering") }}: {{ _("HTTP Status") }} {{ _("Is Not") }} "301"