benbalter / sitemap-parser

Ruby Gem to parse sitemaps.org compliant sitemaps
MIT License
29 stars 46 forks source link

Support reading a local sitemap.xml #5

Closed gjtorikian closed 10 years ago

gjtorikian commented 10 years ago

Sometimes you're doing some testing of stuff and you need to read the sitemap.xml file locally. This supports that.

I realize the @url name is now a misnomer--I can change that to path (or something) if it 's preferred.

benbalter commented 10 years ago

Makes sense. Thanks for the pull request! :tada: