ValidateUrlsPlugin
Validates external Urls in Wiki topics
Usage
This extension is best run from the command line, perhaps from a monthly cronjob..
cd foswiki/bin
./rest /ValidateUrlsPlugin/getExternalLinks web=Sandbox
This will generate or update
Sandbox.WebExternalURLsReport
for the Sandbox web, listing all the url's it finds in the topics of the Sandbox web, listed either as broken, or working (from the point of view of the server).
If you run this rest handler from your browser, it will try to update the topic (assuming you have (admin) permission to write to that web/topic), and it will
not attempt to validate the urls.
The topics are set to be viewable only by the
AdminGroup, so that there is less risk of exposing url's listed on view restricted topics.
This can be changed by setting
{Plugins}{ValidateUrlsPlugin}{ReportViewPermission}
to the group that you want to allow (set to
WikiGuest if you're ok with the list being public).
existing reports
Installation Instructions
Plugin Info