sitemap-generator-cli
Advanced tools
Comparing version 4.0.0 to 4.1.0
{ | ||
"name": "sitemap-generator-cli", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "Create xml sitemaps from the command line.", | ||
@@ -32,3 +32,3 @@ "homepage": "https://github.com/lgraubner/sitemap-generator-cli", | ||
"commander": "^2.9.0", | ||
"sitemap-generator": "^4.0.0" | ||
"sitemap-generator": "^4.1.1" | ||
}, | ||
@@ -44,5 +44,5 @@ "preferGlobal": true, | ||
"devDependencies": { | ||
"ava": "^0.14.0", | ||
"eslint": "^2.9.0", | ||
"eslint-config-graubnla": "^2.0.2" | ||
"ava": "^0.15.2", | ||
"eslint": "^3.0.0", | ||
"eslint-config-graubnla": "^3.0.0" | ||
}, | ||
@@ -49,0 +49,0 @@ "scripts": { |
@@ -18,10 +18,8 @@ # Node Sitemap Generator | ||
The protocol can be omitted, if the domain uses `http` or redirects to `https` are set up. | ||
The crawler will fetch all folder URL pages and file types [parsed by Google](https://support.google.com/webmasters/answer/35287?hl=en). If present the `robots.txt` will be taken into account and possible rules are applied for each URL to consider if it should be added to the sitemap. Also the crawler will not fetch URL's from a page if the robots meta tag with the value `nofollow` is present and ignore them completely if `noindex` rule is present. The crawler is able to apply the `base` value to found links. | ||
The crawler will fetch all folder URL pages and file types [parsed by Google](https://support.google.com/webmasters/answer/35287?hl=en). If present the `robots.txt` will be taken into account and possible rules are applied for each URL to consider if it should be added to the sitemap. Also the crawler will not fetch URL's from a page if the robots meta tag with the value `nofollow` is present. The crawler is able to apply the `base` value to found links. | ||
When the crawler finished the XML Sitemap will be built and printed directly to your console. Pass the sitemap to save the sitemap as a file or do something else: | ||
```BASH | ||
$ sitemap-generator example.com > sitemap.xml | ||
$ sitemap-generator http://example.com > sitemap.xml | ||
``` | ||
@@ -32,3 +30,3 @@ | ||
```BASH | ||
$ sitemap-generator example.com > ./subfolder/mysitemap.xml | ||
$ sitemap-generator http://example.com > ./subfolder/mysitemap.xml | ||
``` | ||
@@ -62,3 +60,3 @@ | ||
If you specify an URL with a path (e.g. `example.com/foo/`) and this option is set to `true` the crawler will only fetch URL's matching `example.com/foo/*`. Otherwise it could also fetch `example.com` in case a link to this URL is provided | ||
If you specify an URL with a path (e.g. `http://example.com/foo/`) and this option is set to `true` the crawler will only fetch URL's matching `example.com/foo/*`. Otherwise it could also fetch `example.com` in case a link to this URL is provided | ||
@@ -65,0 +63,0 @@ ### `--dry` |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3
12019
72
Updatedsitemap-generator@^4.1.1