Keywords

Top  Previous  Next

Highlight keywords

This feature lets you highlight entered keywords in a page. Whole keywords must be placed in quotes, for example "watch". All entered keywords are case insensitive.

 

Keywords are only highlighted in the version with highlighted changes, not in the new or old version of a page.

 

Regular Expressions must be placed between "regex(" and ")" (without quotes).

For example: regex(WebSite.Watcher) which will find "WebSite-Watcher", "WebSite Watcher", "WebSite_Watcher", ...

 

Restriction: Keywords can only be highlighted when no HTML-Tags are placed within these words (for example the text "<b>H</b>ello" contains HTML-Tags, it's not possible to highlight the keyword "Hello"). If WebSite-Watcher cannot highlight all entered words, a warning is displayed at the beginning of the page.

 

Different keywords can also be highlighted with different colors, just add #COLORNAME on the right side of the keyword. Supported color names are: red, green, olive, lime, teal, blue, aqua, magenta, orange

Example:

website #blue

watcher #red

Update on keywords

The Update-on-keywords feature only alerts an update, if at least one of the entered keywords is available in new or changed content. If none of the entered keywords is found in a page, WebSite-Watcher will not save the checked page to your hard disk. When you open the bookmark, you'll always see the latest version that contained at least one of the entered keywords.

 

Enter one keyword per line. All entered keywords are case insensitive.

 

Parts of a word

By default, WebSite-Watcher searches keywords anywhere in new and changed text content, also when they are part of a word. If you enter the keyword watch, you will also get a positive result when the word WebSite-Watcher is available.

 

Whole words

If WebSite-Watcher should only find whole words, then you have to place them in quotes. The keyword "watch" (with quotes) won't give you a positive result when the page contains WebSite-Watcher, but "watch" will be found in the text you can watch a page for.

 

Regular Expressions

The keywords you are looking for can also be defined with Regular Expressions. Regular Expressions must be placed between "regex(" and ")" (without quotes).

For example: regex(WebSite.Watcher) will find "WebSite-Watcher", "WebSite Watcher", "WebSite_Watcher", ...

A special function is regexcmp(...) that allows you to compare prices with a specified number.

 

With the integrated Plugin system you can also define complex keyword queries with logical operators. More details can be found in topic Wsw_CheckKeywords. If Keywords and a Plugin are defined, then both tasks are executed and WebSite-Watcher will alert an update if at least one of these two features find a keyword.

 

WebSite-Watcher tries to apply defined ignore filters before searching for keywords, watch filters are not used.

 

See also:

Monitor pages for keywords
Regular Expressions



Translate document: