simple_sitemap_diwoo
Adds a DiWoo-compliant XML sitemap for media files with metadata, extending Simple Sitemap. Ideal for organizations that need to comply with Dutch DiWoo standards.
Features
This module extends the Simple Sitemap module with support for the Dutch government's DiWoo standard. It generates a dedicated XML sitemap that includes media file URLs enriched with metadata based on the
DiWoo XSD definitions.
- Generates a DiWoo-compliant XML sitemap specifically for media files.
- Introduces a custom field type to manage DiWoo metadata.
- Fully integrates with the Simple Sitemap configuration UI.
- Supports token replacement and default metadata values.
Use cases:
Government and public sector websites that need to expose their media assets in a machine-readable, DiWoo-compliant format.
Post-Installation
- Add the
diwoo_metafield to the relevant media entity types. - Configure the appropriate file reference field in the module settings.
- Navigate to
/admin/config/search/simplesitemap/typesand create a new sitemap type:- Sitemap Generator: DiWoo Sitemap Generator
- URL Generator: DiWoo Media URL Generator
- Create a sitemap variant linked to the new sitemap type.
- Optionally configure default values and token behavior via
/admin/config/search/simplesitemap/diwoo-settings.
Additional Requirements
- Simple Sitemap (required)
Recommended modules/libraries
- Token – for dynamic metadata values
- Media module – if not already enabled
Similar projects
Most sitemap modules focus on listing content URLs. This module is unique in its specific support for DiWoo metadata and media file indexing — meeting a strict standard for structured government data in the Netherlands.
Supporting this Module
If you find this module useful, please consider submitting feedback or contributing code through the issue queue. All contributions are welcome!
Community Documentation
The main source of documentation is the module’s README.md file. Contributions like video walkthroughs or external guides are welcome via the issue queue!