[TYPO3-english] RSS from tt_news not working when news records have image
Igor Mitev
igor at freshdesign.com.mk
Tue Oct 6 21:09:42 CEST 2009
Thanks Doug,
I tried it but it doesn't work. I tried other extensions but the same
result.
I've been at it all day and at this point I'm happy with a generated feed
without the images.
I suspect that additionalHeaders = Content-type:application/xml may be the
problem - parsing invalid content ...
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of La Farge
Douglas
Sent: Tuesday, October 06, 2009 8:25 PM
To: TYPO3 English
Subject: Re: [TYPO3-english] RSS from tt_news not working when news records
have image
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
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list