I have read all of the FAQ's, searched endlessly and I hope that you can help me, please.
Problem:
I have two RSS feed modules on one page. One is giving me a perfect output, the rss feed URL is http://www.avma.org/rss/newsbytes/newsbytes_rss.xml
I am using the source code posted on DNN's site, that has this line: <xsl:value-of select="description" disable-output-escaping="yes"/>
The next module I am trying to display: http://www.vetecon.com/vetec/vetec.rss?id=44515 and I am using the same XSL file, but I am getting this output:
Veterinary Economics - Web Dailyhttp://www.vetecon.com/vetec/Web+Daily/Article/list/44515Veterinarians' source for expert veterinary information on practice management, communication, business skills, and leadership2008-04-19T18:25:28ZDying dog turned away by community veterinarians http://www.vetecon.com/vetec/Web+Daily/Dying-dog-turned-away-by-community-veterinarians/ArticleStandard/Article/detail/509695?contextCategoryId=44515&ref=25Reporter gives those doctors a chance to respond.2008-04-11T04:00:00Z
etc. etc. It is just lines of code. No formatting.
I have tried using various XSL files to fix this and alternatives,
This one doesn't work:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes"/>
<xsl:param name="TITLE"/>
<xsl:template match="rss">
<!-- Do not show channel image -->
<xsl:for-each select="channel/item">
<xsl:if test="position() <= 5">
<br>
<strong><a href="{link}" target="_main"><xsl:value-of select="title"/></a></strong><br></br>
<!-- only display markup for description if it's present -->
<xsl:value-of select="description" disable-output-escaping="yes"/>
</br>
<br></br>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template match="description">
<br>
<xsl:value-of select="."/>
</br>
</xsl:template>
</xsl:stylesheet>
I have tried changing the <xsl:value-of select="description" disable-output-escaping="yes"/>
to :
<xsl:value-of select="description"/>
Any help would be much appreciated, my client as several RSS feeds from that site they want to display on their webpage:
http://www.vetecon.com/vetec/vetec.rss?id=10736
http://www.vetecon.com/vetec/vetec.rss?id=36289
http://www.vetecon.com/vetec/vetec.rss?id=3663
http://www.vetecon.com/vetec/vetec.rss?id=42556
http://www.vetecon.com/vetec/vetec.rss?id=44515
http://www.vetecon.com/vetec/vetec.rss?id=34357
Thanks,
Tracey Johnson