项目作者: danielemoraschi

项目描述 :
Sitemap generator command line application using dmoraschi/sitemap-common library
高级语言: PHP
项目地址: git://github.com/danielemoraschi/sitemap-app.git
创建时间: 2016-08-20T16:57:03Z
项目社区:https://github.com/danielemoraschi/sitemap-app

开源协议:MIT License

下载


Sitemap generator command line application

Build Status

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

Usage:

  1. bin/sitemap generate [options]

Options:

  1. -u, --url=URL The website url to scan. This is mandatory.
  2. -d, --deep[=DEEP] Follow link deep scan. [default: 1]
  3. -p, --priority[=PRIORITY] Web page priority. [default: 0.3]
  4. -f, --frequency[=FREQUENCY] Web page frequency. [default: "daily"]
  5. -o, --output[=OUTPUT] The output filename. [default: "sitemap.xml"]
  6. -h, --help Display this help message

Use with Docker:

  1. docker pull dmoraschi/sitemap-generator
  2. docker run --rm dmoraschi/sitemap-generator generate [options]

Example:

  1. docker run --rm -v $(pwd):/tmp dmoraschi/sitemap-generator generate -uhttp://www.website.com -o/tmp/sitemap.xml