[TYPO3-calendar] rss Feed - wrong bookmark links

Joe Berger JoeBerger at gmx.de
Sun Oct 16 12:18:59 CEST 2011


Hi,

I'm still fighting with the rss feed. My problem: I can create a bookmark
list but the bookmark links are all directed to my root page.

This is my setup 

// rss - Feed
calRSS = PAGE
calRSS {
   typeNum = 151
  10 =< plugin.tx_cal_controller
  10 {
    recursive = 1
    view {
      allowedViews = rss,event
      rss {     
        xmlLastBuildDate = 1
        
        timeFormat = %I:%M %p
        dateFormat = %Y-%m-%d
          
        event < plugin.tx_cal_controller.view.event.event
        event {
          title {
           dataWrap >
            htmlSpecialChars = 1
            htmlSpecialChars.preserveEntities = 1
          }
          alldayTitle {
            dataWrap >
            htmlSpecialChars = 1
            htmlSpecialChars.preserveEntities = 1
          }
          startdate {
            htmlSpecialChars = 1
            htmlSpecialChars.preserveEntities = 1
          }
          starttime {
            htmlSpecialChars = 1
            htmlSpecialChars.preserveEntities = 1
          }
          description {
            crop = 100|..
            dataWrap = |<br/>
          }
          location.dataWrap >
          location.link >
          location.dataWrap =  |<br/>
          crdate = TEXT
          crdate {
            strftime = %a, %d %b %Y %H:%M:%S GMT
            current = 1
          }
          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 = de
  }
}



These are my constants:

plugin.tx_cal_controller {
  rss {
  eventViewPID = 2693
  range = 10
  rss2_tmplFile = EXT:cal/template/rss_2.tmpl
  rss091_tmplFile = EXT:cal/template/rss_0_91.tmpl
  rdf_tmplFile = EXT:cal/template/rdf.tmpl
  atom03_tmplFile = EXT:cal/template/atom_0_3.tmpl
  atom1_tmplFile = EXT:cal/template/atom_1_0.tmpl
  // possibile values: rss091 / rss2 / rdf / atom03
  xmlFormat = rss2
  xmlTitle = xxx
  xmlDesc = xxx
  xmlLang = de
  xmlIcon = EXT:cal/ext_icon.gif
  xmlLimit = 10
  xmlCaching = 1
  }
  view.ics.eventUidPrefix = www.my-domain.de 
}

plugin.tx_cal_controller.pidList = 735

In the event view I have allowed 'Einzelner Termin' and 'Liste'.

Thanks for any hints.

Joe





More information about the TYPO3-project-calendar mailing list