1.0.0 • Published 8 years ago

sitemap-xml-reader v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

sitemap-xml-reader

A simple reader for node.js parsing sitemap.xml files returning the URLs.

This library makes a http-request to the server and parses the sitemap.xml. It retuns all URLs as an array.

Usage

First install the reader.

npm install --save sitemap-xml-reader

After installing you can require and call it.

var sitemapXmlReader = require( 'sitemap-xml-reader' );
var urls = sitemapXmlReader( 'http://url.to/sitemap.xml' );