An alternative to UBB.threads
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
FLocal/templates/Rss/elems/PostInfo.xslt

34 lines
926 B

<?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="post[hidden]"/>
<xsl:template match="post[not(hidden)]">
<xsl:if test="not(poster/user/name = /root/session/user/name)">
<item>
<title>
<xsl:value-of select="title"/>
<xsl:text> îò </xsl:text>
<xsl:value-of select="poster/user/name"/>
</title>
<description>
<xsl:value-of select="body"/>
</description>
<link>
<xsl:value-of select="$mainUrl"/>
<xsl:text>/Post/</xsl:text>
<xsl:value-of select="id"/>
<xsl:text>/</xsl:text>
</link>
<guid>
<xsl:text>post-</xsl:text>
<xsl:value-of select="id"/>
</guid>
<pubDate>
<xsl:apply-templates select="postDate/date" mode="dateTime"/>
</pubDate>
</item>
</xsl:if>
</xsl:template>
</xsl:stylesheet>