react-snap icon indicating copy to clipboard operation
react-snap copied to clipboard

Add sitemap.xml option

Open zelphir opened this issue 6 years ago • 5 comments

If you want to generate a sitemap.xml for your static website you can do this in the package.json, like this:

"homepage": "https://mycoolwebsite.com/",
"reactSnap": {
  "sitemap": true
}

Without the homepage a sitemap can't be generated.

zelphir avatar Apr 23 '18 13:04 zelphir

At the moment I'm trying to write proper tests for the package. It was without tests way too long. This means, that all other PRs will be on hold. See #171

stereobooster avatar May 06 '18 16:05 stereobooster

Thanks for this! It would be great to check if the pages forbid robots indexation (via <meta name="robots" content="noindex" />) before adding them to the sitemap. Cheers

tzi avatar Dec 05 '18 02:12 tzi

Is this going anywhere any time soon?

neo avatar Feb 13 '19 20:02 neo

This would be great to have. Is the feature coming any time soon?

adrianObel avatar Jun 14 '19 15:06 adrianObel

I'm looking for this feature too ! #171 is merged, any chance @zelphir you could update this PR? 🙏

zedtux avatar Apr 05 '23 19:04 zedtux