[FEATURE] Support recursive in record sitemap
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 9.5.x / Feature-86826-RecursiveRecordSitemap.rst
1 .. include:: ../../Includes.txt
2
3 ==========================================
4 Feature: #86826 - Recursive record sitemap
5 ==========================================
6
7 See :issue:`86826`
8
9 Description
10 ===========
11
12 The :php:`RecordsXmlSitemapDataProvider` supports now the configuration `recursive` to include
13 records not only from provided list of page ids but also its subpages.
14
15
16 Impact
17 ======
18
19 A full example looks is:
20
21 .. code-block:: typoscript
22
23 config {
24 xmlSitemap {
25 news {
26 provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider
27 config {
28 table = tx_news_domain_model_news
29 sortField = sorting
30 lastModifiedField = tstamp
31 pid = 26
32 recursive = 2
33 url {
34 pageId = 25
35 fieldToParameterMap {
36 uid = tx_news_pi1[news]
37 }
38
39 additionalGetParameters {
40 tx_news_pi1.controller = News
41 tx_news_pi1.action = detail
42 }
43
44 useCacheHash = 1
45 }
46 }
47 }
48 }
49 }
50 }
51
52 .. index:: Frontend, ext:seo, NotScanned