diff --git a/Common/UserContext.cs b/Common/UserContext.cs index 680e663..d12c4af 100644 --- a/Common/UserContext.cs +++ b/Common/UserContext.cs @@ -46,7 +46,8 @@ namespace FLocal.Common { new XElement("hour", dateTime.Hour), new XElement("minute", dateTime.Minute), new XElement("second", dateTime.Second), - new XElement("ticks", dateTime.Ticks) + new XElement("ticks", dateTime.Ticks), + new XElement("rss", dateTime.ToString("o")) ); } diff --git a/templates/Rss/AllPosts.xslt b/templates/Rss/AllPosts.xslt new file mode 100644 index 0000000..5de5503 --- /dev/null +++ b/templates/Rss/AllPosts.xslt @@ -0,0 +1,12 @@ + + + + + + Все сообщения + + + + + + \ No newline at end of file diff --git a/templates/Rss/elems/Main.xslt b/templates/Rss/elems/Main.xslt new file mode 100644 index 0000000..1854207 --- /dev/null +++ b/templates/Rss/elems/Main.xslt @@ -0,0 +1,44 @@ + + + + + + https:// + + : + + + + 443 + + + + + + RSS Title + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/Rss/elems/PostInfo.xslt b/templates/Rss/elems/PostInfo.xslt new file mode 100644 index 0000000..27b66ed --- /dev/null +++ b/templates/Rss/elems/PostInfo.xslt @@ -0,0 +1,30 @@ + + + + + + + <xsl:value-of select="title"/> + <xsl:text> от </xsl:text> + <xsl:value-of select="poster/user/name"/> + + + + + + + /Post/ + + / + + + post- + + + + + + + + + \ No newline at end of file