libwget-parse_sitemap(3)

✨ NAME ✨

libwget-parse_sitemap β€” sitemap URL extraction routines, bestie πŸ’–

So basically this is a page out of the Library Functions Manual, and it's the whole tea on how libwget pulls URLs out of sitemap XML. Obsessed already.


🌸 SYNOPSIS 🌸

πŸŽ€ Data Structures

  • struct sitemap_context

πŸ¦‹ Functions

void wget_sitemap_get_urls_inline (const char *sitemap, wget_vector **urls,
    wget_vector **sitemap_urls)

πŸ’œ Detailed Description πŸ’œ

Routines for URL extraction from Sitemap XML data. That's it, that's the whole vibe. It gets URLs out of your sitemap XML. Periodt. πŸ‘‘


πŸ’… Function Documentation πŸ’…

🌈 void wget_sitemap_get_urls_inline (const char * sitemap, wget_vector ** urls, wget_vector ** sitemap_urls)

πŸ“ Parameters

  • sitemap β€” the Sitemap XML data, like, the actual raw stuff you're feeding in
  • urls β€” a pointer to the return vector of URLs (this is where the URLs go 🫢)
  • sitemap_urls β€” a pointer to the return vector of sitemap URLs

✨ What it actually does

Finds all the URLs and sitemap URLs chillin' inside the Sitemap XML data in sitemap, and hands them back to you as a vector in urls and/or sitemap_urls. Note the "and/or" β€” so it can fill in either one, no cap. 😌


🧚 Author 🧚

Generated automatically by Doxygen for wget2 from the source code. Not a human, not a vibe curator, just Doxygen doing its little thing πŸ’€


okay that's the whole page, ily, go extract some URLs πŸ’– this was wget2, Version 2.3.0, and you were reading libwget-parse_sitemap(3). slay, bye bestie! πŸŽ€βœ¨πŸ‘‘

πŸ“¦ where this page comes from