Bookmark_SetProperty

Top  Previous  Next

sub Bookmark_SetProperty(Handle, sProperty, sValue)

 

Changes a bookmark configuration.

 

Parameters

 

Handle ... Bookmark-Handle that is passed to the Event function.
sProperty ... String value. Bookmark property that should be changed.
sValue ... String value. Value that should be assigned.

 

Valid values of sProperty:

Value

Description

check_url

Defines the URL that should be checked.

 

Info: The bookmark properties are not changed permanently, only temporarily for the current check. You will not see these changes in the bookmark properties. This function is typically used in the event function Wsw_BeforeCheck.

pagetype

Overrides the page type that should be used for the check.

Valid values for pagetype are:

autodetect, html, text, rss, atom, binary

 

Info: The bookmark properties are not changed permanently, only temporarily for the current check. You will not see these changes in the bookmark properties. This function is typically used in the event function Wsw_BeforeCheck.

checkmethod

Overrides the checking method that should be used for the check.

Valid values for checkmethod are:

automatic, content, date, size

 

Info: The bookmark properties are not changed permanently, only temporarily for the current check. You will not see these changes in the bookmark properties. This function is typically used in the event function Wsw_BeforeCheck.

infofield1

Writes the additional info field #1.

infofield2

Writes the additional info field #2.

infofield3

Writes the additional info field #3.

MarkAsRead

Marks a changed bookmark as read.

Valid value is: "1"

 

Example: Bookmark_SetProperty(Handle, "MarkAsRead", "1")

dont_check_minutes

Temporarily disable bookmark checking for the specified number of minutes (must be specified within quotes).

 

Example: Bookmark_SetProperty(Handle, "dont_check_minutes", "10")

 

Example:

Sub Wsw_BeforeCheck(Handle)
 
   ' Change bookmark pagetype to "text"
   Bookmark_SetProperty(Handle, "pagetype", "text")
End Sub