diff --git a/composer.json b/composer.json index 159d6d8..f87013e 100644 --- a/composer.json +++ b/composer.json @@ -31,6 +31,7 @@ "drupal/plausible": "^2.1", "drupal/rabbit_hole": "^1.0@beta", "drupal/redirect": "^1.9", + "drupal/simple_sitemap": "^4.1", "drupal/speakerdeck_field": "^2.0", "drupal/video_embed_field": "^2.5", "drush/drush": "^12.5", diff --git a/composer.lock b/composer.lock index b42eb07..68640fa 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": "5c895fe7237c9b57c482ea50847e0bc8", + "content-hash": "967ffb6af74526d8fcf25fc48e0fee46", "packages": [ { "name": "asm89/stack-cors", @@ -2524,6 +2524,63 @@ "source": "https://git.drupalcode.org/project/redirect" } }, + { + "name": "drupal/simple_sitemap", + "version": "4.1.9", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/simple_sitemap.git", + "reference": "4.1.9" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/simple_sitemap-4.1.9.zip", + "reference": "4.1.9", + "shasum": "d86d90408b334cd7470ea631e3be5acca2103377" + }, + "require": { + "drupal/core": "^9.3 || ^10", + "ext-xmlwriter": "*" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "4.1.9", + "datestamp": "1712441608", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + }, + "drush": { + "services": { + "drush.services.yml": ">=9" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Pawel Ginalski (gbyte)", + "homepage": "https://www.drupal.org/u/gbyte", + "email": "contact@gbyte.dev", + "role": "Maintainer" + }, + { + "name": "WalkingDexter", + "homepage": "https://www.drupal.org/user/3251330" + } + ], + "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" + } + }, { "name": "drupal/speakerdeck_field", "version": "2.0.1", diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 6b652ad..0181af7 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -51,6 +51,9 @@ module: rh_node: 0 search: 0 shortcut: 0 + simple_sitemap: 0 + simple_sitemap_engines: 0 + simple_sitemap_views: 0 speakerdeck_field: 0 system: 0 taxonomy: 0 diff --git a/config/sync/simple_sitemap.bundle_settings.default.node.daily_email.yml b/config/sync/simple_sitemap.bundle_settings.default.node.daily_email.yml new file mode 100644 index 0000000..8e55877 --- /dev/null +++ b/config/sync/simple_sitemap.bundle_settings.default.node.daily_email.yml @@ -0,0 +1,4 @@ +index: true +priority: '0.5' +changefreq: '' +include_images: false diff --git a/config/sync/simple_sitemap.bundle_settings.default.node.page.yml b/config/sync/simple_sitemap.bundle_settings.default.node.page.yml new file mode 100644 index 0000000..8e55877 --- /dev/null +++ b/config/sync/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/sync/simple_sitemap.bundle_settings.default.node.podcast_episode.yml b/config/sync/simple_sitemap.bundle_settings.default.node.podcast_episode.yml new file mode 100644 index 0000000..8e55877 --- /dev/null +++ b/config/sync/simple_sitemap.bundle_settings.default.node.podcast_episode.yml @@ -0,0 +1,4 @@ +index: true +priority: '0.5' +changefreq: '' +include_images: false diff --git a/config/sync/simple_sitemap.bundle_settings.default.node.talk.yml b/config/sync/simple_sitemap.bundle_settings.default.node.talk.yml new file mode 100644 index 0000000..8e55877 --- /dev/null +++ b/config/sync/simple_sitemap.bundle_settings.default.node.talk.yml @@ -0,0 +1,4 @@ +index: true +priority: '0.5' +changefreq: '' +include_images: false diff --git a/config/sync/simple_sitemap.custom_links.default.yml b/config/sync/simple_sitemap.custom_links.default.yml new file mode 100644 index 0000000..18a8d45 --- /dev/null +++ b/config/sync/simple_sitemap.custom_links.default.yml @@ -0,0 +1,7 @@ +_core: + default_config_hash: 25hWeYa4sasuJtHqKKcEN_nYiuEC1lMPYHsn5dawJEw +links: + - + path: / + priority: '1.0' + changefreq: daily diff --git a/config/sync/simple_sitemap.settings.yml b/config/sync/simple_sitemap.settings.yml new file mode 100644 index 0000000..5760eb1 --- /dev/null +++ b/config/sync/simple_sitemap.settings.yml @@ -0,0 +1,20 @@ +_core: + default_config_hash: MUpaAk1hn-0Ph4OFw3DD_6gUF9KbGwxja9Y0qmampzo +max_links: 2000 +cron_generate: true +cron_generate_interval: 0 +generate_duration: 10000 +entities_per_queue_item: 50 +remove_duplicates: true +skip_untranslated: true +xsl: true +base_url: '' +default_variant: default +custom_links_include_images: false +disable_language_hreflang: false +hide_branding: false +excluded_languages: { } +enabled_entity_types: + - node + - taxonomy_term + - menu_link_content diff --git a/config/sync/simple_sitemap.sitemap.default.yml b/config/sync/simple_sitemap.sitemap.default.yml new file mode 100644 index 0000000..7693831 --- /dev/null +++ b/config/sync/simple_sitemap.sitemap.default.yml @@ -0,0 +1,13 @@ +uuid: 8ce730da-d777-497e-9203-dce28d97cb5f +langcode: en +status: true +dependencies: + config: + - simple_sitemap.type.default_hreflang +_core: + default_config_hash: zHW-ZT11Lkf2zSRgisGKjgU7TzrNcT8_MwFeuVtl8O8 +id: default +label: Default +description: 'The default hreflang sitemap - lists URLs to be indexed by modern search engines.' +type: default_hreflang +weight: 0 diff --git a/config/sync/simple_sitemap.sitemap.index.yml b/config/sync/simple_sitemap.sitemap.index.yml new file mode 100644 index 0000000..8d8eec2 --- /dev/null +++ b/config/sync/simple_sitemap.sitemap.index.yml @@ -0,0 +1,13 @@ +uuid: 4cb4efbb-aa48-450a-84de-73d50143e257 +langcode: en +status: false +dependencies: + config: + - simple_sitemap.type.index +_core: + default_config_hash: aJs7eKxEbjBloVrp0IuxQbeq25CNH0r9AhSS29kHFMw +id: index +label: 'Sitemap Index' +description: 'The sitemap index listing all other sitemaps - useful if there are at least two other sitemaps. In most cases this sitemap should be last in the generation queue and set as the default sitemap.' +type: index +weight: 1000 diff --git a/config/sync/simple_sitemap.type.default_hreflang.yml b/config/sync/simple_sitemap.type.default_hreflang.yml new file mode 100644 index 0000000..714f15d --- /dev/null +++ b/config/sync/simple_sitemap.type.default_hreflang.yml @@ -0,0 +1,15 @@ +uuid: 71dd8a1c-73ba-4ae9-802b-f9cff6c0cbc0 +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: pYORFuFzL0b2FKevz6fSag1wOUNTthFPPLxZ18JB1t0 +id: default_hreflang +label: 'Default hreflang' +description: 'The default hreflang sitemap type. A sitemap of this type is understood by most modern search engines.' +sitemap_generator: default +url_generators: + - custom + - entity + - entity_menu_link_content + - arbitrary diff --git a/config/sync/simple_sitemap.type.index.yml b/config/sync/simple_sitemap.type.index.yml new file mode 100644 index 0000000..49c22c0 --- /dev/null +++ b/config/sync/simple_sitemap.type.index.yml @@ -0,0 +1,12 @@ +uuid: 7dff9d2c-62a8-4cb4-83da-1ee536a7e7ee +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: pbgJrin6L7zsVEKS8oEDCYJPCzgu765iTGQh2GPX1no +id: index +label: 'Sitemap Index' +description: 'The sitemap index sitemap type. A sitemap of this type lists sitemaps of all other types.' +sitemap_generator: index +url_generators: + - index diff --git a/config/sync/simple_sitemap_engines.bundle_settings.node.daily_email.yml b/config/sync/simple_sitemap_engines.bundle_settings.node.daily_email.yml new file mode 100644 index 0000000..405c243 --- /dev/null +++ b/config/sync/simple_sitemap_engines.bundle_settings.node.daily_email.yml @@ -0,0 +1 @@ +index_now: false diff --git a/config/sync/simple_sitemap_engines.bundle_settings.node.page.yml b/config/sync/simple_sitemap_engines.bundle_settings.node.page.yml new file mode 100644 index 0000000..405c243 --- /dev/null +++ b/config/sync/simple_sitemap_engines.bundle_settings.node.page.yml @@ -0,0 +1 @@ +index_now: false diff --git a/config/sync/simple_sitemap_engines.bundle_settings.node.podcast_episode.yml b/config/sync/simple_sitemap_engines.bundle_settings.node.podcast_episode.yml new file mode 100644 index 0000000..405c243 --- /dev/null +++ b/config/sync/simple_sitemap_engines.bundle_settings.node.podcast_episode.yml @@ -0,0 +1 @@ +index_now: false diff --git a/config/sync/simple_sitemap_engines.bundle_settings.node.talk.yml b/config/sync/simple_sitemap_engines.bundle_settings.node.talk.yml new file mode 100644 index 0000000..405c243 --- /dev/null +++ b/config/sync/simple_sitemap_engines.bundle_settings.node.talk.yml @@ -0,0 +1 @@ +index_now: false diff --git a/config/sync/simple_sitemap_engines.settings.yml b/config/sync/simple_sitemap_engines.settings.yml new file mode 100644 index 0000000..85aebfe --- /dev/null +++ b/config/sync/simple_sitemap_engines.settings.yml @@ -0,0 +1,7 @@ +_core: + default_config_hash: 33gg8hVdxE7nTswwBBOY_d2rH3XjAbBa4rw0XyMRh6Y +enabled: true +submission_interval: 24 +index_now_enabled: true +index_now_preferred_engine: '' +index_now_on_entity_save: false diff --git a/config/sync/simple_sitemap_engines.simple_sitemap_engine.bing.yml b/config/sync/simple_sitemap_engines.simple_sitemap_engine.bing.yml new file mode 100644 index 0000000..f797686 --- /dev/null +++ b/config/sync/simple_sitemap_engines.simple_sitemap_engine.bing.yml @@ -0,0 +1,11 @@ +uuid: f343f3a6-924b-46b3-a16c-33090423f17b +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: uOksGlB4ho0egmcvzWqkR0Gon2HxOILPRhHQYuvcQ_E +id: bing +label: Bing +url: null +index_now_url: 'https://www.bing.com/indexnow?url=[url]&key=[key]' +sitemap_variants: { } diff --git a/config/sync/simple_sitemap_engines.simple_sitemap_engine.index_now.yml b/config/sync/simple_sitemap_engines.simple_sitemap_engine.index_now.yml new file mode 100644 index 0000000..9965836 --- /dev/null +++ b/config/sync/simple_sitemap_engines.simple_sitemap_engine.index_now.yml @@ -0,0 +1,11 @@ +uuid: dde2046b-27bf-4e2d-b0aa-f1a870c49186 +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: CEvRzshIbGfbSDdfC3_RrIcyIACFbQzIqPK0W2l0LpY +id: index_now +label: IndexNow +url: null +index_now_url: 'https://api.indexnow.org/indexnow?url=[url]&key=[key]' +sitemap_variants: { } diff --git a/config/sync/simple_sitemap_engines.simple_sitemap_engine.naver.yml b/config/sync/simple_sitemap_engines.simple_sitemap_engine.naver.yml new file mode 100644 index 0000000..aef4394 --- /dev/null +++ b/config/sync/simple_sitemap_engines.simple_sitemap_engine.naver.yml @@ -0,0 +1,11 @@ +uuid: f85a599d-1b5f-4c59-8675-8750022db62c +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: oCsWl2tvWgytYORap-rUJCMkzKsFtICQt21uOtHGG_I +id: naver +label: Naver +url: null +index_now_url: 'https://searchadvisor.naver.com/indexnow?url=[url]&key=[key]' +sitemap_variants: { } diff --git a/config/sync/simple_sitemap_engines.simple_sitemap_engine.seznam.yml b/config/sync/simple_sitemap_engines.simple_sitemap_engine.seznam.yml new file mode 100644 index 0000000..51b98a4 --- /dev/null +++ b/config/sync/simple_sitemap_engines.simple_sitemap_engine.seznam.yml @@ -0,0 +1,11 @@ +uuid: 71c586fe-f41b-4914-a2bd-ce32b79a13d8 +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: VVUUpnJomJ_zAlrcmzQCTAVLNHiZWbw4-e4rdaLHic4 +id: seznam +label: Seznam +url: null +index_now_url: 'https://search.seznam.cz/indexnow?url=[url]&key=[key]' +sitemap_variants: { } diff --git a/config/sync/simple_sitemap_engines.simple_sitemap_engine.yandex.yml b/config/sync/simple_sitemap_engines.simple_sitemap_engine.yandex.yml new file mode 100644 index 0000000..f489e72 --- /dev/null +++ b/config/sync/simple_sitemap_engines.simple_sitemap_engine.yandex.yml @@ -0,0 +1,11 @@ +uuid: a6e878ce-c69b-43f9-b1da-9a0975aa896b +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: H5rVsTF_mIRdWj_oH26Hcc-U8aT3HU8A_mjbkZ_D27s +id: yandex +label: Yandex +url: null +index_now_url: 'https://yandex.com/indexnow?url=[url]&key=[key]' +sitemap_variants: { } diff --git a/config/sync/simple_sitemap_engines.simple_sitemap_engine.yep.yml b/config/sync/simple_sitemap_engines.simple_sitemap_engine.yep.yml new file mode 100644 index 0000000..78419d7 --- /dev/null +++ b/config/sync/simple_sitemap_engines.simple_sitemap_engine.yep.yml @@ -0,0 +1,11 @@ +uuid: d38c4d74-835d-4730-adc3-34806d088fc9 +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: GtuDCiCWdrpa9bravGtmwQGVNTGToZx3RDZ5_IzS2Kk +id: yep +label: Yep +url: null +index_now_url: 'https://indexnow.yep.com/indexnow?url=[url]&key=[key]' +sitemap_variants: { } diff --git a/config/sync/views.settings.yml b/config/sync/views.settings.yml index 84da5c7..67736dd 100644 --- a/config/sync/views.settings.yml +++ b/config/sync/views.settings.yml @@ -1,6 +1,7 @@ _core: default_config_hash: 8oDr9oPVb_ostrNnVV6V7VdphwoH_u-NqTS0u7SE7qc -display_extenders: { } +display_extenders: + simple_sitemap_display_extender: simple_sitemap_display_extender sql_signature: false ui: show: