« IE script tag | Main | mistake on FireFox »

Friday, July 15, 2005

RSS and XSLT

RSS Read and show.

see sample page
http://www.xucker.jpn.org/tblog/ajax/rss.html

this is only xmlHttprequest & XSLT sample.

change XSLT for your feed.

-------------------------------------
samaple XSLT
<xsl:stylesheet>

<xsl:template match="/">

<xsl:apply-templates select="rss/channel/item"/>

</xsl:template>

<xsl:template match="rss/channel/item">

<xsl:element name="a"><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute>

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

</xsl:element>

<br/>

</xsl:template>

</xsl:stylesheet>


Posted by at 3:50 PM
Categories: