Hey Guys,
I am currently trying to render an RSS Feed which contains html elements. I have duplicated and editted the RSS Widget that comes with the Blog module by changing this line:
$desc->setValue(strip_tags($item->get_description(),"&"));
for this line:
$desc->setValue($item->get_description(html));
This has left in the html that the strip_tags command was taking out, but is rendering the "< >" as "< >".
In the template that is rendering the description I have tried this:
<ul class="Articles">
<% control FeedItems2 %>
<li class="$EvenOdd<% if First %> first<% end_if %><% if Last %> last<% end_if %>">
<h4><a name="Article-0$Pos"></a>$Title</h4>
$Description
</li>
<% end_control %>
</ul>
and this
<ul class="Articles">
<% control FeedItems2 %>
<li class="$EvenOdd<% if First %> first<% end_if %><% if Last %> last<% end_if %>">
<h4><a name="Article-0$Pos"></a>$Title</h4>
$Description.EscapeXML
</li>
<% end_control %>
</ul>
But it still isn't rendering the html correctly.
Any help would be much appreciated!
Thanks again.