parent
7707ec40cf
commit
53d6498d29
@ -1 +1 @@ |
||||
1287 |
||||
1293 |
After Width: | Height: | Size: 122 B |
@ -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\ThreadInfo.xslt"/> |
||||
<xsl:template name="specificTitle"> |
||||
<xsl:text>Âñå òåìû</xsl:text> |
||||
</xsl:template> |
||||
<xsl:template name="specific"> |
||||
<xsl:apply-templates select="threads/thread"/> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -0,0 +1,12 @@ |
||||
<?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\ThreadInfo.xslt"/> |
||||
<xsl:template name="specificTitle"> |
||||
<xsl:text>Òåìû ðàçäåëà </xsl:text> |
||||
<xsl:value-of select="currentLocation/board/name"/> |
||||
</xsl:template> |
||||
<xsl:template name="specific"> |
||||
<xsl:apply-templates select="threads/thread"/> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -0,0 +1,12 @@ |
||||
<?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:text>Ñîîáùåíèÿ ïîëüçîâàòåëÿ </xsl:text> |
||||
<xsl:value-of select="user/name"/> |
||||
</xsl:template> |
||||
<xsl:template name="specific"> |
||||
<xsl:apply-templates select="posts/post"/> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -0,0 +1,12 @@ |
||||
<?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:text>Îòâåòû ïîëüçîâàòåëþ </xsl:text> |
||||
<xsl:value-of select="user/name"/> |
||||
</xsl:template> |
||||
<xsl:template name="specific"> |
||||
<xsl:apply-templates select="posts/post"/> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -0,0 +1,12 @@ |
||||
<?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\ThreadInfo.xslt"/> |
||||
<xsl:template name="specificTitle"> |
||||
<xsl:text>Òåìû ïîëüçîâàòåëÿ </xsl:text> |
||||
<xsl:value-of select="user/name"/> |
||||
</xsl:template> |
||||
<xsl:template name="specific"> |
||||
<xsl:apply-templates select="threads/thread"/> |
||||
</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="thread"> |
||||
<item> |
||||
<title> |
||||
<xsl:text>Íîâîå ñîîáùåíèå â îáñóæäåíèè </xsl:text> |
||||
<xsl:value-of select="title"/> |
||||
</title> |
||||
<description> |
||||
<xsl:text>Âñåãî â îáñóæäåíèè </xsl:text> |
||||
<xsl:value-of select="totalPosts"/> |
||||
<xsl:text> ñîîáùåíèé</xsl:text> |
||||
<xsl:if test="totalNewPosts > 0"> |
||||
<xsl:text>, èç íèõ </xsl:text> |
||||
<xsl:value-of select="totalNewPosts"/> |
||||
<xsl:text> íåïðî÷èòàííûõ</xsl:text> |
||||
</xsl:if> |
||||
</description> |
||||
<link> |
||||
<xsl:value-of select="$mainUrl"/> |
||||
<xsl:text>/Thread/</xsl:text> |
||||
<xsl:value-of select="id"/> |
||||
<xsl:text>/</xsl:text> |
||||
<xsl:if test="totalNewPosts and totalNewPosts!='0'"> |
||||
<xsl:text>p</xsl:text> |
||||
<xsl:value-of select="afterLastRead"/> |
||||
</xsl:if> |
||||
</link> |
||||
<guid> |
||||
<xsl:text>thread-</xsl:text> |
||||
<xsl:value-of select="id"/> |
||||
<xsl:text>-</xsl:text> |
||||
<xsl:value-of select="lastPostId"/> |
||||
</guid> |
||||
<pubDate> |
||||
<xsl:apply-templates select="lastPostDate/date" mode="dateTime"/> |
||||
</pubDate> |
||||
</item> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
Loading…
Reference in new issue