master
dozens 2021-04-17 11:31:20 -06:00
parent 62e951abac
commit 25aa20e81b
3 changed files with 21 additions and 0 deletions

2
Makefile 100644
View File

@ -0,0 +1,2 @@
default: rss.sh
./rss.sh

10
feed.xml 100644
View File

@ -0,0 +1,10 @@
<rss version="2.0"><channel><title>It's Pro Toad and Superb Owl</title>
<item><title>00004.md</title><link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00004.md</link></item>
<item><title>00001.md</title><link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00001.md</link></item>
<item><title>00005.md</title><link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00005.md</link></item>
<item><title>00008.md</title><link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00008.md</link></item>
<item><title>00002.md</title><link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00002.md</link></item>
<item><title>00006.md</title><link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00006.md</link></item>
<item><title>00007.md</title><link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00007.md</link></item>
<item><title>00003.md</title><link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00003.md</link></item>
</channel></rss>

9
rss.sh 100755
View File

@ -0,0 +1,9 @@
#bin/sh
echo "<rss version=\"2.0\"><channel><title>It's Pro Toad and Superb Owl</title>" > feed.xml
for f in $(find . -type f -iname '*.md' ! -name 'README.md' | sed 's/\.\///'); do
echo "<item><title>$f</title><link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/$f</link></item>" >> feed.xml
done
echo '</channel></rss>' >> feed.xml