diff --git a/composer.json b/composer.json index 3423402..9e6ff2a 100644 --- a/composer.json +++ b/composer.json @@ -31,8 +31,8 @@ "drupal/paragraphs": "^1.10", "drupal/pathauto": "^1.8", "drupal/redirect": "^1.5", + "drupal/simple_sitemap": "^3.6", "drupal/speakerdeck_field": "^1.0", - "drupal/xmlsitemap": "^1.0", "drush/drush": "^9", "illuminate/support": "^7.10", "nesbot/carbon": "^2.33" diff --git a/composer.lock b/composer.lock index b4b3b81..c7eebc9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ec288dcb5d8513cc56340f0cf625da7c", + "content-hash": "27e4efcc0f378a1f13442fbf94b0700c", "packages": [ { "name": "asm89/stack-cors", @@ -3007,6 +3007,64 @@ "source": "https://git.drupalcode.org/project/redirect" } }, + { + "name": "drupal/simple_sitemap", + "version": "3.6.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/simple_sitemap.git", + "reference": "8.x-3.6" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/simple_sitemap-8.x-3.6.zip", + "reference": "8.x-3.6", + "shasum": "37fc0ae98a4ccb23316cb089ae4839913e80cbf6" + }, + "require": { + "drupal/core": "^8 || ^9", + "ext-xmlwriter": "*" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-3.6", + "datestamp": "1586469908", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + }, + "drush": { + "services": { + "drush.services.yml": "^9 || ^10" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "Pawel Ginalski (gbyte.co)", + "homepage": "https://www.drupal.org/u/gbyte.co", + "email": "contact@gbyte.co", + "role": "Maintainer" + }, + { + "name": "gbyte.co", + "homepage": "https://www.drupal.org/user/2381352" + } + ], + "description": "Creates a standard conform hreflang XML sitemap of the site content and provides a framework for developing other sitemap types.", + "homepage": "https://drupal.org/project/simple_sitemap", + "support": { + "source": "https://cgit.drupalcode.org/simple_sitemap", + "issues": "https://drupal.org/project/issues/simple_sitemap", + "irc": "irc://irc.freenode.org/drupal-contribute" + } + }, { "name": "drupal/speakerdeck_field", "version": "1.0.0-rc1", @@ -3123,98 +3181,6 @@ "source": "https://git.drupalcode.org/project/token" } }, - { - "name": "drupal/xmlsitemap", - "version": "1.0.0-rc1", - "source": { - "type": "git", - "url": "https://git.drupalcode.org/project/xmlsitemap.git", - "reference": "8.x-1.0-rc1" - }, - "dist": { - "type": "zip", - "url": "https://ftp.drupal.org/files/projects/xmlsitemap-8.x-1.0-rc1.zip", - "reference": "8.x-1.0-rc1", - "shasum": "9b88caa55f9a45b8c89a1284d2db739fbf0c830f" - }, - "require": { - "drupal/core": "^8 || ^9", - "ext-xmlwriter": "*" - }, - "require-dev": { - "drupal/robotstxt": "^1.0" - }, - "suggest": { - "drush/drush": "Command-line regenerating and rebuilding sitemaps." - }, - "type": "drupal-module", - "extra": { - "branch-alias": { - "dev-1.x": "1.x-dev" - }, - "drupal": { - "version": "8.x-1.0-rc1", - "datestamp": "1576705928", - "security-coverage": { - "status": "not-covered", - "message": "RC releases are not covered by Drupal security advisories." - } - }, - "drush": { - "services": { - "drush.services.yml": "^9 || ^10" - } - } - }, - "notification-url": "https://packages.drupal.org/8/downloads", - "license": [ - "GPL-2.0-or-later" - ], - "authors": [ - { - "name": "Dave Reid", - "homepage": "https://www.drupal.org/user/53892" - }, - { - "name": "RenatoG", - "homepage": "https://www.drupal.org/user/3326031" - }, - { - "name": "amateescu", - "homepage": "https://www.drupal.org/user/729614" - }, - { - "name": "andrei.dincu", - "homepage": "https://www.drupal.org/user/2628879" - }, - { - "name": "juampynr", - "homepage": "https://www.drupal.org/user/682736" - }, - { - "name": "paulmckibben", - "homepage": "https://www.drupal.org/user/279003" - }, - { - "name": "pifagor", - "homepage": "https://www.drupal.org/user/2375692" - }, - { - "name": "tadityar", - "homepage": "https://www.drupal.org/user/3094465" - }, - { - "name": "th_tushar", - "homepage": "https://www.drupal.org/user/1835276" - } - ], - "description": "Creates XML sitemaps for the site", - "homepage": "https://www.drupal.org/project/xmlsitemap", - "support": { - "source": "http://cgit.drupalcode.org/xmlsitemap", - "issues": "http://drupal.org/project/issues/xmlsitemap" - } - }, { "name": "drush/drush", "version": "9.7.2", diff --git a/config/default/core.extension.yml b/config/default/core.extension.yml index cfef0ec..48304d9 100644 --- a/config/default/core.extension.yml +++ b/config/default/core.extension.yml @@ -36,6 +36,8 @@ module: path: 0 path_alias: 0 redirect: 0 + simple_sitemap: 0 + simple_sitemap_engines: 0 speakerdeck_field: 0 system: 0 taxonomy: 0 @@ -47,7 +49,6 @@ module: views_ui: 0 menu_link_content: 1 pathauto: 1 - xmlsitemap: 1 views: 10 paragraphs: 11 minimal: 1000 diff --git a/config/default/simple_sitemap.bundle_settings.default.node.page.yml b/config/default/simple_sitemap.bundle_settings.default.node.page.yml new file mode 100644 index 0000000..8e55877 --- /dev/null +++ b/config/default/simple_sitemap.bundle_settings.default.node.page.yml @@ -0,0 +1,4 @@ +index: true +priority: '0.5' +changefreq: '' +include_images: false diff --git a/config/default/simple_sitemap.bundle_settings.default.node.post.yml b/config/default/simple_sitemap.bundle_settings.default.node.post.yml new file mode 100644 index 0000000..9f1024a --- /dev/null +++ b/config/default/simple_sitemap.bundle_settings.default.node.post.yml @@ -0,0 +1,4 @@ +index: true +priority: '0.9' +changefreq: '' +include_images: false diff --git a/config/default/simple_sitemap.bundle_settings.default.node.talk.yml b/config/default/simple_sitemap.bundle_settings.default.node.talk.yml new file mode 100644 index 0000000..d483023 --- /dev/null +++ b/config/default/simple_sitemap.bundle_settings.default.node.talk.yml @@ -0,0 +1,4 @@ +index: true +priority: '0.7' +changefreq: monthly +include_images: false diff --git a/config/default/simple_sitemap.bundle_settings.default.taxonomy_term.tags.yml b/config/default/simple_sitemap.bundle_settings.default.taxonomy_term.tags.yml new file mode 100644 index 0000000..8e55877 --- /dev/null +++ b/config/default/simple_sitemap.bundle_settings.default.taxonomy_term.tags.yml @@ -0,0 +1,4 @@ +index: true +priority: '0.5' +changefreq: '' +include_images: false diff --git a/config/default/simple_sitemap.custom_links.default.yml b/config/default/simple_sitemap.custom_links.default.yml new file mode 100644 index 0000000..1df507f --- /dev/null +++ b/config/default/simple_sitemap.custom_links.default.yml @@ -0,0 +1,7 @@ +links: + - + path: / + priority: '1.0' + changefreq: daily +_core: + default_config_hash: 25hWeYa4sasuJtHqKKcEN_nYiuEC1lMPYHsn5dawJEw diff --git a/config/default/simple_sitemap.settings.yml b/config/default/simple_sitemap.settings.yml new file mode 100644 index 0000000..10cabec --- /dev/null +++ b/config/default/simple_sitemap.settings.yml @@ -0,0 +1,17 @@ +max_links: 2000 +cron_generate: true +cron_generate_interval: 0 +generate_duration: 10000 +remove_duplicates: true +skip_untranslated: true +xsl: true +base_url: '' +default_variant: default +custom_links_include_images: false +excluded_languages: { } +enabled_entity_types: + - node + - taxonomy_term + - menu_link_content +_core: + default_config_hash: LWI5gcV7qtIl5h1xg7AWMtepAzBAvTaw_TOmsQbw9Tk diff --git a/config/default/simple_sitemap.variants.default_hreflang.yml b/config/default/simple_sitemap.variants.default_hreflang.yml new file mode 100644 index 0000000..edb2d0e --- /dev/null +++ b/config/default/simple_sitemap.variants.default_hreflang.yml @@ -0,0 +1,6 @@ +variants: + default: + label: Default + weight: 0 +_core: + default_config_hash: nQAXscP-SDpsmqHlQ6u0iBvcuJPrAikb09c3cP2_n0k diff --git a/config/default/simple_sitemap_engines.settings.yml b/config/default/simple_sitemap_engines.settings.yml new file mode 100644 index 0000000..09a9b75 --- /dev/null +++ b/config/default/simple_sitemap_engines.settings.yml @@ -0,0 +1,4 @@ +enabled: true +submission_interval: 86400 +_core: + default_config_hash: ohAe8voyBTv2oFxGWeZ16kj5QsTnPYFrXwMOVMTKQb4 diff --git a/config/default/simple_sitemap_engines.simple_sitemap_engine.bing.yml b/config/default/simple_sitemap_engines.simple_sitemap_engine.bing.yml new file mode 100644 index 0000000..d312d5a --- /dev/null +++ b/config/default/simple_sitemap_engines.simple_sitemap_engine.bing.yml @@ -0,0 +1,11 @@ +uuid: 94048030-5569-4d7d-b4de-5c70741a1703 +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: pu2tnTIZRlkkRZxbhVQU0L3FYniVvYFXIe6iCH9kXHo +id: bing +label: Bing +url: 'https://www.bing.com/ping?sitemap=[sitemap]' +sitemap_variants: { } +last_submitted: null diff --git a/config/default/simple_sitemap_engines.simple_sitemap_engine.google.yml b/config/default/simple_sitemap_engines.simple_sitemap_engine.google.yml new file mode 100644 index 0000000..246a581 --- /dev/null +++ b/config/default/simple_sitemap_engines.simple_sitemap_engine.google.yml @@ -0,0 +1,11 @@ +uuid: 79407fa0-9244-4a46-b729-01e6702ceb9e +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: PS-z03VbhvMPW8pe7N_Pya5JDfVm1mL_F07cJ_srmYE +id: google +label: Google +url: 'https://www.google.com/ping?sitemap=[sitemap]' +sitemap_variants: { } +last_submitted: null diff --git a/config/default/xmlsitemap.settings.yml b/config/default/xmlsitemap.settings.yml deleted file mode 100644 index 6eb7850..0000000 --- a/config/default/xmlsitemap.settings.yml +++ /dev/null @@ -1,15 +0,0 @@ -minimum_lifetime: 0 -xsl: 1 -prefetch_aliases: 1 -chunk_size: auto -batch_limit: 100 -path: xmlsitemap -frontpage_priority: !!float 1 -frontpage_changefreq: 86400 -lastmod_format: 'Y-m-d\TH:i\Z' -gz: false -clean_url: 0 -disable_cron_regeneration: false -i18n_selection_mode: simple -_core: - default_config_hash: yDGr_IxRmvItJEr5-iuJQJdtcshhRXqlg--ljsFmQrA