Diff two sitemaps into an IndexNow list
diff_sitemapsParses two sitemap documents (urlset XML, sitemapindex XML, or a newline-delimited URL list) and reports added, removed and lastmod-changed URLs. Returns only the URLs worth submitting to IndexNow. Pass a key to also get the finished, validated POST body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Optional IndexNow key; supplying it returns a ready-to-send payload. | |
| engine | No | Optional target endpoint name. | |
| keyLocation | No | Optional key file URL. | |
| current_sitemap | Yes | The current sitemap document. | |
| include_removed | No | Include removed URLs in the submission list. Default false. | |
| previous_sitemap | Yes | The earlier sitemap document. |