<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: Customizing an RSS feed using Drupal and Views</title>
	<atom:link href="http://www.timtoon.com/2009/05/27/customizing-an-rss-feed-using-drupal-and-views/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.timtoon.com/2009/05/27/customizing-an-rss-feed-using-drupal-and-views/</link>
	<description>Lookout honey, &#039;cuz I&#039;m using technology.</description>
	<lastBuildDate>Thu, 19 Jan 2012 21:36:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: klickreflex</title>
		<link>http://www.timtoon.com/2009/05/27/customizing-an-rss-feed-using-drupal-and-views/comment-page-1/#comment-5576</link>
		<dc:creator>klickreflex</dc:creator>
		<pubDate>Tue, 15 Nov 2011 11:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.timtoon.com/blog/?p=650#comment-5576</guid>
		<description>Hey Tim, 

thanks for your answer. 
It seems the problem was somewhere else:

The rendered display of my imagefield is not available inside the node object:
var_dump($node-&gt;field_global_bild1[0][&#039;view&#039;]; returns NULL.

The image path is available though, so I&#039;m able to build the image link manually using $base_url, $node-&gt;field_global_bild1[0][&#039;filepath&#039;] and imagecache_create_url().

Much effort just to get a feed formatted the way one wants it to be ^^</description>
		<content:encoded><![CDATA[<p>Hey Tim, </p>
<p>thanks for your answer.<br />
It seems the problem was somewhere else:</p>
<p>The rendered display of my imagefield is not available inside the node object:<br />
var_dump($node-&gt;field_global_bild1[0]['view']; returns NULL.</p>
<p>The image path is available though, so I&#8217;m able to build the image link manually using $base_url, $node-&gt;field_global_bild1[0]['filepath'] and imagecache_create_url().</p>
<p>Much effort just to get a feed formatted the way one wants it to be ^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.timtoon.com/2009/05/27/customizing-an-rss-feed-using-drupal-and-views/comment-page-1/#comment-5575</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Tue, 15 Nov 2011 10:41:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.timtoon.com/blog/?p=650#comment-5575</guid>
		<description>Hi Daniel,

I haven&#039;t touched this code in awhile, but I would check whether there&#039;s a format filter on the description that strips out HTML, either on the node itself, or happening within Views.

Or try removing check_plain() from the following line in phptemplate_preprocess_views_view_row_rss():

$vars[&#039;description&#039;] = check_plain($item-&gt;description);

Or remove it from within the views-view-row-rss.tpl.php template.  Hope that helps!</description>
		<content:encoded><![CDATA[<p>Hi Daniel,</p>
<p>I haven&#8217;t touched this code in awhile, but I would check whether there&#8217;s a format filter on the description that strips out HTML, either on the node itself, or happening within Views.</p>
<p>Or try removing check_plain() from the following line in phptemplate_preprocess_views_view_row_rss():</p>
<p>$vars['description'] = check_plain($item->description);</p>
<p>Or remove it from within the views-view-row-rss.tpl.php template.  Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: klickreflex</title>
		<link>http://www.timtoon.com/2009/05/27/customizing-an-rss-feed-using-drupal-and-views/comment-page-1/#comment-5573</link>
		<dc:creator>klickreflex</dc:creator>
		<pubDate>Tue, 15 Nov 2011 10:28:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.timtoon.com/blog/?p=650#comment-5573</guid>
		<description>Thanks for your solution, it works almost great for me.
I got on issue: do you have an idea why I can&#039;t seem to output an image inside the description?
It seems to get stripped out completly when I extend my views-view-row-rss template file like this:
print $node-&gt;field_global_bild1[0][&#039;view&#039;];

Should this possibly be inserted into a tag other than ?

Cheers,
Daniel</description>
		<content:encoded><![CDATA[<p>Thanks for your solution, it works almost great for me.<br />
I got on issue: do you have an idea why I can&#8217;t seem to output an image inside the description?<br />
It seems to get stripped out completly when I extend my views-view-row-rss template file like this:<br />
print $node-&gt;field_global_bild1[0]['view'];</p>
<p>Should this possibly be inserted into a tag other than ?</p>
<p>Cheers,<br />
Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ABR</title>
		<link>http://www.timtoon.com/2009/05/27/customizing-an-rss-feed-using-drupal-and-views/comment-page-1/#comment-5548</link>
		<dc:creator>ABR</dc:creator>
		<pubDate>Wed, 17 Aug 2011 17:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.timtoon.com/blog/?p=650#comment-5548</guid>
		<description>How about if I need to post more then one description ?

Thanks</description>
		<content:encoded><![CDATA[<p>How about if I need to post more then one description ?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drupal Views tutorials and resources &#171; ddrupal</title>
		<link>http://www.timtoon.com/2009/05/27/customizing-an-rss-feed-using-drupal-and-views/comment-page-1/#comment-5541</link>
		<dc:creator>Drupal Views tutorials and resources &#171; ddrupal</dc:creator>
		<pubDate>Thu, 09 Jun 2011 06:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.timtoon.com/blog/?p=650#comment-5541</guid>
		<description>[...] Customizing an RSS feed using Drupal and Views   from  www.timtoon.com [...]</description>
		<content:encoded><![CDATA[<p>[...] Customizing an RSS feed using Drupal and Views   from  <a href="http://www.timtoon.com" rel="nofollow">http://www.timtoon.com</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominic</title>
		<link>http://www.timtoon.com/2009/05/27/customizing-an-rss-feed-using-drupal-and-views/comment-page-1/#comment-5209</link>
		<dc:creator>Dominic</dc:creator>
		<pubDate>Sun, 16 Jan 2011 18:17:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.timtoon.com/blog/?p=650#comment-5209</guid>
		<description>Tim, I just want to thank you for sharing this.
I was trying out Contemplate and Views RSS templates and none got me where I wanted to go. Your code helped.</description>
		<content:encoded><![CDATA[<p>Tim, I just want to thank you for sharing this.<br />
I was trying out Contemplate and Views RSS templates and none got me where I wanted to go. Your code helped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Lind</title>
		<link>http://www.timtoon.com/2009/05/27/customizing-an-rss-feed-using-drupal-and-views/comment-page-1/#comment-4910</link>
		<dc:creator>Josh Lind</dc:creator>
		<pubDate>Sun, 28 Feb 2010 02:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.timtoon.com/blog/?p=650#comment-4910</guid>
		<description>Thanks! I too was struggling through the lack of output with standard Views 2 RSS feeds.

We should should be able to do this stuff without Views Bonus Pack or Views RSS.

Now one can, if one feels comfortable with the template.php file.</description>
		<content:encoded><![CDATA[<p>Thanks! I too was struggling through the lack of output with standard Views 2 RSS feeds.</p>
<p>We should should be able to do this stuff without Views Bonus Pack or Views RSS.</p>
<p>Now one can, if one feels comfortable with the template.php file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.timtoon.com/2009/05/27/customizing-an-rss-feed-using-drupal-and-views/comment-page-1/#comment-4902</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Wed, 20 Jan 2010 23:28:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.timtoon.com/blog/?p=650#comment-4902</guid>
		<description>You may also want to have a look at the Views RSS module (http://drupal.org/project/views_rss) - this goes some way to providing the above functionality</description>
		<content:encoded><![CDATA[<p>You may also want to have a look at the Views RSS module (<a href="http://drupal.org/project/views_rss" rel="nofollow">http://drupal.org/project/views_rss</a>) &#8211; this goes some way to providing the above functionality</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Montana Harkin</title>
		<link>http://www.timtoon.com/2009/05/27/customizing-an-rss-feed-using-drupal-and-views/comment-page-1/#comment-4899</link>
		<dc:creator>Montana Harkin</dc:creator>
		<pubDate>Tue, 05 Jan 2010 15:48:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.timtoon.com/blog/?p=650#comment-4899</guid>
		<description>This looks like a good solution, but I think it is inefficient. 

Drupal does the initial query of nodes to build the RSS feed. Then your code does a single query to the database for each node in the feed.</description>
		<content:encoded><![CDATA[<p>This looks like a good solution, but I think it is inefficient. </p>
<p>Drupal does the initial query of nodes to build the RSS feed. Then your code does a single query to the database for each node in the feed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.timtoon.com/2009/05/27/customizing-an-rss-feed-using-drupal-and-views/comment-page-1/#comment-4851</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 07 Oct 2009 01:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.timtoon.com/blog/?p=650#comment-4851</guid>
		<description>@andrewsuth:

I believe it&#039;s possible to access the rss channel variables by copying the original $view object into $vars, but I just haven&#039;t tried it (which is why I took months to reply).</description>
		<content:encoded><![CDATA[<p>@andrewsuth:</p>
<p>I believe it&#8217;s possible to access the rss channel variables by copying the original $view object into $vars, but I just haven&#8217;t tried it (which is why I took months to reply).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

