npm.io
2.0.0 • Published 10 years ago

waigo-plugin-sitemap

Licence
MIT
Version
2.0.0
Deps
1
Vulns
1
Weekly
0

waigo-plugin-sitemap

This waigo plugin provides:

  • Cron job to submit sitemap to Google and Bing.

Installation

$ npm install waigo-plugin-sitemap

Usage

The cron job is enabled by default and will run daily.

The sitemap is expected to be found at {app.config.baseURL}/sitemap.xml. You can change this in your config file:

module.exports = function(config) {
  ...

  config.sitemapPath = '/custom_sitemap.xml';  // relative to baseURL

  ...
}

License

MIT - see LICENSE.md