Add rss.xml since RSS is working now

This commit is contained in:
emma 2024-07-26 06:36:24 -04:00
parent 6ccaf4e4cc
commit 483798dba7
3 changed files with 46 additions and 29 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
img/
__pycache__/
rss.xml
.secrets

View File

@ -1,29 +1,29 @@
<htmL lang="en">
<head>
<title>One cat per day!</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://api.fonts.coollabs.io/icon?family=Material+Icons">
</head>
<body>
<header>
<nav>
<div class="greeting">
<h1>One cat per day!</h1>
</div>
<div class="buttons">
<a href="rss.html" target="_blank" rel="noopener noreferrer"><button><span class="material-icons">rss_feed</span><span>Subscribe via RSS</span></button></a>
<a href="https://git.32bit.cafe/zepp/onecatper.day" target="_blank" rel="noopener noreferrer"><button><span class="material-icons">terminal</span><span>Check out the code</span></button></a>
</div>
</nav>
</header>
<main>
<!-- a more descriptive alt text is not possible, I can only know ahead of time that one or more catss will be in the image -->
<img class = "cat-img" src=img/cat2024-07-25-12:12:20.jpg alt="A picture of a cat">
</main>
<footer>
<p>Made by <a href="https://zepp.omg.lol" target="_blank" rel="noopener noreferrer">zepp</a> for the love of cats. </p>
</footer>
</body>
</htmL>
<head>
<title>One cat per day!</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://api.fonts.coollabs.io/icon?family=Material+Icons">
</head>
<body>
<header>
<nav>
<div class="greeting">
<h1>One cat per day!</h1>
</div>
<div class="buttons">
<a href="rss.html" target="_blank" rel="noopener noreferrer"><button><span class="material-icons">rss_feed</span><span>Subscribe via RSS</span></button></a>
<a href="https://git.32bit.cafe/zepp/onecatper.day" target="_blank" rel="noopener noreferrer"><button><span class="material-icons">terminal</span><span>Check out the code</span></button></a>
</div>
</nav>
</header>
<main>
<!-- a more descriptive alt text is not possible, I can only know ahead of time that one or more catss will be in the image -->
<img class = "cat-img" src=img/cat2024-07-26-06:33:46.jpg alt="A picture of a cat">
</main>
<footer>
<p>Made by <a href="https://zepp.omg.lol" target="_blank" rel="noopener noreferrer">zepp</a> for the love of cats. </p>
</footer>
</body>
</htmL>

18
rss.xml Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>One cat per day!</title>
<link>https://onecatper.day</link>
<description>Source page: https://onecatper.day</description>
<language>en</language>
<lastBuildDate>Thu, 25 Jul 2024 08:45:26 -0500</lastBuildDate>
<item>
<title>One cat per day!</title>
<link>https://onecatper.day#51206624887025023861521980444894</link>
<description>One cat per day!</description>
<pubDate>Thu, 25 Jul 2024 08:45:26 -0500</pubDate>
<guid isPermaLink="false">https://onecatper.day#74023302225875889632231955345164</guid>
<enclosure length="1000000" type="image/jpeg" url="https://onecatper.day/img/cat2024-07-2508:45:25.jpg"/>
</item>
</channel>
</rss>