[TYPO3-ttnews] tt_news and images in rss feed.

Thomas Hümmler typo3-n at huemmler.de
Mon Sep 27 15:04:49 CEST 2010


Am 24.09.2010 18:49, schrieb Jason Alexander:
> But I'm just curious if any of you know how to add images into tt_new's rss feed. I've tried some extended extensions to tt_news and can't seem to get it to work. It doesn't seem that hard. But there is little to no documentation on the topic. 
> 
> Any recommendations, links, detailed tutorials would help out greatly?

There is no need for extensions. tt_news can feed right out of the box.
I myself put it this way in the rss_2.tmpl:

	<item>
	  <title>###NEWS_TITLE###</title>
	  <link>###NEWS_LINK###</link>
	  <description>
	  <![CDATA[###NEWS_CATEGORY###]]><![CDATA[###NEWS_SUBHEADER###]]>
	  <![CDATA[<p></p>]]><![CDATA[###NEWS_IMAGE###]]>
	  </description>
	  <pubDate>###NEWS_DATE###</pubDate>
	  ###NEWS_RSS2_ENCLOSURES###
	</item>

The result you can see here: http://ebersberger-nachrichten.de/feed.xml

What is allowed or not in RSS you can read about at
http://cyber.law.harvard.edu/rss/rss.html

-- 
Thomas Hümmler
http://huemmler.de


More information about the TYPO3-project-tt-news mailing list