sightmap

Generate and cache sitemaps

npm install sightmap
8 downloads in the last week
44 downloads in the last month

sightmap

Generate and cache sitemaps

build status

example

var sightmap = require('sightmap');

sightmap(['http://sightmap.example.com/1', 'http://sightmap.example.com/2']);

sightmap(function(xml) {
  console.log(xml);
});

define urls as strings or objects

sightmap([
  'http://sightmap.example.com/1',
  'http://sightmap.example.com/2'
]);

sightmap([
  {loc: 'http://sightmap.example.com/1', priority: 0.6},
  {loc: 'http://sightmap.example.com/2', priority: 0.4}
]);

install

With npm do:

npm install sightmap

license

MIT

npm loves you