Getting Started with Tipue JS
USING AN XML DATA FILE
You can either build the XML data file by hand or via a web crawler such as Endsheet.
For an example see tipue_data.xml included with Tipue JS.
|
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 element is 0 the link opens in the current window. If the value is 1 the link displays in a new browser window.
This element is optional. The current window is assumed.
|
|
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, with 0 as the default.
This element is optional.
|
|
* These elements are searched.
|
Note that in XML, certain characters must be replaced with escape codes. These characters are listed below:
|
Character
|
Escape Code
|
|
&
|
&
|
|
'
|
'
|
|
"
|
"
|
|
>
|
>
|
|
<
|
<
|
Example XML data file:
Further Information:
The Tipue JS XML Schema
Further Information from Amazon.com :
XML in a Nutshell, Third Edition
Learning XML, Second Edition
|
|