1.0.8 • Published 9 years ago

cli-xml-genx v1.0.8

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

Command-line tool to generate sitemaps-xml file

Installation:

$ npm install cli-xml-genx

To run tool:

xml-genx --url <baseUrl> --jp <pathToJsonFile>

Command takes two parameters:

- base url
- json file path with list of urls

Tool produces a site-maps xml file with provided urls and dumps the file in the current working directory.

Example json structure:

    {
      "categories": {
        "frequency": "monthly",
        "priority": 1,
        "urls": ["aaaa", "bbbb", "cccc"]
      },
      "editions": {
        "frequency": "weekly",
        "priority": 0.7,
        "urls": ["ffff", "gggg", "dddd"]
      },
      "posts": {
        "frequency": "weekly",
        "priority": 0.5,
        "urls": ["hhhhh", "eeeee", "ttttt"]
      }
    }
1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago