Wednesday, August 16, 2017

Send mail via Yahoo

User question:
> I'm trying to send a test mail via my yahoo account, but I always 
> get the following error:
> 2017-07-25 12:24:19 - WSW> WebSite-Watcher 2017 (17.1)
> 2017-07-25 12:24:19 - WSW> Begin Login POP3
> 2017-07-25 12:24:19 - < +OK Hello from jpop-0.1
> 2017-07-25 12:24:19 - > USER **********
> 2017-07-25 12:24:19 - < +OK Password required.
> 2017-07-25 12:24:19 - > PASS **********
> 2017-07-25 12:25:19 - WSW> Result = 10
> 2017-07-25 12:25:19 - WSW> Login POP3 - ERROR

We could send a test mail with the following configuration. It seems that a login to the POP3 server is not required, but it also works with the configuration in the screenshot below.

Wednesday, July 26, 2017

Plugin: Escape certain characters

User question:
> I'm writing a plugin and need to escape certain characters in an 
> URL. Is there a function available to escape characters?

No, there's no built in function available.
Here's a small function that you can use as starting point to escape certain characters:

Function EscapeChars(s As String) As String
   Dim i, s2
   s2 = ""
   For i = 1 To Length(s)
      If Pos(LowerCase(s[i]), "abcdefghijklmnopqrstuvwxyz0123456789%.") > 0 Then
         s2 = s2 + s[i] 
         s2 = s2 + "%" + IntToHex(Ord(s[i]), 2)
      End If
   Return s2
End Function

s = EscapeChars("")

s =

Tuesday, June 27, 2017

Multiple pages with login

User question:
> If several (in fact more than 10) of my bookmarks share the same
> web-based login, can I set it up so that there is only one login
> instead of as many logins as there are bookmarks? 

Only if that page has a "Stay logged in" option which saves the login information in a cookie. In that case you have to login once in a browser tab of WebSite-Watcher, this will write the cookie which will then be used for the bookmark checks.

If it's not possible to save login information permanently, then you have to record a check macro for each bookmark. In that case it's not possible to share the login information.

Monday, June 19, 2017

Show removed content

User question:
> Is it possible that website watcher also shows the removed content in a different color?
> Or maybe it opens both versions (tiled vertically or horizontally) so I don't need to 
> click another icon to get that

This only works when you call it manually via the browser toolbar.

If you want to see it in the same document, you have to use the highlight method "Exact" with the option "Show removed content".

Monday, June 5, 2017

Autostart script and AutoWatch

User question:
> I use the option to automatically start AutoWatch when I launch 
> WebSite-Watcher. Since a couple of days this stopped working. The 
> only thing that I changed was that I created an Autostart script to 
> automatically import URLs from a text file when I launch WSW.

When you use the special script "autostart.wws" (which is executed each time you start WebSite-Watcher), then the option to automatically start AutoWatch is not used.

You have to start AutoWatch manually in your script as the following example shows:

ImportBookmarks /Text1 (+)
   /file="c:\folder\urls.txt" (+)
   /targetfolder="testfolder" (+)


Tuesday, May 30, 2017

Server sometimes reports Out of memory

User question:
> A bookmark sometimes shows an out of memory error. Any way to avoid 
> this? This is the error message we get:
> Fatal error: Out of memory (allocated 6029312)in /public_html/wp-includes/post.php on line 3937

This is a server error that you also see in your web browser when you click the "Reload" button long enough.

In WebSite-Watcher you can try to use the "Ignore Updates" feature to ignore these kind of false positives. Just enter a part of the error text (eg: Fatal error: Out of memory), then WebSite-Watcher won't alert an update if that text is available in the page.

Monday, May 15, 2017

Restore previous version

User question:
> Sometimes Website Watcher checks a bookmark when the site is doing
> maintenance and there is a general maintenance message displayed.
> The comparison with an old version is then useless. It would be nice
> to have a functionality where you could disregard the latest change.
> In that way I can check the bookmark again after the maintenance and
> the comparison with an old version is useful.

This works with the shortcut: Ctrl+Shift+R

Or via context menu: Right click + Organize + Restore previous version

You can also display a toolbar button in the toolbar of the internal browser to quickly restore the old version.

If such a maintenance message comes often, you can also use the bookmark option "Ignore updates" to avoid false positives.