E-Democracy Pages Wiki

Search Wiki

 

Tools

 

Search Page Parameters

From E-Democracy.org

This page lists the available URL parameters for the search page [1] and atom search page[2]. This information should apply to any GroupServer site.

The format for specifying parameters via the URL is as follows:

http://forums.e-democracy.org/s/?parameter1=value1&parameter2=value2

where parameter1 and parameter2 are the names of parameters you are specifying. Note that all specified parameters values, expect for the final parameter value, must be followed by an amperstand (&). There is no limit to the number of parameters that can be specified.

The format is nearly the same for the atom search page, except for a slight difference in the portion of the URL before parameter specification:

http://forums.e-democracy.org/s/search.atom?parameter1=value1&parameter2=value2

The known parameters for the search pages are

* g: The *group* to search in. Default: All groups on the site.
* t: Include *topics* in results? 1 = yes; 0 = no. Default: 1
   * This does not cause actual topic content to be part of the search result.
* p: Include individual *posts* in results? 1 = yes; 0 = no. Default: 0
   * This does cause actual post content to be part of the search result.
* f: Include *files* in results? 1 = yes; 0 = no. Default: 0
* i: The *index* (aka offset) into the search-results. Default: 0
* l: The number of results to return (the *length*). Default: 6
* s: The text to *search* for. Default: Nothing

The following parameters are known to exist, but have an unknown impact on the search:

* a
* m
 

Home - Mobile - Forums - Wiki - Blog - About - Help - Contact - People - Donate - Rules - Archives