[TYPO3-english] RSS from tt_news not working when news records have image
La Farge Douglas
doug at gcnpublishing.com
Tue Oct 6 20:24:59 CEST 2009
I ran into the same problem.
The readme for the extension is missing one critical piece of
information. At least for the News-Feed extension.
plugin.tt_news.pid_list = 13
plugin.tt_news.singlePid = 35
Here's my setup:
### RSS Setup
plugin.tt_news {
displayXML {
rss2_tmplFile = EXT:tt_news/res/rss_2.tmpl
xmlFormat = rss2
xmlTitle = RSS Site
xmplLink = http://your.website.com
xmlDesc = A description
xmlLang = en
xmlIcon = fileadmin/rss_icon.gif
title_stdWrap.htmlSpecialChars = 1
title_stdWrap.htmlSpecialChars.preserveEntities = 1
subheader_stdWrap.stripHtml = 1
subheader_stdWrap.htmlSpecialChars = 1
subheader_stdWrap.htmlSpecialChars.preserveEntities = 1
subheader_stdWrap.crop = 100| ... | 1
subheader_stdWrap.ifEmpty.field = bodytext
xmlLastBuildDate = 1
}
}
plugin.tt_news.pid_list = 13
plugin.tt_news.singlePid = 35
good luck,
doug
On Oct 6, 2009, at 10:23 AM, Igor Mitev wrote:
>
>
> Hi,
>
>
>
> I have set up RSS feeds for TT News records for different TT News
> categories, placed in different storage folders, and all work
> perfectly but
> on one category the records have images and when I link the RSS feed
> I get a
> blank page. I tried changing the RSS 2.0 template - removed the image
> markers completely but same result.
>
>
>
> Here is my setup:
>
>
>
> ##################################################
>
> ## TT News plugin setup
>
> plugin.tt_news {
>
> displayXML {
>
> rss2_tmplFile = EXT:tt_news/res/rss_2.tmpl
>
> xmlFormat = rss2
>
> xmlLimit = 100
>
> xmlCaching = 0
>
> }
>
> }
>
>
>
> Sample of single template per Category:
>
>
>
> ##################################################
>
> ## XML Feeds from TT News - Настани
>
> feed2 = PAGE
>
> feed2 {
>
> typeNum = 100
>
> 10 >
>
> 10 < plugin.tt_news
>
> 10.pid_list >
>
> 10.pid_list = 50
>
> 10.singlePid = 53
>
> 10.defaultCode = XML
>
> config {
>
> disableAllHeaderCode = 1
>
> additionalHeaders = Content-type:application/xml
>
> xhtml_cleaning = 0
>
> admPanel = 0
>
> }
>
> }
>
> feed2 = PAGE
>
> feed2 {
>
> 10.displayXML {
>
> xmlTitle = www.eurm.edu.mk: Настани
>
> xmlLink = http://www.eurm.edu.mk/
>
> xmlDesc = Новости
>
> xmlLang = mk
>
> }
>
> }
>
> ## Localization
>
> [globalVar = GP:L = 2]
>
> feed2 = PAGE
>
> feed2 {
>
> 10.displayXML {
>
> xmlTitle = www.eurm.edu.mk: Настани
>
> xmlLink = http://www.eurm.edu.mk/
>
> xmlDesc = News
>
> xmlLang = en
>
> }
>
> }
>
> [global]
>
>
>
> Can anyone please tell me if there is additional setup required for
> the
> image display?
>
>
>
> Thanks,
>
> Igor
>
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
-+-+-+-+-+-+-+-+-+-+-+-+-+
Doug La Farge
GCN Publishing, Inc.
Internet Design, Development and Consulting For Today's Media Companies
http://www.gcnpublishing.com
203.665.6211 x209
More information about the TYPO3-english
mailing list