Skip to contents

Reading

Read a sitemap source into a tidy tibble of URLs.

read_sitemap() read_sitemaps()
Read a sitemap into a tidy tibble of URLs

Discovery

Discover and expand a site’s sitemaps as a tree.

sitemap_tree()
Discover a site's sitemaps as a tree
sitemap_tree_from_bytes()
Discover a site's sitemaps from already-fetched bytes
probe_url()
Probe a URL to inspect what it is, without resolving it

Validation

Validate a sitemap against the schema, protocol, and classification rules, returning stable, reproducible findings.

validate_sitemap() validate_sitemaps()
Validate a sitemap source against the schema, protocol, and classification rules
validate_sitemap_ruleset() validate_sitemaps_ruleset()
Validate a sitemap under an engine-aware ruleset (ADR-009)
validate_sitemap_robots() validate_sitemaps_robots()
Validate a sitemap under an explicit robots context (sitemap-spec §13.0)

Rulesets

Engine-aware validation: the supported rulesets, their published revisions and the findings contract that pins them, and the per-source context (including submission presets) that drives engine-specific interpretation.

sitemap_rulesets()
Supported sitemap_ruleset values
ruleset_revision()
Published revision of a sitemap_ruleset
sitemap_contract()
Published cross-port contract of this sitemapr build
ruleset_context()
Construct a per-source validation context (ADR-009 §1, §12.1)
ruleset_context_for_child()
Per-source context for a sitemap-index child (ADR-009 §1, §12.1 invariant)
gsc_submission()
Search Console submission context preset (ADR-009 spec 12.1)
robots_cross_submission()
Cross-host robots.txt submission context preset (ADR-009 spec 12.1)
robots_context()
Construct a robots evaluation context (ADR-009 §1, sitemap-spec §13.0)
robots_context_preset()
Per-engine robots context preset (sitemap-spec §13.0)
robots_context_presets()
Supported robots_context_preset() names

Auditing

Audit a sitemap in a single pass, compare audits over time, and access the components of a result.

audit_sitemap()
Audit a sitemap in a single pass
sitemap_audit()
Assemble a sitemap audit result container
compare_sitemap_audits() print(<sitemap_audit_diff>) summary(<sitemap_audit_diff>)
Compare two sitemap audits
audit_unchanged()
Did a sitemap-audit comparison find any change?
audit_urls() audit_findings() audit_sources() audit_problems() audit_tree()
Access the components of a sitemap audit
sources() problems()
Access the sources and problems companions of a sitemap result

Limits

Default bounds for discovery, sitemapindex expansion, and bounded HTTP fetches.

discovery_limits()
Default limits for discovery
index_limits()
Default limits for sitemapindex expansion
fetch_limits()
Default limits for a bounded HTTP fetch

Reporting

Render a self-contained HTML report for a sitemap.

report_sitemap()
Render a self-contained HTML report for a sitemap

Request customization

Configure the HTTP requests sitemapr issues — custom headers, authentication, a proxy, TLS options, retry/backoff, per-host throttling, and opt-in bounded-concurrency expansion — via a request-policy passed to any reading, validation, or discovery entry point.

request_policy()
Construct a request-policy for the fetch boundary
request_auth_basic()
Basic-authentication credentials for a request-policy
request_auth_bearer()
Bearer-token authentication for a request-policy
request_proxy()
Proxy settings for a request-policy
request_retry()
Retry-and-backoff settings for a request-policy
request_throttle()
Host-aware request-throttle settings for a request-policy