elementor / WordPressURLDetector

A library to get all public URLs from a WordPress application.
The Unlicense
7 stars 3 forks source link

🤯 We are reinventing the wheel: WP sitemaps #7

Open szepeviktor opened 3 years ago

szepeviktor commented 3 years ago

It seems like we write code that has already been written 😢 https://github.com/WordPress/wordpress-develop/tree/master/src/wp-includes/sitemaps

Should we use/extend WordPress sitemaps classes? What do you think?

szepeviktor commented 3 years ago

It is very easy to parse sitemaps and retrieve URL-s from them.

leonstafford commented 3 years ago

Definitely! Have rm’d current implementation already, as felt too complex. @john-shaffer has nicer code in leonstafford/wp2static-addon-advanced-crawling and I’ll checkout this WP stuff, thanks!