From 61f20dcb91b830bc1e7aae0c35af8b62f551cd72 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Thu, 16 Sep 2010 18:25:28 +0000 Subject: [PATCH] More RSS feeds --- Builder/IISMainHandler/build.txt | 2 +- templates/Full/Conversations.xslt | 2 ++ templates/Full/Thread.xslt | 7 ++-- templates/Full/WhoIsOnline.xslt | 1 + templates/Rss/Conversations.xslt | 11 ++++++ templates/Rss/Thread.xslt | 11 ++++++ templates/Rss/WhoIsOnline.xslt | 34 ++++++++++++++++++ templates/Rss/elems/ConversationInfo.xslt | 42 +++++++++++++++++++++++ 8 files changed, 107 insertions(+), 3 deletions(-) create mode 100644 templates/Rss/Conversations.xslt create mode 100644 templates/Rss/Thread.xslt create mode 100644 templates/Rss/WhoIsOnline.xslt create mode 100644 templates/Rss/elems/ConversationInfo.xslt diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 8acff5e..8086b0f 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -1364 \ No newline at end of file +1366 \ No newline at end of file diff --git a/templates/Full/Conversations.xslt b/templates/Full/Conversations.xslt index 032a0fd..5a444ba 100644 --- a/templates/Full/Conversations.xslt +++ b/templates/Full/Conversations.xslt @@ -4,6 +4,8 @@ Личные сообщения true + true + /My/Conversations/ diff --git a/templates/Full/Thread.xslt b/templates/Full/Thread.xslt index d3324ef..bb695e1 100644 --- a/templates/Full/Thread.xslt +++ b/templates/Full/Thread.xslt @@ -6,6 +6,9 @@ true + true + /Thread// + 0/reversed @@ -22,7 +25,7 @@ @@ -39,7 +42,7 @@ diff --git a/templates/Full/WhoIsOnline.xslt b/templates/Full/WhoIsOnline.xslt index 8d73b20..586bcc2 100644 --- a/templates/Full/WhoIsOnline.xslt +++ b/templates/Full/WhoIsOnline.xslt @@ -2,6 +2,7 @@ Пользователи + true
страницы: - /Thread// +
страницы: - /Thread// +
diff --git a/templates/Rss/Conversations.xslt b/templates/Rss/Conversations.xslt new file mode 100644 index 0000000..89b4a4b --- /dev/null +++ b/templates/Rss/Conversations.xslt @@ -0,0 +1,11 @@ + + + + + + Личные сообщения + + + + + \ No newline at end of file diff --git a/templates/Rss/Thread.xslt b/templates/Rss/Thread.xslt new file mode 100644 index 0000000..8027d6e --- /dev/null +++ b/templates/Rss/Thread.xslt @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/templates/Rss/WhoIsOnline.xslt b/templates/Rss/WhoIsOnline.xslt new file mode 100644 index 0000000..6b47f33 --- /dev/null +++ b/templates/Rss/WhoIsOnline.xslt @@ -0,0 +1,34 @@ + + + + Кто в онлайне + + + + + + + + <xsl:value-of select="name"/> + + + Посещает + + + + + /Users/Online/ + + + online- + + - + + + + + + + + + \ No newline at end of file diff --git a/templates/Rss/elems/ConversationInfo.xslt b/templates/Rss/elems/ConversationInfo.xslt new file mode 100644 index 0000000..89a24f7 --- /dev/null +++ b/templates/Rss/elems/ConversationInfo.xslt @@ -0,0 +1,42 @@ + + + + + + + <xsl:text>Новое сообщение в общении с пользователем </xsl:text> + <xsl:value-of select="interlocutor/account/user/name"/> + + + Всего в обсуждении + + сообщений + + , из них + + непрочитанных + + + + + /My/Conversations/Conversation/ + + / + + p + + + + + conversation- + + - + + + + + + + + + \ No newline at end of file