Replace XML Sitemap with Simple sitemap

This commit is contained in:
Oliver Davies 2020-05-15 00:24:47 +01:00
parent d0f8653028
commit 451d4d24ea
14 changed files with 134 additions and 110 deletions

View file

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

152
composer.lock generated
View file

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

View file

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

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.9'
changefreq: ''
include_images: false

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,6 @@
variants:
default:
label: Default
weight: 0
_core:
default_config_hash: nQAXscP-SDpsmqHlQ6u0iBvcuJPrAikb09c3cP2_n0k

View file

@ -0,0 +1,4 @@
enabled: true
submission_interval: 86400
_core:
default_config_hash: ohAe8voyBTv2oFxGWeZ16kj5QsTnPYFrXwMOVMTKQb4

View file

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

View file

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

View file

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