Click here to Skip to main content
15,867,750 members
Articles / Programming Languages / Visual Basic

RSS Feed Aggregator and Blogging Smart Client

Rate me:
Please Sign up or sign in to vote.
4.91/5 (85 votes)
16 Aug 2005CPOL52 min read 1.1M   2.4K   397  
RSS Feed aggregator and blogging Smart Client which uses Enterprise Library, Updater Application Block, lots of XML hacks and desktop tricks. A comprehensive guide to real life hurdles of Smart Client development.
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rss="http://purl.org/rss/1.0/" xmlns="http://www.w3.org/1999/xhtml" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">

<xsl:output method="html"/>

<xsl:template match="/">

<html>
	<body>
	
         <style>
         <![CDATA[
         
         BODY, A, TD, P
         {
         background-color: white;
			font-family: "Trebuchet MS", Tahoma, Verdana, Arial;
         }

		HR { clear:all; color: #CCCCCC; height: 1;	border: 1px dashed;}

		a:link { color: #003399; text-decoration: none;}
		a:visited { color: #003399; text-decoration: none;}
		a:hover { color: #ff9900; text-decoration: underline;}

		a img 
		{
			border-width:0;
		}
		
		small
		{
			color: dimgray;
		}

		]]>
         </style>

      <xsl:apply-templates select="item" />
      
   </body>
</html>      
      
</xsl:template>

   <xsl:template match="item">
         ##DESCRIPTION##
         
         <p>
         <b><a href="{link}" target="_blank"><xsl:value-of select="title" /></a></b>        
         </p>
         
         <p><small>
         
         <xsl:if test="dc:creator">
         Author: <xsl:value-of select="dc:creator" /> |
         </xsl:if>

         <xsl:if test="category">
         Category: <xsl:value-of select="category" /> |
         </xsl:if>
         
         Date: <xsl:value-of select="pubDate" /> |
         
         <xsl:if test="slash:comments">
         Comments: <xsl:value-of select="slash:comments" /> |
         </xsl:if>
         
         <xsl:if test="comments">
         Comments: <xsl:value-of select="comments" /> |
         </xsl:if>
         
         <xsl:if test="source">
         Source: <xsl:value-of select="source" /> |
         </xsl:if>
         
         <a href="{link}" target="_blank">View</a>
         
         </small> </p>
	</xsl:template>

</xsl:stylesheet>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect BT, UK (ex British Telecom)
United Kingdom United Kingdom

Comments and Discussions