google_sitemap_pages.ts 1 KB
Newer Older
1 2 3 4 5 6
[compatVersion = 9.0.0]
tt_content.google_sitemap =< lib.contentElement
[else]
tt_content.google_sitemap =< lib.fluidContent
[end]

7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
tt_content {
    google_sitemap {
        templateName = GoogleSitemap
        dataProcessing {
            10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
            10 {
                table = pages
                pidInList.field = pages
                recursive.field = recursive
                selectFields = pages.*
                where = NOT hidden AND NOT nav_hide AND doktype NOT IN ({$plugin.tx_justsitemap.doktypesToIgnore})
                where.insertData = 1
                languageField = sys_language_uid
                orderBy = sorting
                as = pages
            }
        }
    }
}

27 28
google_sitemap = PAGE
google_sitemap.typeNum = 711
29 30 31 32 33 34
google_sitemap.10 < styles.content.get
google_sitemap {
    config.absRefPrefix = /
    config.disableAllHeaderCode = 1
    config.doctype = none
    config.additionalHeaders.10.header = Content-type:text/xml
35
}