make atom feeds valid atom
This commit is contained in:
parent
23499711bc
commit
590e3752b1
|
@ -13,13 +13,15 @@ feed="$_BUILDDIR/articles/feed.atom"
|
|||
while read -r time hash subject; do
|
||||
date=$(date -u -d "@$time" +"%Y-%m-%dT%TZ")
|
||||
desc="" files=""
|
||||
uuid=$(uuidgen --sha1 -n @url -N "$hash")
|
||||
|
||||
# print header (only on first one)
|
||||
if [ -z "$flag" ]; then
|
||||
printf '%s\n' '<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<link rel="self" type="application/atom+xml" href="https://unix.dog/~yosh/articles/feed.atom" />
|
||||
<link rel="alternate" type="text/html" href="https://unix.dog/~yosh/articles" />
|
||||
<title>yosh'\''s articles</title>
|
||||
<link href="https://unix.dog/~yosh/articles/"/>
|
||||
<author><name>yosh</name></author>
|
||||
<updated>'"$date"'</updated>
|
||||
<id>urn:uuid:'"$articles_uuid"'</id>'
|
||||
|
@ -37,7 +39,7 @@ while read -r time hash subject; do
|
|||
s/\.md /\.html /
|
||||
s/ / --> /
|
||||
s/^/<li><p>/
|
||||
s/$/<\/li><\/p>/
|
||||
s/$/<\/p><\/li>/
|
||||
p
|
||||
}
|
||||
')
|
||||
|
@ -45,11 +47,11 @@ while read -r time hash subject; do
|
|||
|
||||
printf '<entry>
|
||||
<title>%s</title>
|
||||
<link rel="alternate" href="/~yosh/articles"/>
|
||||
<id>%s</id>
|
||||
<link rel="alternate" href="/~yosh/articles" />
|
||||
<id>urn:uuid:%s</id>
|
||||
<updated>%s</updated>
|
||||
<content type="html">%s</content>
|
||||
</entry>\n' "$(escape "$subject")" "$hash" "$date" "$(escapepipe <<-EOF
|
||||
</entry>\n' "$(escape "$subject")" "$uuid" "$date" "$(escapepipe <<-EOF
|
||||
<ul>
|
||||
${desc:+"<p>$desc</p>$_NL"}$files
|
||||
</ul>
|
||||
|
|
|
@ -37,7 +37,7 @@ while IFS= read -r _entry; do
|
|||
entries="$entries"'
|
||||
<entry>
|
||||
<title>'"$title"'</title>
|
||||
<link rel="alternate" href="'"/~yosh/blog/${_entry%.md}.html"'"/>
|
||||
<link rel="alternate" href="'"/~yosh/blog/${_entry%.md}.html"'" />
|
||||
<id>urn:uuid:'"$uuid"'</id>
|
||||
<published>'"$ctime"'</published>
|
||||
<updated>'"$mtime"'</updated>
|
||||
|
@ -50,8 +50,9 @@ EOF
|
|||
|
||||
header='<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<link rel="self" type="application/atom+xml" href="https://unix.dog/~yosh/blog/feed.atom" />
|
||||
<link rel="alternate" type="text/html" href="https://unix.dog/~yosh/blog" />
|
||||
<title>yosh'\''s blog</title>
|
||||
<link href="https://unix.dog/~yosh/blog/"/>
|
||||
<author><name>yosh</name></author>
|
||||
<updated>'"$(echo "$all_mtimes" | sort -r | head -n 1)"'</updated>
|
||||
<id>urn:uuid:'"$blog_uuid"'</id>'
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title = I love this mix so fucking much
|
||||
ctime = 2024-04-03T06:32:23Z
|
||||
uuid = a49e70b4-5b92-404e-96a2-c66aaeb857f7
|
||||
TB_TITLE = INFINITE MP
|
||||
---
|
||||
|
||||
|
|
|
@ -7,15 +7,12 @@ a random collection of general links I like or need. no organization or whatever
|
|||
I really need to organize my site more. this is just to get these links out of a completely unorganized discord channel
|
||||
|
||||
## the links
|
||||
- [a tutorial on portable makefiles](https://nullprogram.com/blog/2017/08/20/)
|
||||
- [kakoune philosophy](https://phaazon.net/blog/kakoune-philosophy) - mostly the surrounding pairs part
|
||||
- [shader programming: from absolute beginner to demoscene superstar](https://clauswilke.com/art/post/shaders)
|
||||
- [html: the bad parts](https://www.htmhell.dev/adventcalendar/2023/13/)
|
||||
- [namecheap ddns shell script](https://gist.github.com/dalhundal/89159b3f032588586e91)
|
||||
- [discord 3rd parties](https://github.com/Discord-Client-Encyclopedia-Management/Discord3rdparties)
|
||||
- [kernelSU android root](https://kernelsu.org/guide/installation.html)
|
||||
- [standard ebooks and classic web tech](https://alexcabal.com/posts/standard-ebooks-and-classic-web-tech)
|
||||
- [swing-twist decomposition in clifford algebra](https://arxiv.org/abs/1506.05481)
|
||||
- [paritybit.ca](https://www.paritybit.ca/) - a blog site that also uses a shell SSG
|
||||
- [WEBESTEEM](http://webesteem.pl/www/index.php?sub=top) - a really cool y2k-looking site
|
||||
- [SamR's Musings](https://rebelsky.cs.grinnell.edu/musings/) - writing from a professor on a variety of topics
|
||||
|
@ -31,12 +28,9 @@ I really need to organize my site more. this is just to get these links out of a
|
|||
- [teensy tiny elf executables for linux](https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html) - the classic
|
||||
- [wolfpack's TWU pages](https://web.archive.org/web/*/http://wolfpack.twu.net/users/wolfpack*) - the web union was an old site hosting place, and I think it was furry owned? I saw this user page with a lot of shit and want to look through it one day
|
||||
- [avali jam](https://avali-jam.onrender.com/main.html)
|
||||
- [using email with git](https://git-send-email.io/)
|
||||
- [animal art photo references](https://x6ud.github.io/#/) - for furry art
|
||||
- [the whimsical web](https://whimsical.club/)
|
||||
- [thumbnail grids - eevee](https://eev.ee/media/2020-02-css/thumbnail-grids.html)
|
||||
- [xenobyte.xyz](https://web.archive.org/web/20230830230954/https://xenobyte.xyz/home) - I really liked the look of this site, but it's down now. shame
|
||||
- [stemmy](https://stemmy.versary.town/) - a site for song stems
|
||||
- [relativty](https://github.com/relativty/Relativty) - an open source vr headset
|
||||
- [tmpfiles](https://tmpfiles.org/) - 60 minute temp file hosting
|
||||
- [textmachine handwriting](https://polyducks.itch.io/textmachine-handwriting-font) - a font that looks cool
|
||||
|
@ -44,11 +38,9 @@ I really need to organize my site more. this is just to get these links out of a
|
|||
- [Cosplayers On Coke, Computers, Communication, Competition, And Lack Thereof](https://web.archive.org/web/20230311024538/https://weedhitter.substack.com/p/ill-take-drugs-and-rock-but-no-sex-pls) - one of the best blog posts ever made
|
||||
- [makesweet](https://makesweet.com/) - make funny 3d gifs
|
||||
- [deathgenerator](https://deathgenerator.com/) - make funny dialogue bits
|
||||
- [ANSI escape codes](https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797) - an actually good organized list of ansi escape codes
|
||||
- [watch.lavender.software](https://watch.lavender.software/) - a watchparty site
|
||||
- [123elf](https://github.com/taviso/123elf) - a native port of lotus 1-2-3 to linux (spreadsheet TUI software, is pretty cool!)
|
||||
- [I wrote a faster sorting algorithm](https://probablydance.com/2016/12/27/i-wrote-a-faster-sorting-algorithm/)
|
||||
- [repair wiki](https://repair.wiki/w/Main_Page) - a wiki for repairing a lot of things you can think of
|
||||
- [galmuri](https://github.com/Quiple/Galmuri) - bitmap fonts
|
||||
- [jae's website](https://jae.fi/) - a website that I like
|
||||
- [mapcrunch](https://www.mapcrunch.com/) - a random street view site
|
||||
|
@ -58,6 +50,5 @@ I really need to organize my site more. this is just to get these links out of a
|
|||
- [kokoscript](https://kokoscript.com/) - a site that I like
|
||||
- [c for dummies blog](https://c-for-dummies.com/blog/) - despite the name, just a cool c blog all around
|
||||
- [drawing paws, by a japanese guy](https://twitter.com/TERRA_rikum/status/1663138834929045504)
|
||||
- [bunnycademy](https://sites.google.com/view/bunnycademy/) - quake 3 defrag information
|
||||
- [option soup: the subtle pitfalls of combining compiler flags](https://hacks.mozilla.org/2024/01/option-soup-the-subtle-pitfalls-of-combining-compiler-flags/)
|
||||
- [quickposes](https://quickposes.com/en/gestures/timed) - gesture drawing tool
|
||||
- [keeri web](https://keeri.place/explore-web/websites)
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
---
|
||||
title = various learning topics
|
||||
title = topics and tools
|
||||
TB_COLOR = lblue
|
||||
---
|
||||
|
||||
I have found myself frustrated at how hard it is to find good resources for learning new things. I'm motivated to learn, but picking up conceptual ideas from surface-level youtube videos trying to tie shit together from very dense wikipedia articles and their references just doesn't cut it. here's a random assortment of websites, textbooks, videos, and whatever other resources I have either stashed for my own sake, have looked through enough to consider it satisfactory for describing something I already know, or whatever else I find that seems detailed enough about a topic. who knows
|
||||
|
||||
if you want a page for "quick reference" pages and tools for subjects, check out [the reference page](/~yosh/links/reference.html)
|
||||
|
||||
if this gets big enough, I'll make a table of contents or split stuff into separate pages. for now, just ctrl+f
|
||||
|
||||
## math
|
||||
|
@ -16,25 +18,22 @@ if this gets big enough, I'll make a table of contents or split stuff into separ
|
|||
|
||||
### geometry
|
||||
- if you want your physics and basic math world to be shattered, try watching [a swift introduction to geometric algebra](https://www.youtube.com/watch?v=60z_hpEAtD8). if you want to learn more, try watching [this playlist](https://www.youtube.com/playlist?list=PLpzmRsG7u_gqaTo_vEseQ7U8KFvtiJY4K) on geometric algebra. it's not terribly important for my studies, so I haven't watched the playlist, but I might in the future
|
||||
- [swing-twist decomposition in clifford algebra](https://arxiv.org/abs/1506.05481)
|
||||
|
||||
## computer science/engineering
|
||||
|
||||
### hardware
|
||||
- [how does a microprocessor work?](https://fosstodon.org/@BrunoLevy01/110142330588647339) - a thread that leans into creating your own microprocessor and using RISC-V as an instruction set for it
|
||||
|
||||
### languages
|
||||
- [php the right way](https://phptherightway.com) - some best practices for php in the modern day
|
||||
|
||||
#### shell
|
||||
- [posix shell tips](/~yosh/articles/random-info/posix-shell-tips.html) - my collection of tips that I feel are less documented around the block
|
||||
- [pure sh bible](https://github.com/dylanaraps/pure-sh-bible) - dylan araps has a bunch of cool shit
|
||||
- [~sven\_mascheck](https://www.in-ulm.de/~mascheck/) - a LOT of cool shell information, like just everything one would want to know about not just interfacing with shells, but history, support, utilities, ...
|
||||
- [greg's wiki](https://mywiki.wooledge.org/) - I'm sure everyone who has done a non-trivial amount of shell scripting knows about this wiki, but someone who's part of the lucky ten thousand and sees this can discover it from here :D
|
||||
|
||||
### misc
|
||||
- [xxiivv's computing section](https://wiki.xxiivv.com/site/computation.html) - there's some cool stuff and other resources here
|
||||
- [serious cryptography](https://nostarch.com/seriouscrypto) - allegedly the best book for learning practical modern cryptography. I've been meaning to read it for a while to confirm this notion. its ISBN is `9781593278267`
|
||||
- [programming book recommendations and anti-recommendations by danluu](https://danluu.com/programming-books/)
|
||||
- [shader programming: from absolute beginner to demoscene superstar](https://clauswilke.com/art/post/shaders)
|
||||
|
||||
## physical DIY
|
||||
- [energy conservation for the home](https://www.builditsolar.com/Projects/Conservation/conservation.htm). this was brought to my attention by it recommending <cite>Insulate and Weatherize</cite> by Bruce Harley as being one of the most technically complete books on the topic. its ISBN is `9781621137030`
|
||||
- [repair wiki](https://repair.wiki/w/Main_Page) - a wiki for repairing a lot of things you can think of
|
||||
|
||||
## entirely miscellaneous
|
||||
- [bunnycademy](https://sites.google.com/view/bunnycademy/) - quake 3 defrag information
|
||||
|
|
Loading…
Reference in New Issue