added RSS feeds

This commit is contained in:
DeaDvey 2023-12-24 00:19:49 +00:00
parent 99f3abbed2
commit d17bbcd871
6 changed files with 49 additions and 4 deletions

BIN
.template.js.swp Normal file

Binary file not shown.

View File

@ -1,5 +1,10 @@
let blogs = [["Late December Update Before Christmas","Hey guys, so I have been trying out Nextcloud since I did the last blog and I really like it, it's very good, the calendar especially, I think I definately prefer it to Proton Drive and Calendar because it's way better intergreated in to apps and stuff, there's also apps for it on the Ubuntu Touch store, which lacks Proton apps, the notes are also great as is the RSS reader that I can sync. Secondly, I have also began watching Attack on Titan again as my freind has been going on about it, I'm readig the Manga but it is so slow, so I'll probably keep watching the Animé which I like. Christmas is in a few days and we break up tommorow which is pretty exiting and I'll see some family, I think I'm getting the <a href='https://www.raspberrypi.com/products/raspberry-pi-5/'>Raspberry Pi 5</a> which is cool. Finally, I got the <a href='https://store.steampowered.com/app/582160/Assassins_Creed_Origins/'>Assassins Creed Origins game</a> which I already had on PS4 but now I have on Steam because it was on sale, but I can't get it to work so I'll have to figure that out over the weekend, anyway, that is probably it for today.<br/>Fly You High - DeaDvey<br/><img src='https://searx.be/image_proxy?url=https%3A%2F%2Fi.pinimg.com%2F236x%2Fc5%2F7f%2Fe1%2Fc57fe1d506c6a3aa53bd953199b7ea9f.jpg&h=60634c3b8432ca80d66386441593891a87a58ae6ec4810c40a64a665b0e677fc' height='200' alt='An image of Assassins Creed Origins' /><img src='https://upload.wikimedia.org/wikipedia/commons/9/98/23551-Raspberry-Pi-5-8G-feature.jpg' height='200' alt='An image of a Raspberry Pi 5'/>","21/12/2023"],
let blogs = [["RSS feeds and Star Wars Squadrons", "Hey people (person(me)), I just updated my website to have an <a href='https://en.wikipedia.org/wiki/RSS'>RSS Feed</a> so that I can read them in Fluent Reader or Nextcloud News, the two RSS readers I use mostly, I cannot get them all to show up in Nextcloud News however, only the most recent one, maybe an issue with the formating? Ah well, I'll try troubleshoot that I guess. Secondly, I recently got the game <a href='https://store.steampowered.com/app/1222730/STAR_WARS_Squadrons/'>Star Wars Squadrons</a> on my PC after already having played it on my PS4 and I was surprised at the poor reviews, I always found the game really fun and the integrated HUD really fun to use, guess I just am different lol, anyway<br/> Fly You High - DeaDvey<br/><img src='https://cdn.cloudflare.steamstatic.com/steam/apps/1222730/header.jpg?t=1662047498' />", "23/12/2023"],
["Late December Update Before Christmas","Hey guys, so I have been trying out Nextcloud since I did the last blog and I really like it, it's very good, the calendar especially, I think I definately prefer it to Proton Drive and Calendar because it's way better intergreated in to apps and stuff, there's also apps for it on the Ubuntu Touch store, which lacks Proton apps, the notes are also great as is the RSS reader that I can sync. Secondly, I have also began watching Attack on Titan again as my freind has been going on about it, I'm readig the Manga but it is so slow, so I'll probably keep watching the Animé which I like. Christmas is in a few days and we break up tommorow which is pretty exiting and I'll see some family, I think I'm getting the <a href='https://www.raspberrypi.com/products/raspberry-pi-5/'>Raspberry Pi 5</a> which is cool. Finally, I got the <a href='https://store.steampowered.com/app/582160/Assassins_Creed_Origins/'>Assassins Creed Origins game</a> which I already had on PS4 but now I have on Steam because it was on sale, but I can't get it to work so I'll have to figure that out over the weekend, anyway, that is probably it for today.<br/>Fly You High - DeaDvey<br/><img src='https://searx.be/image_proxy?url=https%3A%2F%2Fi.pinimg.com%2F236x%2Fc5%2F7f%2Fe1%2Fc57fe1d506c6a3aa53bd953199b7ea9f.jpg&h=60634c3b8432ca80d66386441593891a87a58ae6ec4810c40a64a665b0e677fc' height='200' alt='An image of Assassins Creed Origins' /><img src='https://upload.wikimedia.org/wikipedia/commons/9/98/23551-Raspberry-Pi-5-8G-feature.jpg' height='200' alt='An image of a Raspberry Pi 5'/>","21/12/2023"],
["I didn't like Wordpress","So... Yeah, I didn't like wordpress very much, it's pretty clunky and I don't have much control over the webpage, and it's kinda not that fun to use, I'm glad I tried it out though because I kind of know how to use it know I suppose, I might copy over the wordpress back over to this so I can use it myself for fun I suppose.","11/12/2023"],
["Test post2", "Testicy Test","10/12/2023"],
["Test post", "Testy test!","10/12/2023"]]
if (typeof module !== 'undefined' && module.exports) {
module.exports = blogs;
}

38
blog/feed.xml Normal file
View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>DeaDvey</title>
<link>https://deadvey.com</link>
<description>Just talking about life and stuff I guess</description>
<item>
<title>RSS feeds and Star Wars Squadrons</title>
<link>https://deadvey.com/blog</link>
<description>Hey people (person(me)), I just updated my website to have an &lt;a href=&#39;https://en.wikipedia.org/wiki/RSS&#39;&gt;RSS Feed&lt;/a&gt; so that I can read them in Fluent Reader or Nextcloud News, the two RSS readers I use mostly, I cannot get them all to show up in Nextcloud News however, only the most recent one, maybe an issue with the formating? Ah well, I&#39;ll try troubleshoot that I guess. Secondly, I recently got the game &lt;a href=&#39;https://store.steampowered.com/app/1222730/STAR_WARS_Squadrons/&#39;&gt;Star Wars Squadrons&lt;/a&gt; on my PC after already having played it on my PS4 and I was surprised at the poor reviews, I always found the game really fun and the integrated HUD really fun to use, guess I just am different lol, anyway&lt;br/&gt; Fly You High - DeaDvey&lt;br/&gt;&lt;img src=&#39;https://cdn.cloudflare.steamstatic.com/steam/apps/1222730/header.jpg?t=1662047498&#39; /&gt;</description>
<pubDate>2023-12-23</pubDate>
</item>
<item>
<title>Late December Update Before Christmas</title>
<link>https://deadvey.com/blog</link>
<description>Hey guys, so I have been trying out Nextcloud since I did the last blog and I really like it, it&#39;s very good, the calendar especially, I think I definately prefer it to Proton Drive and Calendar because it&#39;s way better intergreated in to apps and stuff, there&#39;s also apps for it on the Ubuntu Touch store, which lacks Proton apps, the notes are also great as is the RSS reader that I can sync. Secondly, I have also began watching Attack on Titan again as my freind has been going on about it, I&#39;m readig the Manga but it is so slow, so I&#39;ll probably keep watching the Animé which I like. Christmas is in a few days and we break up tommorow which is pretty exiting and I&#39;ll see some family, I think I&#39;m getting the &lt;a href=&#39;https://www.raspberrypi.com/products/raspberry-pi-5/&#39;&gt;Raspberry Pi 5&lt;/a&gt; which is cool. Finally, I got the &lt;a href=&#39;https://store.steampowered.com/app/582160/Assassins_Creed_Origins/&#39;&gt;Assassins Creed Origins game&lt;/a&gt; which I already had on PS4 but now I have on Steam because it was on sale, but I can&#39;t get it to work so I&#39;ll have to figure that out over the weekend, anyway, that is probably it for today.&lt;br/&gt;Fly You High - DeaDvey&lt;br/&gt;&lt;img src=&#39;https://searx.be/image_proxy?url=https%3A%2F%2Fi.pinimg.com%2F236x%2Fc5%2F7f%2Fe1%2Fc57fe1d506c6a3aa53bd953199b7ea9f.jpg&amp;h=60634c3b8432ca80d66386441593891a87a58ae6ec4810c40a64a665b0e677fc&#39; height=&#39;200&#39; alt=&#39;An image of Assassins Creed Origins&#39; /&gt;&lt;img src=&#39;https://upload.wikimedia.org/wikipedia/commons/9/98/23551-Raspberry-Pi-5-8G-feature.jpg&#39; height=&#39;200&#39; alt=&#39;An image of a Raspberry Pi 5&#39;/&gt;</description>
<pubDate>2023-12-21</pubDate>
</item>
<item>
<title>I didn&#39;t like Wordpress</title>
<link>https://deadvey.com/blog</link>
<description>So... Yeah, I didn&#39;t like wordpress very much, it&#39;s pretty clunky and I don&#39;t have much control over the webpage, and it&#39;s kinda not that fun to use, I&#39;m glad I tried it out though because I kind of know how to use it know I suppose, I might copy over the wordpress back over to this so I can use it myself for fun I suppose.</description>
<pubDate>2023-12-11</pubDate>
</item>
<item>
<title>Test post2</title>
<link>https://deadvey.com/blog</link>
<description>Testicy Test</description>
<pubDate>2023-12-10</pubDate>
</item>
<item>
<title>Test post</title>
<link>https://deadvey.com/blog</link>
<description>Testy test!</description>
<pubDate>2023-12-10</pubDate>
</item>
</channel>
</rss>

View File

@ -18,7 +18,8 @@ let newPageHTML = `
</head>
<body>
<div class="header main">
<img class="header-image" /><br/><a href="../index.html">Home page</a> <a href="/blog/index.html">Blogs</a> <a href="/videos/index.html">Videos</a>
<img class="header-image" /><br/><a href="http://deadvey.com">Home page</a> | <a href="index.html">Blogs</a> <a href="feed.xml"><img width="16" src="../feedIcon.png" /></a> | <a href="../videos/index.html">Videos</a>
</div>
<hr/>
<div class="main">
@ -63,7 +64,8 @@ function loadContent(page, content, header, date) {
</head>
<body>
<div class="header main">
<img class="header-image" /><br/><a href="../index.html">Home page</a> <a href="/blog/index.html">Blogs</a> <a href="/videos/index.html">Videos</a>
<img class="header-image" /><br/><a href="http://deadvey.com">Home page</a> | <a href="index.html">Blogs</a> <a href="feed.xml"><img width="16" src="../feedIcon.png" /></a> | <a href="../videos/index.html">Videos</a>
</div>
<hr/>
<div class="main">

BIN
feedIcon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -14,7 +14,7 @@ let newPageHTML = `
</head>
<body>
<div class="header main">
<img class="header-image" /><br/><a href="http://deadvey.com">Home page</a> <a href="blog/index.html">Blogs</a> <a href="videos/index.html">Videos</a>
<img class="header-image" /><br/><a href="http://deadvey.com">Home page</a> | <a href="blog/index.html">Blogs</a> <a href="blog/feed.xml"><img width="16" src="feedIcon.png" /></a> | <a href="videos/index.html">Videos</a>
</div>
<hr/>
<div class="main">