Information Technology Services - Computing, Networking and Storage
Would you like to answer a few questions to help us improve our website?
Yes | No Thanks | Maybe Later

CSS Tags for Results

The following CSS tags are included in XHTML results returned by the PHP parse script:

Major Elements

  • <div id="gsa"> ... </div>
    The enclosing div for results returned.
  • <p class="topnav"> ... </p>
    The top results navigation bar. Contains the search term and navigation links to the previous/next page of search results if they exist.
  • <p class="bottomnav"> ... </p>
    The bottom results navigation bar. Contains navigation links to the previous/next page of search results if they exist.
  • <ol class="resultslist"> ... </ol>
    An ordered list of search results (10 per page).
  • <li class="result"> ... </li>
    An individual search result.

The navigation bars can contain the following tags:

  • <span class="st"> ... </span>
    The search term(s).
  • <span class="nav"> ... </span>
    The navigation links for previous and next result pages.

Each search result includes the following tagged elements:

  • <a class="title" href=" ... "> ... </a>
    Document title and page link.
  • <p class="summary"> ... </p>
    The text snippet containing search term(s) returned by the GSA.
  • <span class="furl"> ... </span>
    Text display of document URL.
  • <span class="fsize"> ... </span>
    Text display of document size.
  • <span class="fdate"> ... </span>
    Text display of document date. (The GSA does not return this value for all documents.)
  • <span class="st"> ... </span>
    The search term(s)
  • Nested results:

    • <ol class="resultslist"> ... <ol> ... </ol> ... </ol>
      When it encounters many pages in the same location, the GSA will 'group' documents and list one result, which appears as an ordered list nested in the enclosing result.
    • <p class="more"> ... </p>
      Text display of 'grouped' site and link to other result pages for that site.

Other Elements

The following elements appear when needed:
  • <p class="filtermessage"> ... </p>
    Since the GSA severely filters search results, this message appears at the bottom of the last page of results, with a link to return results with no filters applied.
  • <p class="suggestion"> ... </p>
    Suggested spelling correction for search term.
  • <div id="fullsearch"> ... </div>
    Link to search all documents (appears only if you have limited your search to web pages).


Last updated: Monday, August 03, 2009, 14:18PM PDT