[TYPO3-ttnews] Ext:news - wrong article links in rss with realurl
JCL - Johannes C. Laxander
jc at laxander.com
Sun May 13 10:37:32 CEST 2012
Hi,
article links in my rss feed are generatet like this:
http://domain.com/de/start.html?tx_news_pi1[news]=11&cHash=db3e05863f55cd40ab5b494ef5b22681
In the "normal" list view the article links are ok, e.g. for the link above:
http://domain.com/de/aktuell/artikel/article-headline.html
Whats wrong in my realurl configuration:
$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => '3',
'rootpage_id' => 1
#'firstHitPathCache'=> 1
),
'init' => array(
'enableCHashCache' => TRUE,
'enableCHashCache' => 1,
'respectSimulateStaticURLs' => 1,
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
'appendMissingSlash' => 'ifNotFile'
),
'preVars' => array(
'0' => array (
'GETvar' => 'no_cache',
'valueMap' => array (
'nc' => '1',
),
'noMatch' => 'bypass'
),
'1' => array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '0',
'ru' => '1',
'en' => '2',
'ch' => '4',
'ar' => '5'
),
'valueDefault' => 'de'
#'noMatch' => 'bypass',
),
),
'fileName' => array (
'defaultToHTMLsuffixOnPrev' => true,
'index' => array (
'sitemap.xml' => array (
'keyValues' => array (
'type' => '776',
),
),
'rss-newsfeed.xml' => array (
'keyValues' => array (
'type' => '9818',
),
),
),
),
'fixedPostVars' => array(
'newsDetailConfiguration' => array(
array(
'GETvar' => 'tx_news_pi1[news]',
'lookUpTable' => array(
'table' => 'tx_news_domain_model_news',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-'
),
),
),
),
'newsCategoryConfiguration' => array(
array(
'GETvar' => 'tx_news_pi1[overwriteDemand][categories]',
'lookUpTable' => array(
'table' => 'tx_news_domain_model_category',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-'
),
),
),
),
'newsTagConfiguration' => array(
array(
'GETvar' => 'tx_news_pi1[overwriteDemand][tags]',
'lookUpTable' => array(
'table' => 'tx_news_domain_model_tag',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-'
),
),
),
),
# Set page IDs
'23' => 'newsDetailConfiguration',
#'71' => 'newsTagConfiguration',
#'72' => 'newsCategoryConfiguration',
),
'postVarSets' => array(
'_DEFAULT' => array(
'controller' => array(
array(
'GETvar' => 'tx_news_pi1[action]',
'noMatch' => 'bypass'
),
array(
'GETvar' => 'tx_news_pi1[controller]',
'noMatch' => 'bypass'
),
),
'dateFilter' => array(
array(
'GETvar' => 'tx_news_pi1[overwriteDemand][year]',
),
array(
'GETvar' => 'tx_news_pi1[overwriteDemand][month]',
),
),
),
),
);
Johannes.
More information about the TYPO3-project-tt-news
mailing list