added slash command for rss

This commit is contained in:
2025-04-07 02:39:21 +10:00
parent a91df8a506
commit 657b05c479
2 changed files with 10 additions and 2 deletions

View File

@@ -11,14 +11,14 @@ XML_BEGIN_RECENT = """<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"
<description>Torfiles RSS Feed</description>
<language>en</language>
<ttl>5</ttl>
<atom:link href="http://rss.torfiles.fieryeagle.org" rel="self" type="application/rss+xml" />"""
<atom:link href="https://rss.torfiles.fieryeagle.org/recent_25.xml" rel="self" type="application/rss+xml" />"""
XML_BEGIN_LAST = """<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Torfiles Last 48h</title>
<link>https://torfiles.fieryeagle.org</link>
<description>Torfiles RSS Feed</description>
<language>en</language>
<ttl>5</ttl>
<atom:link href="http://rss48h.torfiles.fieryeagle.org" rel="self" type="application/rss+xml" />"""
<atom:link href="https://rss.torfiles.fieryeagle.org/latest_48h.xml" rel="self" type="application/rss+xml" />"""
XML_END = """</channel></rss>"""