Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

telemark/micro-sitemap-to-array

Repository files navigation

Build Status js-standard-style

micro-sitemap-to-array

Returns array from sitemap

API

POST or GET a url to a sitemap.xml

$ curl https://sitemap.tjeneste.win?sitemap=https://www.telemark.no/sitemap.xml
$ curl -H "Content-Type: application/json" -d '{"sitemap": "https://www.telemark.no/sitemap.xml"}' https://sitemap.tjeneste.win

Development

You'll need the now-cli from ZEIT

$ now dev

Deploy to ZEIT/Now - Manual

Change now.json to match your environment.

Run the deploy script.

$ npm run deploy

Deploy to ZEIT/Now - Automatic

Setup GitHub actions to match your environment.

Do a release.

License

MIT