This is an automated email from the ASF dual-hosted git repository.

gopuman pushed a commit to branch gopuman-rss
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb-blog.git

commit 74b8f769278a5ae08211b3fa9a2a340e6a3f51ba
Author: Gopal Nambiar <[email protected]>
AuthorDate: Fri Nov 8 11:37:39 2024 -0800

    Add RSS support
---
 feed.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/feed.xml b/feed.xml
new file mode 100644
index 0000000..009cf64
--- /dev/null
+++ b/feed.xml
@@ -0,0 +1,21 @@
+---
+layout: none
+---
+<?xml version="1.0" encoding="UTF-8"?>
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom";>
+  <channel>
+    <title>{{ site.name | xml_escape }}</title>
+    <description>{{ site.description | xml_escape }}</description>
+    <link>{{ site.url }}</link>
+    <atom:link href="{{ site.url }}/feed.xml" rel="self" 
type="application/rss+xml" />
+    {% for post in site.posts limit:50 %}
+      <item>
+        <title>{{ post.title | xml_escape }}</title>
+        <description>{{ post.content | xml_escape }}</description>
+        <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
+        <link>{{ site.url }}/{{ post.url }}</link>
+        <guid isPermaLink="true">{{ site.url }}/{{ post.url }}</guid>
+      </item>
+    {% endfor %}
+  </channel>
+</rss>
\ No newline at end of file

Reply via email to