google_news_sitemap
# Google News Sitemap
## INTRODUCTION
Google News Sitemap generates a custom XML sitemap specifically formatted for Google News, allowing your Drupal site's news content to be efficiently indexed by Google News. This module creates a sitemap that follows Google's News sitemap guidelines (https://developers.google.com/search/docs/crawling-indexing/sitemaps/new...) and supports both single-domain and multi-domain architectures.
## REQUIREMENTS
This module requires the following:
* Drupal 9.x, Drupal 10.x and Drupal 11.x
* Node module (Core)
* Domain Access module (Optional, for multi-domain support)
## FEATURES
* Generates a Google News compatible XML sitemap
* Configurable content types for inclusion
* Customizable publication name
* Multi-language support
* Configurable news article age (default 48 hours)
* Built-in caching for improved performance
* Domain Access module integration (optional)
* Accessible at `/news-sitemap.xml`
## INSTALLATION
1. Install the module as you would normally install a contributed Drupal module.
Visit https://www.drupal.org/node/1897420 for further information.
2. Go to "Administration » Configuration » Search and metadata » Google News Sitemap"
(`/admin/config/search/googlenews-sitemap`) to configure the module.
## CONFIGURATION
1. Visit the configuration page at `/admin/config/search/googlenews-sitemap`
2. Configure the following settings:
* Select content types to include in the sitemap
* Set your publication name (defaults to site name if not set)
* Choose publication language
* Set maximum age for news items (in hours)
* Configure cache duration
## DOMAIN ACCESS SUPPORT
When used with the Domain Access module, Google News Sitemap automatically:
* Generates domain-specific sitemaps
* Filters content based on domain access permissions
* Maintains separate caches per domain
* Respects domain-specific content visibility
## MAINTAINERS
Current maintainers:
* Ajay Gadhavana - https://www.drupal.org/u/ajay-gadhavana]
## SUPPORT
For bug reports and feature requests, please use the Drupal.org issue queue:
https://www.drupal.org/project/issues/google_news_sitemap