diff --git a/generate-rss.sh b/generate-rss.sh index 40b688b..6ed0b02 100755 --- a/generate-rss.sh +++ b/generate-rss.sh @@ -3,9 +3,13 @@ # Makes RSS feed (feed.xml) # Currently missing description and pubDate # Based off https://en.wikipedia.org/wiki/RSS, particularly the example + +# TODO: update to get metadata from another file, or maybe to automatically extract it from the Markdown or HTML files +# TODO: Add dates for each page via Git history + printf "\n\n\n\n eng.askiiart.net\n This is the feed for engl.askiiart.net, I guess\n https://askiiart.net\n $(TZ='UTC' date --rfc-2822)" >feed.xml find . -path ./error -prune -o -name '*.html' -print | while read -r item; do - # Skip template.html, wishlist.html, resume.html, and portfolio.html + # Skip template.html and index.html if [[ ${item} == "./index.html" || ${item} == "./template.html" ]]; then continue fi diff --git a/regex-chicanery.py b/regex-chicanery.py index bdb1fc6..7f3a484 100644 --- a/regex-chicanery.py +++ b/regex-chicanery.py @@ -2,6 +2,8 @@ import re import sys +# TODO: rewrite in bash + # add title attribute to img tags filename = sys.argv[1] with open(filename, 'r+') as f: diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..57abda1 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,3 @@ + +https://engl.askiiart.net/blog/blendos.html +