Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursive index #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

therealpecus
Copy link

This PR references issue #1 and provides a recursive mechanisms, promise based, to get sitemaps from a sitemap index.
It accepts a sitemap index as URL or file, along the original sitemap extraction.

We definitively have different coding styles: yours is incredibly terse, while I indulge in constructs that the linter flags (such as return newly constructed objects, multiple returns per function, void returns used to apply a function to an array, etc.). Let me know if it needs to be revised (so far I tried to keep at least the formal style compliant).

@Kikobeats
Copy link

Thanks for the idea @therealpecus, I created my approach on xml-urls 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants