views_simple_sitemap_export
41 sites
No security coverage
Generate or extend XML sitemaps using the power of Views.
Provides a Views Display (Simple XML Sitemap Export), which can be configured to export results into XML sitemaps managed by Simple XML Sitemap.
Usage
- Configure Simple XML Sitemap, create/edit a Sitemap Type to include the View results URL generator, then make sure to have at least one Sitemap that uses that Sitemap Type.
- Create or edit a View, add a Simple XML Sitemap Export display.
- Configure the settings for Format Simple XML Sitemap Export, enable exporting to at least one Sitemap, set the desired priority, change frequency and contextual filters to select the items in this export.
- Configure the Views display as wanted via filters, sorting.
- Save the View.
- (Re-)Generate the Sitemap using the admin UI or using the Drush command.
Known Limitations
- At this time, only Views for Content or Taxonomy term entities are allowed to use the Simple XML Sitemap Export display.
- Relationships are not supported as source of the entity id to export; they can be used as filters, though (e.g. only 'author' nodes referencing at least one article). Be warned that relationships may easily cause duplicated results in the View.
Scalability Concerns
- Views producing a large result set may cause the preview to hang/crash. This is a problem in Views; a fix is currently being worked at #3008369: Limit live preview queries so that errors/or no pager doesn't crash it. Sitemap generation should work fine, though.