Datafields for bookmarks
The following datafields are related to bookmarks and can be placed into the report template. The datafields are placed between { and } and will be replaced with real values when creating the report.
Datafields that indicate the start/end of a bookmark
- {wsw_begin_url} and {wsw_end_url}
These two datafields define the start and the end marker of a bookmark. The HTML code between these two fields will be used for each exported bookmark.
The following fields can be placed between {wsw_begin_url} and {wsw_end_url}:
- {wsw_url_url}
This datafield will be replaced with the bookmark URL. If an URL is defined in the Report section (bookmark properties), then it will be used instead of the bookmark URL.
- {wsw_url_name}
This datafield will be replaced with the bookmark name. If a name is defined in the Report section (bookmark properties), then it will be used instead of the bookmark name.
- {wsw_url_text}
This datafield will be replaced with the bookmark description entered in the Report section (bookmark properties).
- {wsw_url_highlighted_changes(MAXLEN)}
Extracts all changes from the page and displays them in text format. MAXLEN is the maximal length of characters which are displayed. If you want to display the first 200 characters, then the field is {wsw_url_highlighted_changes(200)}. If changes are available, the <br> tag is automatically appended.
- {wsw_url_date_changed}
This datafield will be replaced with the date "last changed".
- {wsw_url_date_checked}
This datafield will be replaced with the date "last checked".
- {wsw_url_filename}
Filename of the locally saved file (new version).
- {wsw_url_filename_no_ext}
Filename of the locally saved file without the file extension. This name is
unique and can be used as key.
- {wsw_url_path_filename}
Filename with absolute path of the locally saved file (new version).
- {wsw_url_path_filename_chg}
Filename with the absolute path of the locally saved file (version with highlighted changes).
- {wsw_url_path_filename_chg1}
Filename with absolute path of the locally saved file (version with highlighted changes) and an anchor to the first change.
- {wsw_url_relpath_filename}
Filename with relative path (without leading slash) of the locally saved file (new version). Relative path means, that the path to the *_WSW directory is removed. You can use this variable in combination with the <BASE HREF="..."> tag.
- {wsw_url_relpath_filename_chg}
Filename with the relative path (without leading slash) of the locally saved file (version with highlighted changes). Relative path means, that the path to the *_WSW directory is removed. You can use this variable in combination with the <BASE HREF="..."> tag.
- {wsw_url_relpath_filename_chg1}
Filename with relative path (without leading slash) of the locally saved file (version with highlighted changes) and an anchor to the first change. Relative path means, that the path to the *_WSW directory is removed. You can use this variable in combination with the <BASE HREF="..."> tag.
- {wsw_url_note}
Bookmark note without styles.
- {wsw_url_note_format}
Bookmark note. The styles bold, italic and underlined are converted to HTML-Tags.
- {wsw_url_checkstatus}
Status of last check.
- {wsw_folder_depth_tab}
Replaces the folder depth with tabulators. For a folder depth of 3, WebSite-Watcher will insert 3 tabulator characters.
- {wsw_url_field1}
{wsw_url_field2}
{wsw_url_field3}
Additional info fields.