2019-11-15 18:28:10 +01:00
|
|
|
plugin.tx_seo {
|
|
|
|
view {
|
|
|
|
templateRootPaths {
|
|
|
|
20 = EXT:ds_site/Resources/Private/Templates/Sitemaps/
|
|
|
|
}
|
|
|
|
}
|
|
|
|
config {
|
|
|
|
xmlSitemap {
|
|
|
|
sitemaps {
|
2021-02-12 11:42:35 +01:00
|
|
|
blog-posts {
|
|
|
|
provider = DanielSiepmann\DsSite\Frontend\RssFeed\SitemapDataProvider
|
2019-11-15 18:28:10 +01:00
|
|
|
config {
|
|
|
|
table = pages
|
2020-03-20 21:39:22 +01:00
|
|
|
sortField = lastUpdated
|
2019-11-15 18:28:10 +01:00
|
|
|
lastModifiedField = tstamp
|
2020-08-19 23:06:24 +02:00
|
|
|
additionalWhere = AND no_index = 0
|
2020-08-19 14:51:39 +02:00
|
|
|
pid = {$pageUids.blogPosts}
|
2019-11-15 18:28:10 +01:00
|
|
|
recursive = 3
|
|
|
|
template = RssFeed
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-12 10:14:42 +01:00
|
|
|
|
|
|
|
page {
|
|
|
|
headerData {
|
|
|
|
10 = TEXT
|
|
|
|
10 {
|
|
|
|
wrap = <link rel="alternate" title="RSS Feed of all blog posts" type="application/rss+xml" href="|" />
|
|
|
|
typolink {
|
|
|
|
parameter = t3://page?uid=1
|
2021-02-12 11:42:35 +01:00
|
|
|
additionalParams = &type=1533906435&sitemap=blog-posts
|
2021-02-12 10:14:42 +01:00
|
|
|
returnLast = url
|
|
|
|
}
|
|
|
|
}
|
2021-02-12 11:42:35 +01:00
|
|
|
11 = COA
|
|
|
|
11 {
|
|
|
|
if {
|
|
|
|
isTrue.stdWrap.data = GP:topic_id
|
|
|
|
}
|
|
|
|
1 = TEXT
|
|
|
|
1.char = 10
|
|
|
|
2 = TEXT
|
|
|
|
2 {
|
|
|
|
noTrimWrap = |<link rel="alternate" title="RSS Feed of blog posts for topic: |" type="application/rss+xml"|
|
|
|
|
data.dataWrap = DB : sys_category:{GP:topic_id}:title
|
|
|
|
}
|
|
|
|
3 = TEXT
|
|
|
|
3.char = 32
|
|
|
|
4 = TEXT
|
|
|
|
4 {
|
|
|
|
wrap = href="|" />
|
|
|
|
typolink {
|
|
|
|
parameter = t3://page?uid=1
|
|
|
|
additionalParams.stdWrap.cObject = COA
|
|
|
|
additionalParams.stdWrap.cObject {
|
|
|
|
10 = TEXT
|
|
|
|
10.value = &type=1533906435&sitemap=blog-posts
|
|
|
|
11 = TEXT
|
2021-09-03 07:27:54 +02:00
|
|
|
11.value = &category_id=
|
2021-02-12 11:42:35 +01:00
|
|
|
12 = TEXT
|
|
|
|
// uid is casted to int within PHP source
|
|
|
|
12.data.dataWrap = DB : sys_category:{GP:topic_id}:uid
|
|
|
|
}
|
|
|
|
returnLast = url
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
seo_sitemap {
|
|
|
|
10 {
|
|
|
|
userFunc = DanielSiepmann\DsSite\Frontend\RssFeed\XmlSitemapRenderer->render
|
|
|
|
userFunc {
|
|
|
|
variables {
|
|
|
|
categoryId = TEXT
|
2021-09-03 07:27:54 +02:00
|
|
|
categoryId.data = GP:category_id
|
2021-02-12 11:42:35 +01:00
|
|
|
categoryId.intval = 1
|
|
|
|
categoryTitle = TEXT
|
2021-09-03 07:27:54 +02:00
|
|
|
categoryTitle.data.dataWrap = DB : sys_category:{GP:category_id}:title
|
2021-02-12 11:42:35 +01:00
|
|
|
}
|
|
|
|
}
|
2021-02-12 10:14:42 +01:00
|
|
|
}
|
|
|
|
}
|