added a sitemap and updated the index cuz apparently i forgot to add a couple things? also updated the error pages while i'm at it
This commit is contained in:
parent
f18012d1f3
commit
c1dcebb98c
28 changed files with 75 additions and 23 deletions
|
@ -5,7 +5,7 @@
|
|||
<title>askiiart.net blog</title>
|
||||
<description>The feed for askiiart.net but just the blog, I guess</description>
|
||||
<link>https://askiiart.net/blog/</link>
|
||||
<lastBuildDate>Wed, 03 Apr 2024 00:51:41 +0000</lastBuildDate>
|
||||
<lastBuildDate>Tue, 13 Aug 2024 16:30:59 +0000</lastBuildDate>
|
||||
<item>
|
||||
<title>300</title>
|
||||
<link>https://askiiart.net/til/300.html</link>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>202 You In My Heart</title></head>
|
||||
<body>
|
||||
<center><h1>202 You In My Heart</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>204 Head Empty No Thoughts</title></head>
|
||||
<body>
|
||||
<center><h1>204 Head Empty No Thoughts</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>300 Poll</title></head>
|
||||
<body>
|
||||
<center><h1>300 Poll</h1><br>57% Yes, 43% No<br>(300 Multiple Choices is the actual error code? Geddit?)</center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>301 Your Princess Is In Another Castle</title></head>
|
||||
<body>
|
||||
<center><h1>301 Your Princess Is In Another Castle</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>401 This Is Against TOS You've Been Reported</title></head>
|
||||
<body>
|
||||
<center><h1>401 This Is Against TOS You've Been Reported</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>402 Come Back When You're a Little MMMMMM Richer</title></head>
|
||||
<body>
|
||||
<center><h1>402 Come Back When You're a Little MMMMMM Richer</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>403 You Shall Not Pass</title></head>
|
||||
<body>
|
||||
<center><h1>403 You Shall Not Pass</h1><br><img src=/assets/you.gif alt="gandalf saying you looped infinitely" width="350"</center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>404 You Made A Typo In The URL, Didn't You?</title></head>
|
||||
<body>
|
||||
<center><h1>404 You Made A Typo In The URL, Didn't You?</h1><br><img src=/assets/boykisser.png alt="boykisser" width="350"</center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>406 I Can't Believe You've Done This</title></head>
|
||||
<body>
|
||||
<center><h1>406 I Can't Believe You've Done This</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>410 Your Father</title></head>
|
||||
<body>
|
||||
<center><h1>410 Your Father</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>413 Me After a Night With Your Mother</title></head>
|
||||
<body>
|
||||
<center><h1>413 Me After a Night With Your Mother</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>417 Me After 20-something Years With My Mother</title></head>
|
||||
<body>
|
||||
<center><h1>417 Me After 20-something Years With My Mother</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>418 I'm a Teapot</title></head>
|
||||
<body>
|
||||
<center><h1>418 I'm a Teapot</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>423 Fine Then, Keep Your Secrets</title></head>
|
||||
<body>
|
||||
<center><h1>423 Fine Then, Keep Your Secrets</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>425 Sorry This Never Happens With Other Women</title></head>
|
||||
<body>
|
||||
<center><h1>425 Sorry This Never Happens With Other Women</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>429 i'm scared stop asking me q.q</title></head>
|
||||
<body>
|
||||
<center><h1>429 i'm scared stop asking me q.q</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>451 Oi, You Got a Loicense For That Mate?</title></head>
|
||||
<body>
|
||||
<center><h1>451 Oi, You Got a Loicense For That Mate?</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>502 Forgive Me Father For My Gateway Has Sinned</title></head>
|
||||
<body>
|
||||
<center><h1>502 Forgive Me Father For My Gateway Has Sinned</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>504 Gateway died on the way back from its home planet</title></head>
|
||||
<body>
|
||||
<center><h1>504 Gateway died on the way back from its home planet</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<head><title>508 508 508 508 508 508 508 508 508 508 508 508 508 508 508</title></head>
|
||||
<body>
|
||||
<center><h1>508 508 508 508 508 508 508 508 508 508 508 508 508 508 508</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
<hr><center>nginx/1.27.0</center>
|
||||
</body>
|
||||
</html>
|
||||
|
|
2
feed.xml
2
feed.xml
|
@ -5,7 +5,7 @@
|
|||
<title>askiiart.net</title>
|
||||
<description>The feed for askiiart.net, I guess</description>
|
||||
<link>https://askiiart.net</link>
|
||||
<lastBuildDate>Wed, 03 Apr 2024 00:51:41 +0000</lastBuildDate>
|
||||
<lastBuildDate>Tue, 13 Aug 2024 16:30:59 +0000</lastBuildDate>
|
||||
<item>
|
||||
<title>300</title>
|
||||
<link>https://askiiart.net/blog/300.html</link>
|
||||
|
|
30
generate-sitemap.sh
Executable file
30
generate-sitemap.sh
Executable file
|
@ -0,0 +1,30 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
### Stolen from TCCD-CompSci-and-Coding-Club/website on Codeberg (also written by me)
|
||||
|
||||
# Taken from here and modified: https://www.lostsaloon.com/technology/how-to-create-an-xml-sitemap-using-wget-and-shell-script/
|
||||
# (https://web.archive.org/web/20231202193251/https://www.lostsaloon.com/technology/how-to-create-an-xml-sitemap-using-wget-and-shell-script/) (https://archive.ph/qtdMP)
|
||||
sitedomain=https://tccdcode.club/
|
||||
dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
||||
wget --spider --recursive --level=inf --output-file=$dir/linklist.txt $sitedomain
|
||||
# greps for the relevant lines, gets the URLs, gets only the lines for $sitedomain, and sorts them
|
||||
# wget's output changed, so this line had to be updated
|
||||
# also, not sure why it ends up working, since there's a leading space in the lines after `awk` runs, but it works soooo i'mnot gonna mess with it
|
||||
grep "Adding URL:" $dir/linklist.txt | awk -F 'Adding URL:' '{print $2}' | grep "$sitedomain" | sort -u >$dir/sortedurls.txt
|
||||
header='<?xml version="1.0" encoding="UTF-8"?><urlset
|
||||
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
||||
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">'
|
||||
echo $header >sitemap.xml
|
||||
while read p; do
|
||||
case "$p" in
|
||||
*/ | *.html | *.htm)
|
||||
echo '<url><loc>'$p'</loc></url>' >>sitemap.xml
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
done <$dir/sortedurls.txt
|
||||
echo "</urlset>" >>sitemap.xml
|
||||
rm $dir/linklist.txt
|
||||
rm $dir/sortedurls.txt
|
|
@ -80,6 +80,8 @@
|
|||
Choices</li>
|
||||
<li><a href="/blog/new-pgp-key.html">New PGP key, and new
|
||||
directory</a> - I switch to a new PGP key</li>
|
||||
<li><a href="/blog/foooooonts.html">Foooooonts!</a> - There's
|
||||
fonts now! and uh yeah, fonts.</li>
|
||||
</ul></li>
|
||||
<li><a href="/til/">TIL</a>
|
||||
<ul>
|
||||
|
@ -90,6 +92,9 @@
|
|||
<li><a href="/til/using-json-with-docker-compose.html">Using
|
||||
JSON with docker compose</a> - Exactly what it sounds like. (<a
|
||||
href="/til/using-json-with-docker-compose.md">markdown</a>)</li>
|
||||
<li><a href="/til/akkoma-in-docker.html">Akkoma in Docker</a> -
|
||||
uh I figured out how to do Akkoma in Docker cuz it doesn't quite
|
||||
match the docs sometimes.</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
<h2 id="othermeta">Other/Meta</h2>
|
||||
|
|
2
index.md
2
index.md
|
@ -36,9 +36,11 @@ I'm a hobby programmer, and co-founder and vice president of the [TCCD CompSci a
|
|||
- [Marlin Boot Animations](/blog/marlin-boot-animations.html) - Make your Marlin boot screen animated! Includes animation formatting documentation.
|
||||
- [300](/blog/300.html) - Figuring out 300 Multiple Choices
|
||||
- [New PGP key, and new directory](/blog/new-pgp-key.html) - I switch to a new PGP key
|
||||
- [Foooooonts!](/blog/foooooonts.html) - There's fonts now! and uh yeah, fonts.
|
||||
- [TIL](/til/)
|
||||
- Just little tidbits I learn, inspired by [Simon Willison's TIL](https://til.simonwillison.net/), which was itself inspired by [jbranchaud/til](https://github.com/jbranchaud/til).
|
||||
- [Using JSON with docker compose](/til/using-json-with-docker-compose.html) - Exactly what it sounds like. ([markdown](/til/using-json-with-docker-compose.md))
|
||||
- [Akkoma in Docker](/til/akkoma-in-docker.html) - uh I figured out how to do Akkoma in Docker cuz it doesn't quite match the docs sometimes.
|
||||
|
||||
## Other/Meta
|
||||
|
||||
|
|
1
run.sh
1
run.sh
|
@ -5,3 +5,4 @@ SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
|||
cd $SCRIPT_DIR
|
||||
./md2html.sh
|
||||
./generate-rss.sh
|
||||
./generate-sitemap.sh
|
14
sitemap.xml
Normal file
14
sitemap.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||
<url><loc>https://tccdcode.club/</loc></url>
|
||||
<url><loc>https://tccdcode.club/calendar.html</loc></url>
|
||||
<url><loc>https://tccdcode.club/flyer.html</loc></url>
|
||||
<url><loc>https://tccdcode.club/index.html</loc></url>
|
||||
<url><loc>https://tccdcode.club/phone-directory.html</loc></url>
|
||||
<url><loc>https://tccdcode.club/profiles/</loc></url>
|
||||
<url><loc>https://tccdcode.club/profiles/event-director.html</loc></url>
|
||||
<url><loc>https://tccdcode.club/profiles/president.html</loc></url>
|
||||
<url><loc>https://tccdcode.club/profiles/senate.html</loc></url>
|
||||
<url><loc>https://tccdcode.club/profiles/social-director.html</loc></url>
|
||||
<url><loc>https://tccdcode.club/profiles/vice-president.html</loc></url>
|
||||
<url><loc>https://tccdcode.club/resources.html</loc></url>
|
||||
</urlset>
|
|
@ -5,7 +5,7 @@
|
|||
<title>askiiart.net TIL</title>
|
||||
<description>The feed for askiiart.net but just TIL, I guess</description>
|
||||
<link>https://askiiart.net/til/</link>
|
||||
<lastBuildDate>Wed, 03 Apr 2024 00:51:41 +0000</lastBuildDate>
|
||||
<lastBuildDate>Tue, 13 Aug 2024 16:30:59 +0000</lastBuildDate>
|
||||
<item>
|
||||
<title>Akkoma in Docker</title>
|
||||
<link>https://askiiart.net/til/akkoma-in-docker.html</link>
|
||||
|
|
Loading…
Reference in a new issue