Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download simple_sitemap-8.x-2.11.tar.gztar.gz 41 KB
MD5: fe4d7aa95e9ea4f9aaf7c9a7ac8f4b78
SHA-1: cbcde08818dbf9a17f2df91e4c5431f4616d9700
SHA-256: c0fd30c076681da1addd1d18e60cbf78c97d424cfac0fff707b4f9bdd2112222
Download simple_sitemap-8.x-2.11.zipzip 62.57 KB
MD5: db7632c292609aaaca95a7ca8b242558
SHA-1: d4b5f24c90d0636acd2c345eca566891194a7d0a
SHA-256: 4dc73fae12a271d54d9ce018717263af19b4a5a88d0e93159b23a8fb289a329a

Release notes

Bug fixes

#2913848: Image Sitemaps <image:loc> Doesn't Use Default Base URL
#2913507: Undefined index: include_images
#2928126: Skipping links for entities under certain language conditions
#2905113: UI generation out of memory issue on very large sites

New features

#2875286: Exclude translation variants for non-entity pages allows to exclude languages before generating the sitemap.
#2923551: Make generators pluggable through plugins
#2912994: Implement image indexation for custom links
#2912684: Add Drush 9 command support

API changes

In #2923551: Make generators pluggable through plugins the URL generators have been refactored into plugins. It is now possible to create new generators or alter existing ones through the new hook hook_simple_sitemap_url_generators_alter(&$generators). See module documentation and gbyte blog for more details.

Please make sure to use the below simple_sitemap.generator service API instead of accessing the module's configuration storage directly.

API methods

  • getSetting()
  • saveSetting()
  • getSitemap()
  • generateSitemap()
  • getGeneratedAgo()
  • enableEntityType()
  • disableEntityType()
  • setBundleSettings()
  • getBundleSettings()
  • setEntityInstanceSettings()
  • getEntityInstanceSettings()
  • removeEntityInstanceSettings()
  • bundleIsIndexed()
  • entityTypeIsEnabled()
  • addCustomLink()
  • getCustomLinks()
  • getCustomLink()
  • removeCustomLink()
  • removeCustomLinks()

Hooks

  • hook_simple_sitemap_links_alter(&$links)
  • hook_simple_sitemap_arbitrary_links_alter(&$arbitrary_links)
  • hook_simple_sitemap_attributes_alter(&$attributes)
  • hook_simple_sitemap_index_attributes_alter(&$index_attributes)
  • hook_simple_sitemap_url_generators_alter(&$generators) new

Read more about the API in the documentation.

Check out this resource for more details about the module and in-depth tutorials.

Created by: gbyte
Created on: 12 Dec 2017 at 21:40 UTC
Last updated: 8 Apr 2018 at 15:48 UTC
Bug fixes
New features

Other releases