google news phase 1

- Homepage / Industry News query filters wp_imported_posts to
  ai_rewritten_at IS NOT NULL so raw press releases never surface on
  the editorial feed (NewsArticle JSON-LD was already in place).
- New /news-sitemap.xml route emits a Google News sitemap covering
  rewritten editorial published in the last 48 hours, with
  news:publication + news:publication_date + news:title + keywords.
- robots.ts now points crawlers at both sitemap.xml and
  news-sitemap.xml.

After deploy, submit broadcastbeat.com to Google News Publisher Center
to start serving in News.
This commit is contained in:
Ryan Salazar
2026-05-25 17:03:19 +00:00
parent 09fada759e
commit 107840c5f3
3 changed files with 97 additions and 1 deletions

View File

@@ -16,7 +16,10 @@ export default function robots(): MetadataRoute.Robots {
disallow: ['/api/', '/admin/', '/private/', '/dashboard/'],
},
],
sitemap: `${baseUrl}/sitemap.xml`,
sitemap: [
`${baseUrl}/sitemap.xml`,
`${baseUrl}/news-sitemap.xml`,
],
host: baseUrl,
};
}