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.
|
|
|
|
<?xml version="1.0" encoding="Windows-1251"?>
|
|
|
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
|
|
|
|
|
|
|
|
<xsl:template match="conversation">
|
|
|
|
|
<item>
|
|
|
|
|
<title>
|
|
|
|
|
<xsl:text><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> </xsl:text>
|
|
|
|
|
<xsl:value-of select="interlocutor/account/user/name"/>
|
|
|
|
|
</title>
|
|
|
|
|
<description>
|
|
|
|
|
<xsl:text><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> </xsl:text>
|
|
|
|
|
<xsl:value-of select="totalMessages"/>
|
|
|
|
|
<xsl:text> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></xsl:text>
|
|
|
|
|
<xsl:if test="totalNewMessages > 0">
|
|
|
|
|
<xsl:text>, <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> </xsl:text>
|
|
|
|
|
<xsl:value-of select="totalNewMessages"/>
|
|
|
|
|
<xsl:text> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></xsl:text>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</description>
|
|
|
|
|
<link>
|
|
|
|
|
<xsl:value-of select="$mainUrl"/>
|
|
|
|
|
<xsl:text>/My/Conversations/Conversation/</xsl:text>
|
|
|
|
|
<xsl:value-of select="interlocutor/account/id"/>
|
|
|
|
|
<xsl:text>/</xsl:text>
|
|
|
|
|
<xsl:if test="afterLastRead<=lastMessageId">
|
|
|
|
|
<xsl:text>p</xsl:text>
|
|
|
|
|
<xsl:value-of select="afterLastRead"/>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</link>
|
|
|
|
|
<guid>
|
|
|
|
|
<xsl:text>conversation-</xsl:text>
|
|
|
|
|
<xsl:value-of select="interlocutor/account/id"/>
|
|
|
|
|
<xsl:text>-</xsl:text>
|
|
|
|
|
<xsl:value-of select="lastMessageId"/>
|
|
|
|
|
</guid>
|
|
|
|
|
<pubDate>
|
|
|
|
|
<xsl:apply-templates select="lastMessageDate/date" mode="dateTime"/>
|
|
|
|
|
</pubDate>
|
|
|
|
|
</item>
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
</xsl:stylesheet>
|