Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Ruby Gem to parse sitemaps.org compliant sitemaps

License

Notifications You must be signed in to change notification settings

summit-partners/sitemap-parser

 
 

Repository files navigation

Sitemap Parser

Ruby Gem to parse sitemaps.org compliant sitemaps

Build Status Gem Version

Usage

sitemap = SitemapParser.new "http://ben.balter.com/sitemap.xml"
sitemap.urls # => Array of Nokigiri XML::Node objects
sitemap.to_a # => Array of url strings

Options

Recurse nested sitemaps

sitemap = SitemapParser.new('http://ben.balter.com/sitemap.xml', {recurse: true})

Roadmap

  • sitemap_index support

About

Ruby Gem to parse sitemaps.org compliant sitemaps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 86.5%
  • Shell 13.5%