0.0.1 • Published 11 years ago

sightmap v0.0.1

Weekly downloads
15
License
-
Repository
-
Last release
11 years ago

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