PDA

Click to See Complete Forum and Search --> : Rss


Emmanize
07-11-2007, 01:48 PM
Ok if you have been my post:
http://www.graphicdesignforum.com/forum/showthread.php?t=28433

You will know what strain I am under lol.

We are currently doing a project for Sheikh Mohammed bin Rashid al-Maktoum on Education in the Middle East. So it’s a fairly big project.

I am wanting to use RSS news feeds. I have so far got it working in DW but I am not sure how to make the {title} tags links as an anchor link (saves space). Can anyone help me with this, of course Steve has told me to find this out and I am ????????????????????????????? :confused:


<?xml version="1.0" encoding="iso-8859-1"?><!-- DWXMLSource="http://www.ameinfo.com/rssfeeds/3563.xml" -->
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
<!ENTITY copy "©">
<!ENTITY reg "®">
<!ENTITY trade "™">
<!ENTITY mdash "—">
<!ENTITY ldquo "“">
<!ENTITY rdquo "”">
<!ENTITY pound "£">
<!ENTITY yen "¥">
<!ENTITY euro "€">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="iso-8859-1"/>
<xsl:template match="/"><link href="CSS/gesscss.css" rel="stylesheet" type="text/css" />
<div class="news_content">
<xsl:for-each select="/">
<xsl:for-each select="rss/channel/item">
<h3><xsl:value-of select="title"/></h3>
<h5><xsl:value-of select="pubDate"/></h5>
<p class="pfea"><xsl:value-of select="description" disable-output-escaping="yes"/></p>
</xsl:for-each>
</xsl:for-each>
</div>
</xsl:template>
</xsl:stylesheet>


I think I have to do something with this

<h3><xsl:value-of select="title"/></h3>

What i dunno haha.