[TASK] Limit number of items per XML sitemap 27/58227/16
authorRichard Haeser <richard@maxserv.com>
Sat, 8 Sep 2018 11:45:05 +0000 (13:45 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Wed, 19 Sep 2018 21:43:34 +0000 (23:43 +0200)
commite3bc922e3758df0daef3b33339e712b009f5ebe9
tree4f02e8ad15abd6b60629e96fdfc8f8586a715357
parent7985a69c399065160a206ca146fe1ad26797f82f
[TASK] Limit number of items per XML sitemap

Sitemaps of pages are now by default limited to 1000 pages per sitemap
to avoid exceeding Google limits. It will generate multiple (paginated)
sitemaps if the number of items exceeds the number of items per sitemap.

Resolves: #86169
Releases: master
Change-Id: I006656239aa05632b1f58a2286475fcba0295b9b
Reviewed-on: https://review.typo3.org/58227
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de>
Tested-by: Guido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
14 files changed:
composer.json
composer.lock
typo3/sysext/core/composer.json
typo3/sysext/seo/Classes/XmlSitemap/AbstractXmlSitemapDataProvider.php
typo3/sysext/seo/Classes/XmlSitemap/PagesXmlSitemapDataProvider.php
typo3/sysext/seo/Classes/XmlSitemap/RecordsXmlSitemapDataProvider.php
typo3/sysext/seo/Classes/XmlSitemap/XmlSitemapDataProviderInterface.php
typo3/sysext/seo/Classes/XmlSitemap/XmlSitemapRenderer.php
typo3/sysext/seo/Configuration/TypoScript/XmlSitemap/constants.typoscript
typo3/sysext/seo/Configuration/TypoScript/XmlSitemap/setup.typoscript
typo3/sysext/seo/Resources/Private/Templates/XmlSitemap/Index.xml
typo3/sysext/seo/Resources/Private/Templates/XmlSitemap/Sitemap.xml
typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapIndexTest.php
typo3/sysext/seo/Tests/Unit/XmlSitemap/PagesXmlSitemapDataProviderTest.php