Add rss.xml since RSS is working now

This commit is contained in:
zepp 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/ img/
__pycache__/ __pycache__/
rss.xml
.secrets .secrets

View File

@ -1,29 +1,29 @@
<htmL lang="en"> <htmL lang="en">
<head> <head>
<title>One cat per day!</title> <title>One cat per day!</title>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://api.fonts.coollabs.io/icon?family=Material+Icons"> <link rel="stylesheet" href="https://api.fonts.coollabs.io/icon?family=Material+Icons">
</head> </head>
<body> <body>
<header> <header>
<nav> <nav>
<div class="greeting"> <div class="greeting">
<h1>One cat per day!</h1> <h1>One cat per day!</h1>
</div> </div>
<div class="buttons"> <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="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> <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> </div>
</nav> </nav>
</header> </header>
<main> <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 --> <!-- 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"> <img class = "cat-img" src=img/cat2024-07-26-06:33:46.jpg alt="A picture of a cat">
</main> </main>
<footer> <footer>
<p>Made by <a href="https://zepp.omg.lol" target="_blank" rel="noopener noreferrer">zepp</a> for the love of cats. </p> <p>Made by <a href="https://zepp.omg.lol" target="_blank" rel="noopener noreferrer">zepp</a> for the love of cats. </p>
</footer> </footer>
</body> </body>
</htmL> </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>