news sitemap

warning info news-sitemap Business types and page coverage (check --profile)

Google's news sitemap needs one per with (, as a two- or three-letter ISO 639 code, or zh-cn/zh-tw), in W3C format and ; at most 1,000 per file, and only articles created in the last two days (developers.google.com/search/docs/crawling-indexing/sitemaps/news-sitemap). With a business profile, check reads the sitemaps of --sitemap (or sitemap.xml of the build and any *news*.xml next to it) and reports broken rules as a warning per file and articles older than two days as info. A missing news sitemap is info, and only for the media profile when the site has NewsArticle markup or pages below /news/: a blog does not need one.

What indexgap reports

The finding reads:

warning  news-sitemap  the news sitemap … breaks Google's rules: …

How to fix it

Keep a separate news sitemap: one <news:news> in each <url> with <news:publication> (name as in Google News, language as an ISO 639 code), <news:publication_date> in W3C format and <news:title>; articles of the last two days only, at most 1,000 entries per file. Declare it in robots.txt and Search Console.

How it behaves at scale

This is a site-level finding: it belongs to the site, not to any one page, and is reported once however many pages are audited.

Finding it

pipx install indexgap
cd your-project
indexgap init
indexgap check

Then indexgap brief turns every finding on this page into a work order in indexgap-briefs/, with the thresholds the result has to satisfy and the command to check it.

Related checks in business types and page coverage (check --profile)

All checks · Business types and page coverage (check --profile)