XML sitemap
<news:news>
The Google News extension: a publication block and a publication date, on URLs from the last two days only.
<news:news> requires two children — <news:publication>, itself carrying a name and a language, and <news:publication_date>. A news sitemap is also unusual in being time-bounded: it should list only articles published in the last 48 hours, and older entries are expected to be removed rather than accumulated.
The date is a W3C Datetime, and unlike an ordinary <lastmod> it is normally the full form with a time and offset, because two articles the same day are not interchangeable.
- Format
- XML sitemap
- Namespace
- Google news sitemap extension
- Parent
- <url>
- How many
- At most one per <url>.
What our validator does
Not inspected. Our checks read the sitemaps.org elements, so a news block missing a required child produces no issue here.
We do not catch this one
There is no <news:publication> and no <news:publication_date>, so Google News has nothing to file the article under. Our sitemap checks do not read the extension, and report nothing for either document.Broken and fixed
Both documents below are well-formed XML — that is the point of this corpus — and both are run through the validator on every test run. The verdicts here are what it returned, not what we expect it to.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>https://example.com/story</loc>
<lastmod>2026-08-10</lastmod>
<news:news>
<news:title>Hen lays egg</news:title>
</news:news>
</url>
</urlset><?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>https://example.com/story</loc>
<lastmod>2026-08-10</lastmod>
<news:news>
<news:publication>
<news:name>Example Times</news:name>
<news:language>en</news:language>
</news:publication>
<news:publication_date>2026-08-10T09:00:00+00:00</news:publication_date>
<news:title>Hen lays egg</news:title>
</news:news>
</url>
</urlset>Where it reaches
- NamespacesGoogle news sitemap extensionThe namespace URI and the children it defines.
- Datatypesxs:dateTimeThe form <news:publication_date> takes, offset included.
Related elements
- <url>One entry in a sitemap: a required <loc> plus the optional metadata a crawler may or may not use.
- <image:image>An image carried by a page, declared inside its <url> — the extension that survived while its siblings were cut back.
- <video:video>A video on a page: thumbnail, title, description and a location, with the strictest required-child list of any sitemap extension.
Get started
Bring order to the XML your team can't afford to ignore.
Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.