Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 20 = CONTENT
- 20 {
- table = tx_news_domain_model_news
- select {
- pidInList = {$plugin.tx_news.settings.sitemap.startingpoint}
- recursive = {$plugin.tx_news.settings.sitemap.recursive}
- selectFields = uid,pid,tstamp,sys_language_uid,l10n_parent
- orderBy = tstamp DESC
- max = {$plugin.tx_news.settings.sitemap.limit}
- languageField = sys_language_uid
- where = type=0
- }
- renderObj = COA
- renderObj {
- wrap = <url>|</url>
- 10 = COA
- 10 {
- wrap = <loc>|</loc>
- 10 = COA
- 10 {
- # htmlSpecialChar on the link to encode ampersand
- stdWrap.htmlSpecialChars = 1
- 10 = TEXT
- 10 {
- typolink {
- parameter = {$plugin.tx_news.settings.sitemap.detailPid}
- forceAbsoluteUrl = 1
- returnLast = url
- additionalParams.field = uid
- additionalParams.wrap = &tx_news_pi1[news]=|
- }
- }
- }
- }
- 20 = TEXT
- 20.wrap = <lastmod>|</lastmod>
- 20.field = tstamp
- 20.date = Y-m-d
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement