Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 27 days ago
JSON representation

Sitemap generator command line application using dmoraschi/sitemap-common library

Awesome Lists containing this project

README

        

Sitemap generator command line application
=======

[![Build Status](https://travis-ci.org/danielemoraschi/sitemap-app.png?branch=master)](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
```