Search
Free Signup | Login

 button_discuss_50x50.gifMarketing Forum

 
 
  Profitimo Marketing Community  Design and Deve...  CSS, Style, and...  XSL Stylesheet Templates
Disabled Previous
 
Next Next
New Post 7/12/2007 11:44 PM
  mchowdhury
5 posts
No Ranking


XSL Stylesheet Templates 
<?xml version="1.0"?>
<!-- Edited by Lee Sykes DNN Creative Magazine http://www.dnncreative.com -->
<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() &lt; 5">
    <br>
 <!-- to open links in a new window, change target="_main" to target="_new" -->
    <strong><a style="color:#800000; text-decoration:none" 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 disable-output-escaping="yes" select="substring(description,0,100)"/>...
    </br>
    <br></br>
  </xsl:if>
  </xsl:for-each>
</xsl:template>
<xsl:template match="description">
  <br>
    <xsl:value-of select="."/>
  </br>
</xsl:template>
</xsl:stylesheet>

--------------------------------------------------------------------------------
www.profitimo.com - Free SEO Report for your site!
 
New Post 7/12/2007 11:46 PM
  mchowdhury
5 posts
No Ranking


Re: XSL Stylesheet Templates 
--------------- Copy & Paste below into a notepad -------------------------
 
<?xml version="1.0"?>
<!-- Edited by Lee Sykes DNN Creative Magazine http://www.dnncreative.com -->
<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() &lt; 5">
    <br>
 <!-- to open links in a new window, change target="_main" to target="_new" -->
    <strong><a style="color:#800000; text-decoration:none" href="{link}"  target="_main"><xsl:value-of select="title"/></a></strong><br></br>
    </br>
    <br></br>
  </xsl:if>
  </xsl:for-each>
</xsl:template>
<xsl:template match="description">
  <br>
    <xsl:value-of select="."/>
  </br>
</xsl:template>
</xsl:stylesheet>
 

--------------------------------------------------------------------------------
www.profitimo.com - Free SEO Report for your site!
 
New Post 7/12/2007 11:48 PM
  mchowdhury
5 posts
No Ranking


Re: XSL Stylesheet Templates 
------------------- COpy & Paste below ----------------------------
 
<?xml version="1.0"?>
<!-- Edited by Lee Sykes DNN Creative Magazine http://www.dnncreative.com -->
<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() &lt; 11">
    <br>
 <!-- to open links in a new window, change target="_main" to target="_new" -->
    <strong><a style="color:#9acd32; text-decoration:none" href="{link}" target="_main"><xsl:value-of select="title"/></a></strong><br></br>
    </br>
  </xsl:if>
  </xsl:for-each>
</xsl:template>
<xsl:template match="description">
  <br>
    <xsl:value-of select="."/>
  </br>
</xsl:template>
</xsl:stylesheet>
 

--------------------------------------------------------------------------------
www.profitimo.com - Free SEO Report for your site!
 
Disabled Previous
 
Next Next
  Profitimo Marketing Community  Design and Deve...  CSS, Style, and...  XSL Stylesheet Templates
Syndicate  

 You must log in to post or reply. Free Sign Up

New! Send Pvt msg & Add Avatars to profile 

Tools

Print this page Print

Get Free Widget Content 
Send us an article or joke! 
Get a link back on Profitimo

 

Get Free SEO Report

Learn About SEO
Are You on Linked In?
Monetize on Social Networks
3 Reasons to Use Twitter
Benefits of Using Style Sheets
Links
Blogroll
Recent Posts

Tracking by Google Analytics