amphora-sitemaps
v1.0.0
Published
A module for get the all the published pages for the sites for Amphora
Downloads
248
Readme
Amphora Sitemaps
A Sitemaping module for Amphora that exposes endpoints to get the all the published pages in an XML response.
Installation & Usage
First install the module:
$ npm install -s amphora-sitemaps
Then pass the module into Amphora as an item for the plugins
array property.
amphora({
...
plugins: [
...
require('amphora-sitemaps'),
...
],
...
})
At startup time the module will create and expose endpoints that you can hit in your browser to get the all the published pages in an XML response for that site. eg. yoursite.com/_sitemap