---
title: "RealUrl und RSS Problem"
url: "https://www.typo3.net/d/105680-realurl-und-rss-problem"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2011-06-01"
last_reply: "2011-06-01"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# RealUrl und RSS Problem

Extensions · 0 Antworten · gestartet 2011-06-01

## Eröffnungsbeitrag

**borispugo** · 2011-06-01 · [Beitrag #1](https://www.typo3.net/d/105680-realurl-und-rss-problem/1)

Liebe Community,

ich habe RealUrl installiert und es geht soweit ganz gut. Ich hab nur ein Problem:
Bei der Generierung der Feed-Links fehlt die Angabe der übergeordneten Seiten-ID in der URL, sodass ein Doppel-Slash erzeugt wird.
Normal:
.../article/2/datei.html

RSS:
.../article//datei.html

Schaut zwar nicht schön aus, ist aber im Normalfall kein Problem. Nun wollten wir den Feed auch in die Facebook-Page einbinden. Die Fb-Anwendung welche die Feeds integriert löscht einfach den zweiten Slash. Somit sind die News über fb nicht erreichbar. Wer kann mir sagen, wie ich die ext_localconf.php umschreiben muss, dass kein Doppelslash mehr kommt? Vielen Dank für eure Hilfe!

ext_localconf.php:

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
    '_DEFAULT' => array(
         'init' => array(
             'enableCHashCache' => 1,
             // 'appendMissingSlash' => 'ifNotFile',
             'enableUrlDecodeCache' => 1,
             'enableUrlEncodeCache' => 1,
             ),
         'redirects' => array(),
         'preVars' => array(
             //match &no_cache=1 with path prefix /nc
             array(
                 'GETvar' => 'no_cache',
                 'valueMap' => array(
                     'nc' => 1,
                     ),
                 'noMatch' => 'bypass',
                ),
             //multiple language matching L=1 is replaced by /hu
             //value are user defiened depending of the order you've inserted your
             //alternative language in TYPO3. See sys_language table for ID
             array(
                 'GETvar' => 'L',
                 'valueMap' => array(
                     'en' => '1',
                     'fr' => '2',
                     'es' => '3',
                     'de' => '4',
                     'it' => '5',
                     'cn' => '6',
                     'gr' => '7',
                     'l8' => '8',
                     'l9' => '9',
                     'ru' => '10',
                     'l11'=> '11',
                     'tr' => '12',
                     'bg' => '13',
                     'se' => '14',
                     'dk' => '15',
                     'no' => '16',
                     'fi' => '17',
                     'al' => '18',
                     'cz' => '19',
                     ),
                 'noMatch' => 'bypass',
                 ),
              ),
          // use extended page name rendering
          // page names are converted to readalbe page/sub-page/sub-sub-page.html
         'pagePath' => array(
               'type' => 'user',
               'excludeUids' => 2,
             'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
             'spaceCharacter' => '-',
             'languageGetVar' => 'L',
             'expireDays' => 7,
             'rootpage_id' => 1,
             'segTitleFieldList' => 'alias,tx_realurl_pathsegment,nav_title,title',
         'disablePathCache' => 1,
             // 'encodeTitle_userProc'=>'EXT:realurl/tx_realurl_encodeTitle_userProc.php:&user_encodeDates',
             ),
         'fixedPostVars' => array(),
         // match extension parameter
         'postVarSets' => array(
             '_DEFAULT' => array(
                 // archive
                 'period' => array(
                     array(
                         'condPrevValue' => -1,
                         'GETvar' => 'tx_ttnews[pS]' ,
                         // 'valueMap' => array(
                         //
                         // )
                         ),
                     array(
                         'GETvar' => 'tx_ttnews[pL]' ,
                         // 'valueMap' => array(
                         //
                         // )
                         ),
                     array(
                         'GETvar' => 'tx_ttnews[arc]' ,
                         'valueMap' => array(
                             'archived' => 1,
                             'non-archived' => -1,
                             )
                          ),
                     ),
                 // pagebrowser
                 'browse' => array(
                     array(
                         'GETvar' => 'tx_ttnews[pointer]',
                         ),
                      ),
                 'select' => array (
                     array(
                         'GETvar' => 'tx_ttnews[cat]',
                         'lookUpTable' => array(
                             'table' => 'tt_news_cat',
                             'id_field' => 'uid',
                             'alias_field' => 'title',
                             'addWhereClause' => ' AND NOT deleted',
                             'useUniqueCache' => 1,
                             'useUniqueCache_conf' => array(
                                 'strtolower' => 1,
                                 ),
                             ),
                         ),
                     ),
                 'index' => array (
                     array(
                         'GETvar' => 'news[cat]',
                         'lookUpTable' => array(
                             'table' => 'tt_news_cat',
                             'id_field' => 'uid',
                             'alias_field' => 'title',
                             'addWhereClause' => ' AND NOT deleted',
                             'useUniqueCache' => 1,
                             'useUniqueCache_conf' => array(
                                 'strtolower' => 1,
                                 ),
                             ),
                         ),
                     ),
           'article' => array(
                       array(
                           'GETvar' => 'tx_ttnews[backPid]',
                           ),
                       array(
                           'GETvar' => 'tx_ttnews[tt_news]',
                           'lookUpTable' => array(
                             'table' => 'tt_news',
                             'id_field' => 'uid',
                             'alias_field' => 'title',
                             'addWhereClause' => ' AND NOT deleted',
                             'useUniqueCache' => 1,
                             'useUniqueCache_conf' => array(
                                 'strtolower' => 0,
                                 'spaceCharacter' => '-',
                                 ),
                              ),
                         ),
                      array(
                          'GETvar' => 'tx_ttnews[swords]'
                         ),
                      ),
                  ),
             ),
         // map some type to file name: rss.xml = &typo=100
          // main feed
     	       'fileName' => array(
              'index' => array(
                   'newsrss.xml' => array(
                        'keyValues' => array(
                             'type' => 100,
                         ),
                     ),

...

---

Quelle: „RealUrl und RSS Problem“, typo3.net, https://www.typo3.net/d/105680-realurl-und-rss-problem
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
