Add the Simple XML Sitemap module

https://www.drupal.org/project/simple_sitemap
This commit is contained in:
Oliver Davies 2024-06-04 00:09:18 +01:00
parent 3b3d53913a
commit 13071b2ae6
25 changed files with 237 additions and 2 deletions

View file

@ -31,6 +31,7 @@
"drupal/plausible": "^2.1", "drupal/plausible": "^2.1",
"drupal/rabbit_hole": "^1.0@beta", "drupal/rabbit_hole": "^1.0@beta",
"drupal/redirect": "^1.9", "drupal/redirect": "^1.9",
"drupal/simple_sitemap": "^4.1",
"drupal/speakerdeck_field": "^2.0", "drupal/speakerdeck_field": "^2.0",
"drupal/video_embed_field": "^2.5", "drupal/video_embed_field": "^2.5",
"drush/drush": "^12.5", "drush/drush": "^12.5",

59
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "5c895fe7237c9b57c482ea50847e0bc8", "content-hash": "967ffb6af74526d8fcf25fc48e0fee46",
"packages": [ "packages": [
{ {
"name": "asm89/stack-cors", "name": "asm89/stack-cors",
@ -2524,6 +2524,63 @@
"source": "https://git.drupalcode.org/project/redirect" "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", "name": "drupal/speakerdeck_field",
"version": "2.0.1", "version": "2.0.1",

View file

@ -51,6 +51,9 @@ module:
rh_node: 0 rh_node: 0
search: 0 search: 0
shortcut: 0 shortcut: 0
simple_sitemap: 0
simple_sitemap_engines: 0
simple_sitemap_views: 0
speakerdeck_field: 0 speakerdeck_field: 0
system: 0 system: 0
taxonomy: 0 taxonomy: 0

View file

@ -0,0 +1,4 @@
index: true
priority: '0.5'
changefreq: ''
include_images: false

View file

@ -0,0 +1,4 @@
index: true
priority: '0.5'
changefreq: ''
include_images: false

View file

@ -0,0 +1,4 @@
index: true
priority: '0.5'
changefreq: ''
include_images: false

View file

@ -0,0 +1,4 @@
index: true
priority: '0.5'
changefreq: ''
include_images: false

View file

@ -0,0 +1,7 @@
_core:
default_config_hash: 25hWeYa4sasuJtHqKKcEN_nYiuEC1lMPYHsn5dawJEw
links:
-
path: /
priority: '1.0'
changefreq: daily

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -0,0 +1 @@
index_now: false

View file

@ -0,0 +1 @@
index_now: false

View file

@ -0,0 +1 @@
index_now: false

View file

@ -0,0 +1 @@
index_now: false

View file

@ -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

View file

@ -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: { }

View file

@ -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: { }

View file

@ -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: { }

View file

@ -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: { }

View file

@ -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: { }

View file

@ -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: { }

View file

@ -1,6 +1,7 @@
_core: _core:
default_config_hash: 8oDr9oPVb_ostrNnVV6V7VdphwoH_u-NqTS0u7SE7qc default_config_hash: 8oDr9oPVb_ostrNnVV6V7VdphwoH_u-NqTS0u7SE7qc
display_extenders: { } display_extenders:
simple_sitemap_display_extender: simple_sitemap_display_extender
sql_signature: false sql_signature: false
ui: ui:
show: show: