Feature #86826

Allow to set a recursive level to SEO sitemap for records

Added by Sebastian Klein about 1 year ago. Updated 7 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
SEO
Target version:
-
Start date:
2018-11-01
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

I write news records which can contain some or even many content elements. For this reason, some of the news records are stored in subfolders.

- news main folder
  - subfolder for news record A
  - subfolder for news record B

If I'm not mistaken, the current solution of the RecordsXmlSitemapDataProvider does not allow to set a recursive level for pid, in which records are considered. Nor does it automatically respect subdirectories by default.

news {
    provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider
    config {
        table = tx_news_domain_model_news
        sortField = sorting
        lastModifiedField = tstamp
        pid = 27
        url {
            pageId = 9
            fieldToParameterMap {
                uid = tx_news_pi1[news]
            }

            additionalGetParameters {
                tx_news_pi1.controller = News
                tx_news_pi1.action = detail
            }

            useCacheHash = 1
        }
    }
}

Adding a recursive option would be a nice enhancement.

Associated revisions

Revision 1b95f08a (diff)
Added by Georg Ringer about 1 year ago

[FEATURE] Support recursive in record sitemap

A recursive configuration makes it a lot easier to provide
a sitemap for all records without touching the configuration
if a new sysfolder is created.

Resolves: #86826
Releases: master
Change-Id: I77d49a8fd45eeb8e5bf32575d6c986f66e9c9c55
Reviewed-on: https://review.typo3.org/58822
Reviewed-by: Richard Haeser <>
Tested-by: Richard Haeser <>
Tested-by: TYPO3com <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

Revision 271ef66b (diff)
Added by Jonas Eberle about 1 year ago

[TASK] Explain "recursive" in record sitemap

Follow-up commit to provide explanation for parameter `recursive` in:
A recursive configuration makes it a lot easier to provide
a sitemap for all records without touching the configuration
if a new sysfolder is created.

Resolves: #86826
Releases: master
Change-Id: I8c51d6ca066ecae684e4ab5a655c71e2dbe4fc24
Reviewed-on: https://review.typo3.org/58903
Tested-by: TYPO3com <>
Reviewed-by: Jonas Eberle <>
Reviewed-by: Daniel Goerz <>
Tested-by: Daniel Goerz <>
Reviewed-by: Mathias Brodala <>
Tested-by: Mathias Brodala <>

History

#1 Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58822

#2 Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58822

#3 Updated by Gerrit Code Review about 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58822

#4 Updated by Gerrit Code Review about 1 year ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58822

#5 Updated by Gerrit Code Review about 1 year ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58822

#6 Updated by Gerrit Code Review about 1 year ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58822

#7 Updated by Gerrit Code Review about 1 year ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58822

#8 Updated by Georg Ringer about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#9 Updated by Gerrit Code Review about 1 year ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58903

#10 Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58903

#11 Updated by Anonymous about 1 year ago

  • Status changed from Under Review to Resolved

#12 Updated by Benni Mack 7 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF