Comments (1)
Hey @AlJohri, apologies it has taken a while, been super busy with my startup the last few weeks.
But I am pretty sure I have implemented both your suggestions..
The URL callback now also supplies a second argument, the url of the sitemap we are currently parsing.
And the parseSitemaps
method takes a 4th argument, a function that takes the url of the found sitemap. It will be added to the list to parse if the function returns true
.
They are published to npm under version 1.5.1
Let me know if they work!
As I am really busy, could I ask you to add an example to the README with these 2 features?
from node-sitemap-stream-parser.
Related Issues (12)
- Parser does not finish for booking.com HOT 6
- [IMP]: Respectation of robots.txt HOT 1
- promise? HOT 8
- Error: Callback was already called HOT 6
- Enable strict mode for the SAX parser
- Urls in <![CDATA[...]] not handled
- A sample output HOT 1
- Are images and video sitemaps supported?
- create new release HOT 4
- this rocks! HOT 1
- High CPU usage with nested sitemaps HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-sitemap-stream-parser.