[TYPO3-english] [ASK]Include country & city to the RSS feed (Calendar base extension)
Dodi Iriyanto
dodiiriyanto at gmail.com
Mon Oct 10 11:06:38 CEST 2011
Dear list,
I create new RSS feed from Calendar base extension to display not only
title, event url, start date & end date but also will include country & city
as well. Unfortunately country & city items are not showing up. I use marker
###COUNTRY### & ###CITY###.
Andy ideas what might be wrong are welcome. Here is my typoscript:
# point your RSS reader to: http://your-server.org/index.php?type=151
## This enables the xml news feed
calRSS = PAGE
calRSS {
typeNum = 151
10 =< plugin.tx_cal_controller
10 {
pidList = {$plugin.tx_cal_controller.pidList}
recursive = 1
view {
allowedViews = rss,event
event.eventViewPid = {$plugin.tx_cal_controller.rss.eventViewPID}
ics.eventUidPrefix = {$plugin.tx_cal_controller.view.ics.eventUidPrefix}
rss {
rss091_tmplFile = {$plugin.tx_cal_controller.rss.rss091_tmplFile}
rss2_tmplFile = {$plugin.tx_cal_controller.rss.rss2_tmplFile}
rdf_tmplFile = {$plugin.tx_cal_controller.rss.rdf_tmplFile}
atom03_tmplFile = {$plugin.tx_cal_controller.rss.atom03_tmplFile}
atom1_tmplFile = {$plugin.tx_cal_controller.rss.atom1_tmplFile}
# possibile values: rss091 / rss2 / rdf / atom03
xmlFormat = {$plugin.tx_cal_controller.rss.xmlFormat}
xmlTitle = {$plugin.tx_cal_controller.rss.xmlTitle}
xmlDesc = {$plugin.tx_cal_controller.rss.xmlDesc}
xmlLang = {$plugin.tx_cal_controller.rss.xmlLang}
xmlIcon = {$plugin.tx_cal_controller.rss.xmlIcon}
xmlLimit = {$plugin.tx_cal_controller.rss.xmlLimit}
xmlCaching = {$plugin.tx_cal_controller.rss.xmlCaching}
xmlLastBuildDate = 1
range = {$plugin.tx_cal_controller.rss.range}
timeFormat = %I:%M %p
dateFormat = %Y-%m-%d
location < plugin.tx_cal_controller.view.location.location
location {
}
event < plugin.tx_cal_controller.view.event.event
event {
title {
dataWrap >
htmlSpecialChars = 1
htmlSpecialChars.preserveEntities = 0
}
alldayTitle {
dataWrap >
htmlSpecialChars = 1
htmlSpecialChars.preserveEntities = 1
}
dateFormat = %Y-%m-%d
startdate.dataWrap = |
starttime.dataWrap = |
endtime.dataWrap = |
description {
crop = 500|..
dataWrap = |
}
location.dataWrap = |
category.dataWrap = |
crdate = TEXT
crdate {
strftime = %a, %d %b %Y %H:%M:%S GMT
current = 1
}
enddate = TEXT
enddate {
current = 1
noTrimWrap = |||
required = 1
dataWrap = |
}
eventUrl < plugin.tx_cal_controller.view.event.event.eventLink
eventUrl.typolink.returnLast = url
}
}
}
}
config {
disableAllHeaderCode = 1
additionalHeaders = Content-type:application/xml
xhtml_cleaning = 0
admPanel = 0
locale_all = en
}
}
Thank you in advance.
Regards,
Dodi
More information about the TYPO3-english
mailing list