Hallo, ich setzte Typo3 4.3.2 ein und tt_news 3.0.1. Die Artikel aus tt_news. für die schönen URLs sorgt realURL 1.7.0. die letzten Artikel aus tt_news biete ich auch als rss fed bzw. xml an. das funktioniert soweit auch alles ganz gut, bis auf die schönen real url links in dem rss feed.
Der Dateiname für die rss datei wird schon mit dem array fileName über die realurl_autoconf erfolgreich von z.b. "/index.php?type=100" in "/rss.xml" geändert. Die Links im rss feed werden leider nicht von realurl umgeschrieben und sehen wie folgt aus: /index.php?id=50&tx_ttnews[tt_news]=171&cHash=23d781fb831743e9911773fb6641087e Meine Realurl_autoconf sieht derzeit so aus: $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=unserialize('a:1:{s:8:"_DEFAULT";a:3:{s:4:"init";a:6:{s:16:"enableCHashCache";b:1;s:18:"appendMissingSlash";s:18:"ifNotFile,redirect";s:18:"adminJumpToBackend";b:1;s:20:"enableUrlDecodeCache";b:1;s:20:"enableUrlEncodeCache";b:1;s:19:"emptyUrlReturnValue";s:1:"/";}s:8:"pagePath";a:4:{s:4:"type";s:4:"user";s:8:"userFunc";s:68:"EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main";s:14:"spaceCharacter";s:1:"-";s:14:"languageGetVar";s:1:"L";}s:8:"fileName";a:3:{s:25:"defaultToHTMLsuffixOnPrev";i:0;s:16:"acceptHTMLsuffix";i:1;s:5:"index";a:1:{s:5:"print";a:1:{s:9:"keyValues";a:1:{s:4:"type";i:98;}}}}}}'); $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( 'dk' => '2', 'de' => '1', ), '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( // news archive parameters 'archive' => array( array( 'GETvar' => 'tx_ttnews[year]' , ), array( 'GETvar' => 'tx_ttnews[month]' , 'valueMap' => array( 'januar' => '01', 'februar' => '02', 'maerz' => '03', 'april' => '04', 'may' => '05', 'juni' => '06', 'juli' => '07', 'august' => '08', 'september' => '09', 'oktober' => '10', 'november' => '11', 'dezember' => '12', ) ), array( 'GETvar' => 'tx_ttnews[day]' , ), ), // news pagebrowser 'browse' => array( array( 'GETvar' => 'tx_ttnews[pointer]', ), ), // news categories 'kategorie' => array ( array( 'GETvar' => 'tx_ttnews[cat]', ), ), // news articles and searchwords 'artikel' => array( 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' => '-', ), ), ), array( 'GETvar' => 'tx_ttnews[swords]', ), ), ), ), // configure filenames for different pagetypes 'fileName' => array( 'defaultToHTMLsuffixOnPrev' => true, '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, ), ), ), ), ), ); _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german