[TYPO3-german] Real URL rss.xml
Thomas P.
mail at tomgrill.de
Thu Feb 2 02:18:13 CET 2012
Ich habe es jetzt mehr oder weniger gelöst mit der Redirect Funktion von
realurl, aber mich würde dennoch eine saubere Lösung interessieren.
Danke :)
Am 01.02.2012 23:35, schrieb Thomas P.:
> Guden Zusammen ;)
>
> Ich habe folgende Konfiguration:
>
> http://domain.tld/sprachkürzel/speakingurl
>
> Beispiel:
> http://domain.tld/eng/home
>
> Auf der Seite wird ein rss Feed benötigt, der unter
>
> http://domain.tld/rss.xml aufrufbar sein soll. Wenn ich das eingebe
> lande ich auf der Landingpage.
>
> Leider funktioniert nur:
> http://domain.tld/eng/home/rss.xml
> Hier wird der RSS angezeigt.
>
> Wie kann ich das anpassen in der realurl config.
>
> Aktuelle RealURL Konfiguration:
>
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
> '_DEFAULT' => array(
> 'init' => array(
> 'enableCHashCache' => 1,
> 'appendMissingSlash' => 'ifNotFile',
> 'enableUrlDecodeCache' => 1,
> 'enableUrlEncodeCache' => 1,
> ),
> 'redirects' => array(),
> 'preVars' => array(
> #array(
> # 'GETvar' => 'no_cache',
> # 'valueMap' => array(
> # 'nc' => 1,
> # ),
> # 'noMatch' => 'bypass',
> #),
> array(
> 'GETvar' => 'L',
> 'valueMap' => array(
> 'eng' => '0',
> 'jap' => '1',
> 'chi' => '2',
> ),
> 'valueDefault' => 'eng',
> # 'noMatch' => 'bypass',
> ),
> ),
> 'pagePath' => array(
> 'type' => 'user',
> 'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> 'spaceCharacter' => '-',
> 'languageGetVar' => 'L',
> 'expireDays' => 7,
> 'rootpage_id' => 1,
> ),
> 'fixedPostVars' => array(),
> 'postVarSets' => array(
> '_DEFAULT' => array(
> 'erweitert' => array(
> array(
> 'GETvar' => 'tx_indexedsearch[ext]',
> ),
> ),
> 'browse' => array(
> array(
> 'GETvar' => 'tx_ttnews[pointer]',
> 'valueMap' => array(
> 'weiter' => '1',
> 'weiter' => '2',
> ),
> ),
> ),
> 'kategorie' => 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,
> 'spaceCharacter' => '-',
> ),
> ),
> ),
> ),
> '-' => array(
> array(
> 'GETvar' => 'tx_ttnews[year]',
> ),
> array(
> 'GETvar' => 'tx_ttnews[month]' ,
> ),
> array(
> 'GETvar' => 'tx_ttnews[day]' ,
> ),
> 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' => 1,
> 'spaceCharacter' => '-',
> ),
> ),
> ),
> ),
> 'aktion' => array(
> array(
> 'GETvar' => 'tx_ablinklist_pi1[action]',
> 'valueMap' => array(
> 'zeige-kategorie' => 'getviewcatalog',
> 'neuer-link' => 'getviewaddnewlink',
> 'goto' => 'getviewclickedlink',
> 'link-detail' => 'getviewdetailsforlink',
> 'broken-link' => 'getviewreportbrokenlink',
> 'rate-link' => 'getviewratelink',
> ),
> ),
> ),
> 'link-kategorie' => array(
> array(
> 'GETvar' => 'tx_ablinklist_pi1[category_uid]',
> 'valueMap' => array(
> 'home' => '0',
> ),
> 'lookUpTable' => array(
> 'table' => 'tx_ablinklist_category',
> 'id_field' => 'uid',
> 'alias_field' => 'label',
> 'addWhereClause' => ' AND NOT deleted',
> 'useUniqueCache' => 1,
> 'useUniqueCache_conf' => array(
> 'strtolower' => 1,
> 'spaceCharacter' => '-',
> ),
> ),
> ),
> ),
> 'link' => array(
> array(
> 'GETvar' => 'tx_ablinklist_pi1[uid]',
> 'lookUpTable' => array(
> 'table' => 'tx_ablinklist_link',
> 'id_field' => 'uid',
> 'alias_field' => 'label',
> 'addWhereClause' => ' AND NOT deleted',
> 'useUniqueCache' => 1,
> 'useUniqueCache_conf' => array(
> 'strtolower' => 1,
> 'spaceCharacter' => '-',
> ),
> ),
> ),
> ),
> 'element' => array(
> array(
> 'GETvar' => 'tx_ablinklist_pi1[cid]',
> ),
> ),
> 'seite' => array(
> array(
> 'GETvar' => 'tx_ablinklist_pi1[pointer]',
> ),
> ),
> 'gb-seite' => array(
> array(
> 'GETvar' => 'tx_veguestbook_pi1[pointer]',
> ),
> ),
> ),
> ),
> // configure filenames for different pagetypes
> 'fileName' => array(
> 'defaultToHTMLsuffixOnPrev' => 0,
> 'index' => array(
> 'rss.xml' => array(
> 'keyValues' => array(
> 'type' => 100,
> ),
> ),
> 'rss091.xml' => array(
> 'keyValues' => array(
> 'type' => 101,
> ),
> ),
> 'rdf.xml' => array(
> 'keyValues' => array(
> 'type' => 102,
> ),
> ),
> 'atom.xml' => array(
> 'keyValues' => array(
> 'type' => 103,
> ),
> ),
> ),
> ),
> 'fixedPostVarSets' => array(),
> 'postVarSets' => array(
> '_DEFAULT' => array(
> 'blog-post' => array(
>
> 'year' => array(
> 'GETvar' => 'tx_t3blog_pi1[blogList][year]',
> ),
> 'month' => array(
> 'GETvar' => 'tx_t3blog_pi1[blogList][month]' ,
> ),
> 'day' => array(
> 'GETvar' => 'tx_t3blog_pi1[blogList][day]',
> ),
> 'entry' => array (
> 'GETvar' => 'tx_t3blog_pi1[blogList][showUid]',
> 'lookUpTable' => array(
> 'table' => 'tx_t3blog_post',
> 'id_field' => 'uid',
> 'alias_field' => 'title',
> 'addWhereClause' => ' AND NOT deleted AND
> NOT hidden',
> 'useUniqueCache' => 1,
> 'useUniqueCache_conf' => array(
> 'strtolower' => 1,
> 'spaceCharacter' => '-',
> ),
> ),
> ),
> ),
> 'blog-category' => array (
> 'cat' => array (
> 'GETvar' => 'tx_t3blog_pi1[blogList][category]',
> 'lookUpTable' => array (
> 'table' => 'tx_t3blog_cat',
> 'id_field' => 'uid',
> 'alias_field' => 'catname',
> 'addWhereClause' => ' AND NOT deleted AND
> NOT hidden',
> 'useUniqueCache' => 1,
> 'useUniqueCache_conf' => array(
> 'strtolower' => 1,
> 'spaceCharacter' => '-',
> ),
> ),
> )
> ),
> 'blog-from' => array (
> 'from' => array(
> 'GETvar' => 'tx_t3blog_pi1[blogList][datefrom]',
> )
> ),
> 'tags' => array (
> 'from' => array(
> 'GETvar' => 'tx_t3blog_pi1[blogList][tags]',
> )
> ),
> 'author' => array (
> 'from' => array(
> 'GETvar' => 'tx_t3blog_pi1[blogList][author]',
> )
> ),
> 'tstmp' => array (
> 'from' => array(
> 'GETvar' => 'tx_t3blog_pi1[tstmp]',
> )
> ),
> 'blog-to' => array (
> to => array(
> 'GETvar' => 'tx_t3blog_pi1[blogList][dateto]',
> )
> ),
> 'rssType' => array (
> to => array(
> 'GETvar' => 'tx_t3blog_pi1[rss][feed_id]',
> )
> ),
> 'rssContent' => array (
> to => array(
> 'GETvar' => 'tx_t3blog_pi1[rss][value]',
> )
> ),
> 'trackback' => array (
> array(
> 'GETvar' => 'tx_t3blog_pi1[blogList][trackback]',
> ),
> ),
> 'insert' => array (
> array(
> 'GETvar' => 'tx_t3blog_pi1[blogList][insert]',
> 'valueMap' => array (
> 'no' => '0',
> 'comment' => '1',
> ),
> ),
>
> ),
> 'editComment' => array (
> 'from' => array(
> 'GETvar' =>
> 'tx_t3blog_pi1[blogList][editCommentUid]',
> ),
> ),
> 'into' => array (
> array(
> 'GETvar' => 'tx_t3blog_pi1[blogList][uid]',
> ),
>
> ),
> ),
> ),
> ),
> );
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
More information about the TYPO3-german
mailing list