Skip to content
Sitemap generator command line application using dmoraschi/sitemap-common library
PHP Gherkin Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
docker
features
src
.gitignore
.travis.yml
LICENSE
README.md
composer.json
composer.lock

README.md

Sitemap generator command line application

Build Status

This is an example app based on the library dmoraschi/sitemap-common

Usage:

bin/sitemap generate [options]

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

Use with Docker:

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
You can’t perform that action at this time.