ftw.linkchecker
Project description
ftw.linkchecker
Introduction
### INTRODUCTION ###
It’s important, that this package isn’t started by conjob in non productive deployments. This is due to the fact, that the command is started by a zope ctl command.
Compatibility
Plone 4.3.x
Installation
Add the package to your buildout configuration:
[instance] eggs += ... ftw.linkchecker
One needs to add a config file (e.g. linkchecker_config.json) holding:
portal path (unique identifier of the platform)
email of the platforms administrator (the one who gets the report)
base URI (domain where the platform is configured)
timeout in seconds (how long the script waits for each external link before continuing if the page does not respond).
upload_location can be left empty. It is the path to a file listing block where the report will be uploaded.
{ "/portal/path-one": { "email": "first_site_admin@example.com", "base_uri": "http://example1.ch", "timeout_config": "1", "upload_location": "/content_page/my_file_listing_block" }, "/portal/path-two": { "email": "second_site_admin@example.com", "base_uri": "http://example2.ch", "timeout_config": "1" } }
Usage
The linkchecker can be started with (–log logpath optional):
bin/instance check_links --config path/to/config/file.json --log path/to/logfile.log
Development
Fork this repo
Clone your fork
Shell: ln -s development.cfg buildout.cfg
Shell: python bootstrap.py
Shell: bin/buildout
Run bin/test to test your changes.
Or start an instance by running bin/instance fg.
Links
Copyright
This package is copyright by 4teamwork.
ftw.linkchecker is licensed under GNU General Public License, version 2.
Changelog
1.0.0 (2019-08-02)
Initial implementation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.