sightmap
v0.0.1
Published
Generate and cache sitemaps
Downloads
7
Readme
sightmap
Generate and cache sitemaps
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