wget2  2.0.0
Sitemap URL extraction routines

Data Structures

struct  sitemap_context


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.

Function Documentation

◆ wget_sitemap_get_urls_inline()

void wget_sitemap_get_urls_inline ( const char *  sitemap,
wget_vector **  urls,
wget_vector **  sitemap_urls 
[in]sitemapSitemap XML data
[in,out]urlsPointer to return vector of URLs
[in,out]sitemap_urlsPointer to return vector of sitemap URLs

Finds all URLs and sitemap URLs within the Sitemap XML data sitemap and returns them as vector in urls and/or sitemap_urls.