lgraubner / sitemap-generator

Easily create XML sitemaps for your website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose addURL interface

chrismatix opened this issue · comments

Do you want to request a feature or report a bug?
feature
What is the current behavior?
URLs can only be added to crawler queue, not the sitemap stream directly
If the current behavior is a bug, please provide the steps to reproduce.
N/A
What is the expected behavior?
I have thousands of pages that I create straight from the database. I do not need them to be crawled, which takes hours using this package. I guess the easiest way to fix this, would be to just expose the addURL function on the sitemap.

I cloned this repo and fixed it locally. If you make me a contributor I can quickly submit a PR.

@xChrisPx There is a PR here: #61

Solved with #61