General datafields/options

Top  Previous  Next

General datafields

The following fields should not be used between {wsw_begin_folder} and {wsw_end_folder}, and not between {wsw_begin_url} and {wsw_end_url}.

 

{wsw_report_date}

Will be replaced with the report date (current date).

Options

The following fields can be used to change some properties of a report. Simply insert one or more of these fields at the beginning of a report template.

 

{wsw_ansi}

By default, a report is written in UTF-8 format. If you insert this field into the report template, the report is written in Ansi format.

{wsw_encode_html}

Encodes reserved HTML characters (for example the characters < and > will be saved as &lt; and &gt;). Use this option if you want to export into XML, RSS or OPML format.

{wsw_sort_url}

Sorts the report by URL (default sorting order is by name)

{wsw_sort_domain}

Sorts the report by domain name (default sorting order is by name)

{wsw_root_folder_bottom}

If defined, WebSite-Watcher inserts bookmarks of the root folder at the bottom of the report (by default, they are inserted at the beginning of a report). Only valid in combination with folders.

{wsw_folder_root_without_overhead}

Writes bookmarks of the root folder without the defined overhead. (The "overhead" is the content between the markers {wsw_begin_folder} and {wsw_begin_url}, also between the markers {wsw_end_url} and {wsw_end_folder}). Only valid in combination with folders.

{wsw_folder_not_nested}

WebSite-Watcher writes nested folders to a single, linear list. This option can be used in combination with the field {wsw_folder_name_absolute} instead of relative folder names. Only valid in combination with folders.

{wsw_hide_empty_folder}

Hides empty folders. This option works only in combination with folders and the option {wsw_folder_not_nested}.

{wsw_dateformat(...)}

Defines the date format in reports. You can use the following definitions:

 

yy - current year with 2 digits
yyyy - current year with 4 digits
m - current month with 1 or 2 digits, no leading zero (1-12)
mm - current month with 2 digits, leading zero (01-12)
mmm - name of current month, 3 characters (jan, feb...)
mmmm - full name of current month
d - current day with 1 or 2 digits, no leading zero (1-31)
dd - current day with 2 digits, leading zero (01-31)
ddd - name of current day with 2 characters
dddd - name of current day
hh - hours
nn - minutes
ss - seconds

 

Example:

{wsw_dateformat(dd-mmm-yyyy)}

 

The variable {wsw_dateformat(internet)} uses the internet date/time format, for example: Tue, 13 Mar 2007 13:39:53.