<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: Fotos in RSS Feed</title>
		<link>http://www.kriesi.at/support/topic/fotos-in-rss-feed</link>
		<description>Support Forum - Topic: Fotos in RSS Feed</description>
		<language>en-US</language>
		<pubDate>Tue, 18 Jun 2013 05:31:53 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/fotos-in-rss-feed" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Beard on "Fotos in RSS Feed"</title>
			<link>http://www.kriesi.at/support/topic/fotos-in-rss-feed#post-29791</link>
			<pubDate>Wed, 19 Oct 2011 02:56:54 +0000</pubDate>
			<dc:creator>Chris Beard</dc:creator>
			<guid isPermaLink="false">29791@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad Dude could help you :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>momentslikethis on "Fotos in RSS Feed"</title>
			<link>http://www.kriesi.at/support/topic/fotos-in-rss-feed#post-29731</link>
			<pubDate>Tue, 18 Oct 2011 13:32:25 +0000</pubDate>
			<dc:creator>momentslikethis</dc:creator>
			<guid isPermaLink="false">29731@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;This actually did the trick, thanks a lot :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Fotos in RSS Feed"</title>
			<link>http://www.kriesi.at/support/topic/fotos-in-rss-feed#post-29726</link>
			<pubDate>Tue, 18 Oct 2011 11:14:42 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">29726@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Try following code instead:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// THIS INCLUDES THE THUMBNAIL IN OUR RSS FEED
add_filter( &#38;#39;the_excerpt_rss&#38;#39;, &#38;#39;inoplugs_insertThumbnailRSS&#38;#39; );
add_filter( &#38;#39;the_content_feed&#38;#39;, &#38;#39;inoplugs_insertThumbnailRSS&#38;#39; );
function inoplugs_insertThumbnailRSS( $content ) {

	global $post;
	$slides =    kriesi_featured_images($post-&#38;gt;ID,
    							array(	&#38;#39;size&#38;#39;=&#38;gt; &#38;#39;M&#38;#39;,
    								        &#38;#39;link&#38;#39; =&#38;gt; &#38;#39;none&#38;#39;,
    									&#38;#39;ul_attr&#38;#39;=&#38;gt; &#38;#39;&#38;#39;
    							 ));
	if ($slides){
		$content = &#38;#39;&#38;lt;div&#38;gt;&#38;#39; .$slides. &#38;#39;&#38;lt;/div&#38;gt;&#38;#39; . $content;
		return $content;
	}
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>momentslikethis on "Fotos in RSS Feed"</title>
			<link>http://www.kriesi.at/support/topic/fotos-in-rss-feed#post-29706</link>
			<pubDate>Tue, 18 Oct 2011 05:40:01 +0000</pubDate>
			<dc:creator>momentslikethis</dc:creator>
			<guid isPermaLink="false">29706@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hallo zusammen,&#60;/p&#62;
&#60;p&#62;betrifft meine website &#60;a href=&#34;http://www.momentslikethis.de&#34; rel=&#34;nofollow&#34;&#62;http://www.momentslikethis.de&#60;/a&#62;. Ich bin sehr zufrieden mit dem Habitat-Theme, habe aber eine Frage bzgl. der Thumbnails im RSS Feed. Da ich die Featured-Image Funktion nutze, wird ja im Post ansich kein Foto eingebunden und so auch nicht im Feed angezeigt. Die Lösung hier im Forum, zusätzlicher Code in functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// THIS INCLUDES THE THUMBNAIL IN OUR RSS FEED
add_filter( &#38;#39;the_excerpt_rss&#38;#39;, &#38;#39;inoplugs_insertThumbnailRSS&#38;#39; );
add_filter( &#38;#39;the_content_feed&#38;#39;, &#38;#39;inoplugs_insertThumbnailRSS&#38;#39; );
function inoplugs_insertThumbnailRSS( $content ) {

	global $post;
	$slides = avia_post_meta($post-&#38;gt;post_id, &#38;#39;slideshow&#38;#39;);
	if ($slides){
		$postimage = avia_image_by_id($slides[0][&#38;#39;slideshow_image&#38;#39;],&#38;#39;thumbnail&#38;#39;);
		$content = &#38;#39;&#38;lt;div&#38;gt;&#38;#39; . $postimage . &#38;#39;&#38;lt;/div&#38;gt;&#38;#39; . $content;

		return $content;
	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;habe ich getestet, allerdings gibt Feedburner dann gar keine Feeds mehr aus. Fehlermeldung der Feedanalyse:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Fatal error:  Call to undefined function  avia_post_meta() in &#38;lt;b&#38;gt;/momentslikethis/wp-content/themes/habitat/functions.php on line 108&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Zeile 108 wäre:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$slides = avia_post_meta($post-&#38;gt;post_id, 'slideshow');&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Was kann ich tun, damit die Thumbnails im Feed erscheinen? Vielen Dank für ein kurzes Reply.&#60;/p&#62;
&#60;p&#62;Viele Grüße&#60;br /&#62;
Uwe
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
