Sitemap generator command line application using dmoraschi/sitemap-common library
This is an example app based on the library dmoraschi/sitemap-common
bin/sitemap generate [options]
-u, --url=URL The website url to scan. This is mandatory.
-d, --deep[=DEEP] Follow link deep scan. [default: 1]
-p, --priority[=PRIORITY] Web page priority. [default: 0.3]
-f, --frequency[=FREQUENCY] Web page frequency. [default: "daily"]
-o, --output[=OUTPUT] The output filename. [default: "sitemap.xml"]
-h, --help Display this help message
docker pull dmoraschi/sitemap-generator
docker run --rm dmoraschi/sitemap-generator generate [options]
Example:
docker run --rm -v $(pwd):/tmp dmoraschi/sitemap-generator generate -uhttp://www.website.com -o/tmp/sitemap.xml