mirror of
https://github.com/silverstripe/silverstripe-externallinks.git
synced 2024-10-22 17:05:44 +02:00
Module which tracks external broken links in SilverStripe CMS pages
_config | ||
code | ||
javascript | ||
tests | ||
_config.php | ||
composer.json | ||
README.md |
External links
Introduction
The external links module is a task and ModelAdmin to track and to report on broken external links.
Maintainer Contact
* Kirk Mayo kirk (at) silverstripe (dot) com
Requirements
* SilverStripe 3.0 +
Features
- Add external links to broken links reports
- Add a task to track external broken links
Installation
- Download the module form GitHub (Composer support to be added)
- Extract the file (if you are on windows try 7-zip for extracting tar.gz files
- Make sure the folder after being extracted is named 'externallinks'
- Place this directory in your sites root directory. This is the one with framework and cms in it.
- Run in your browser -
/dev/build
to rebuild the database. - Run the following task http://path.to.silverstripe/dev/tasks/CheckExternalLinks to check for broken external links
Report
A new report is added called 'External Broken links report' from here you can also start a new job which is run via AJAX and in batches of 10 so it can be run via content editors who do not have access to jobs or tasks.
Dev task
Run the following task http://path.to.silverstripe/dev/tasks/CheckExternalLinks to check your site for external broken links.
Queued job
If you have the queuedjobs module installed you can set the task to be run every so ofter Add the following yml config to config.yml in mysite/_config have the the task run once every day (86400 seconds)
CheckExternalLinks:
Delay: 86400