aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/feed.rss
diff options
context:
space:
mode:
authorLibravatar Choom 2023-01-15 03:12:48 -0300
committerLibravatar Choom 2023-01-16 14:37:04 -0300
commit4c31093827f57394563de037a21143407586e384 (patch)
treeb16abeb0dc76e48e11f8c0264fa39ce6294458d2 /cgi/templates/feed.rss
parent44f7397cf7a7596edea78864122b78d59983701e (diff)
downloadweabot-4c31093827f57394563de037a21143407586e384.tar.gz
weabot-4c31093827f57394563de037a21143407586e384.tar.xz
weabot-4c31093827f57394563de037a21143407586e384.zip
Autorefresh en home
Diffstat (limited to 'cgi/templates/feed.rss')
-rw-r--r--cgi/templates/feed.rss25
1 files changed, 25 insertions, 0 deletions
diff --git a/cgi/templates/feed.rss b/cgi/templates/feed.rss
new file mode 100644
index 0000000..dfce578
--- /dev/null
+++ b/cgi/templates/feed.rss
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<rss version="2.0">
+ <channel>
+ <title>Bienvenido a Internet BBS/IB</title>
+ <link>https://bienvenidoainternet.org/</link>
+ <description>El BBS/IB más activo de la esfera hispana.</description>
+ <language>es</language>
+ <webMaster>burocracia@bienvenidoainternet.org (Staff ★)</webMaster>
+ <image>
+ <url>https://bienvenidoainternet.org/rss_logo.png</url>
+ <title>Bienvenido a Internet BBS/IB</title>
+ <link>https://bienvenidoainternet.org/</link>
+ <width>144</width>
+ <height>144</height>
+ </image>
+ <?py for post in posts: ?>
+ <item>
+ <title>${post['board_name']}: #{post['content']}</title>
+ <pubDate>${post['timestamp_formatted']}</pubDate>
+ <link>https://bienvenidoainternet.org#{post['url']}</link>
+ <description>${post['content']}</description>
+ </item>
+ <?py #endfor ?>
+ </channel>
+</rss>