https://github.com/danielemoraschi/sitemap-app
Sitemap generator command line application using dmoraschi/sitemap-common library
https://github.com/danielemoraschi/sitemap-app
crawler php php-library sitemap sitemap-generator
Last synced: 9 months ago
JSON representation
Sitemap generator command line application using dmoraschi/sitemap-common library
- Host: GitHub
- URL: https://github.com/danielemoraschi/sitemap-app
- Owner: danielemoraschi
- License: mit
- Created: 2016-08-20T16:57:03.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-22T19:48:43.000Z (almost 10 years ago)
- Last Synced: 2024-12-31T15:29:30.000Z (over 1 year ago)
- Topics: crawler, php, php-library, sitemap, sitemap-generator
- Language: PHP
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Sitemap generator command line application
=======
[](https://travis-ci.org/danielemoraschi/sitemap-app)
This is an example app based on the library [dmoraschi/sitemap-common](https://github.com/danielemoraschi/sitemap-common)
Usage:
-------------
```shell
bin/sitemap generate [options]
```
Options:
-------------
```shell
-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:
-------------
```shell
docker pull dmoraschi/sitemap-generator
docker run --rm dmoraschi/sitemap-generator generate [options]
```
Example:
```shell
docker run --rm -v $(pwd):/tmp dmoraschi/sitemap-generator generate -uhttp://www.website.com -o/tmp/sitemap.xml
```