https://github.com/jvidalv/super-simple-sitemap-generator
Node powered scraper that iterates trough all the internal links of the specified url. It works on CSR pages (React, Angular) with dynamic urls.
https://github.com/jvidalv/super-simple-sitemap-generator
csr dynamic google-search-console node sitemap xml
Last synced: about 1 year ago
JSON representation
Node powered scraper that iterates trough all the internal links of the specified url. It works on CSR pages (React, Angular) with dynamic urls.
- Host: GitHub
- URL: https://github.com/jvidalv/super-simple-sitemap-generator
- Owner: jvidalv
- Created: 2020-02-06T20:06:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T00:56:44.000Z (about 2 years ago)
- Last Synced: 2025-03-27T16:41:43.503Z (over 1 year ago)
- Topics: csr, dynamic, google-search-console, node, sitemap, xml
- Language: JavaScript
- Homepage:
- Size: 59.6 KB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](http://opensource.org/licenses/MIT)
[](https://npmjs.com/package/super-simple-sitemap-generator)
[](https://npmjs.com/package/super-simple-sitemap-generator)
A node.js powered scrapper 🔥 that iterates trough all the internal links of the specified url.
It works on CSR pages (React, Angular) with dynamic urls.
Once it is done it generates a ``sitemap.xml`` file with all the urls found, ready to be uploaded to Google Search Console.
#### Usage:
``` bash
$ sitemap https://vvlog.dev
```
#### Params:
Parameter | type | default | description
--- | --- | --- | ---
--wait | integer | 1500 | Specify the time (milliseconds) to wait (So the fetches are completed) before starting to parse the page.
--limit | integer | 999999 | Specify the limit of urls to parse before stopping the scrapper.
#### Todo:
* [x] Make it a NPM package.
* [ ] Make wait time dynamic in response of fetches inside url.
* [ ] New params that lets you specify how deep you want to go inside the url.
* [ ] Integrate it as part of build process of a create-react-app.
* [ ] Clean old code.