Sitemap Check
Install
gem install sitemap_check
Usage
$ CHECK_URL=http://www.reevoo.com/sitemap_index.xml sitemap_check
CHECK_URL
can also be passed as an argument to sitemap_check
$ sitemap_check http://www.reevoo.com/sitemap_index.xml
You can also run sitemap_check
in validation mode:
$ VALIDATE=1 sitemap_check http://www.reevoo.com/sitemap_index.xml
This will validate response bodies with W3C's validation service.
Docker
$ docker run --rm quay.io/reevoo/sitemap_check https://www.reevoo.com/sitemap_index.xml
Config
Config can be set with enviroment variables
variable | default | description |
---|---|---|
CHECK_URL |
nil |
The url of the sitemap or sitemap index to check |
CONCURRENCY |
10 |
The number of concurent threads to use when checking the sitemap |
REPLACEMENT_HOST |
nil |
Replace the hostname when requesting pages, can be useful for example to test a production sitemap against a staging website. |