parent
41f9ed3c67
commit
61f20dcb91
@ -1 +1 @@ |
||||
1364 |
||||
1366 |
@ -0,0 +1,11 @@ |
||||
<?xml version="1.0" encoding="Windows-1251"?> |
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||
<xsl:import href="elems\Main.xslt"/> |
||||
<xsl:import href="elems\ConversationInfo.xslt"/> |
||||
<xsl:template name="specificTitle"> |
||||
<xsl:text>Ëè÷íûå ñîîáùåíèÿ</xsl:text> |
||||
</xsl:template> |
||||
<xsl:template name="specific"> |
||||
<xsl:apply-templates select="conversations/conversation"/> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -0,0 +1,11 @@ |
||||
<?xml version="1.0" encoding="Windows-1251"?> |
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||
<xsl:import href="elems\Main.xslt"/> |
||||
<xsl:import href="elems\PostInfo.xslt"/> |
||||
<xsl:template name="specificTitle"> |
||||
<xsl:value-of select="currentLocation/thread/name"/> |
||||
</xsl:template> |
||||
<xsl:template name="specific"> |
||||
<xsl:apply-templates select="posts/post"/> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -0,0 +1,34 @@ |
||||
<?xml version="1.0" encoding="Windows-1251"?> |
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||
<xsl:import href="elems\Main.xslt"/> |
||||
<xsl:template name="specificTitle">Êòî â îíëàéíå</xsl:template> |
||||
<xsl:template name="specific"> |
||||
<xsl:apply-templates select="users/user"/> |
||||
</xsl:template> |
||||
|
||||
<xsl:template match="users/user"> |
||||
<item> |
||||
<title> |
||||
<xsl:value-of select="name"/> |
||||
</title> |
||||
<description> |
||||
<xsl:text>Ïîñåùàåò </xsl:text> |
||||
<xsl:value-of select="lastUrl"/> |
||||
</description> |
||||
<link> |
||||
<xsl:value-of select="$mainUrl"/> |
||||
<xsl:text>/Users/Online/</xsl:text> |
||||
</link> |
||||
<guid> |
||||
<xsl:text>online-</xsl:text> |
||||
<xsl:value-of select="id"/> |
||||
<xsl:text>-</xsl:text> |
||||
<xsl:value-of select="lastActivity/date/ticks"/> |
||||
</guid> |
||||
<pubDate> |
||||
<xsl:apply-templates select="lastActivity/date" mode="dateTime"/> |
||||
</pubDate> |
||||
</item> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,42 @@ |
||||
<?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>Íîâîå ñîîáùåíèå â îáùåíèè ñ ïîëüçîâàòåëåì </xsl:text> |
||||
<xsl:value-of select="interlocutor/account/user/name"/> |
||||
</title> |
||||
<description> |
||||
<xsl:text>Âñåãî â îáñóæäåíèè </xsl:text> |
||||
<xsl:value-of select="totalMessages"/> |
||||
<xsl:text> ñîîáùåíèé</xsl:text> |
||||
<xsl:if test="totalNewMessages > 0"> |
||||
<xsl:text>, èç íèõ </xsl:text> |
||||
<xsl:value-of select="totalNewMessages"/> |
||||
<xsl:text> íåïðî÷èòàííûõ</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> |
Loading…
Reference in new issue