Tipue

Getting Started with Tipue JS

USING A JAVASCRIPT DATA FILE


For an example see tipue_data.js included with Tipue JS.

With a JavaScript data file the site data is held as a JavaScript array.


The first line of the JavaScript data file must be a variable declaration:


The format of the array following the above is:

The ^ character acts as a record separator.


NUM A sequential whole number, starting at zero.
TITLE The title of the page.
URL This can be either a document, a partial URL or a full URL including the http:// element.
CONTENT The text of the page.
OPEN This value specifies how the link displays when it is selected. If the field is 0 the link opens in the current window. If the value is 1 the link displays in a new browser window.

This field is optional.

RANK This adds a value to the page's score, which has the effect of making it return correspondingly higher in a group of results with a similar score. The value is of the Page Rank is 0 to 10.

This field is optional. If you include this field you have to include an OPEN field in the same record.


The Head section of the Search Results page must include a reference to your JavaScript data file.


Example JavaScript data file:

Tipue JS
Tipue JS

Getting Started

Reference

Tipue feed

|  Tipue Copyright (c) 2002 - 2008 Tri-State Consultants  |  Blog  |  Service Terms