简体   繁体   English

在TYPO3中使用tt_news,RealURL和RSS生成正确的URL

[英]Generating correct URLs with tt_news, RealURL and RSS in TYPO3

I already asked this question in a German TYPO3 community but no one had any answer for me. 我已经在德国TYPO3社区中问过这个问题,但是没有人对我有任何答案。

I used the following two articles to get my tt_news with RealURL up and running and to later add a RSS feed for my tt_news articles: 我使用以下两篇文章来启动并运行带有RealURL的tt_news,并稍后为tt_news文章添加RSS feed:

http://www.typo3forum.net/forum/suchmaschinenfreundliche-urls-seo/4785-rss-realurl.html http://www.typo3forum.net/forum/suchmaschinenfreundliche-urls-seo/4785-rss-realurl.html

I hope that even non German speakers can get the information needed. 我希望即使非德语国家的人也能获得所需的信息。 So I put everything up and running, the RSS feed is being generated but the dates in the URLs are missing in the feed. 因此,我将一切准备就绪并运行,正在生成RSS feed,但是feed中缺少URL中的日期。

For example I've got an URL like www.example.com/startseite/news/datum/2010/08/29/neue-startseite-online/ generated by RealURL. 例如,我有一个由RealURL生成的URL,如www.example.com/startseite/news/datum/2010/08/29/neue-startseite-online/。 In the feed the URL for the same article looks like this: www.example.com/startseite/news/datum/neue-startseite-online/. 在Feed中,同一文章的URL如下所示:www.example.com/startseite/news/datum/neue-startseite-online/。 The date is completely missing. 该日期完全丢失。 As I still don't understand how to build custom URLs with RealURL I really don't know how to fix this. 由于我仍然不了解如何使用RealURL构建自定义URL,所以我真的不知道如何解决此问题。

Any help would be much appreciated. 任何帮助将非常感激。

sorry - obsolete for the asked circumstances 抱歉-在要求的情况下已过时

CONSTANTS: 常数:

plugin.tt_news {
    dontUseBackPid = 1
    useHRDatesSingle = 1
    useHRDatesSingleWithoutDay = 0
}

SETUP: 设定:

 plugin.tt_news { dontUseBackPid = 1 useHRDatesSingle = 1 useHRDatesSingleWithoutDay = 0 } 
#### please kick this post - asche ####请踢这个帖子-asche

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM