wget2: Sitemap URL extraction routines

| wget2 2.2.1

Loading...
Searching...
No Matches
Sitemap URL extraction routines

## 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.

## Function Documentation

## ◆ wget_sitemap_get_urls_inline()

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

Parameters

  [in] | sitemap | Sitemap XML data
  [in,out] | urls | Pointer to return vector of URLs
  [in,out] | sitemap_urls | Pointer 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`.