aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-07-16 17:02:47 +0200
committerlonkaars <loek@pipeframe.xyz>2021-07-16 17:02:47 +0200
commit0020eae4c9579b4a2d47ed339fe29183242a60f8 (patch)
tree322a4ea1f18d51cf5fc111dd497f7cd81914ba3f
parentb5562f7bd1628769ca24e5771a75e0f4441ebd61 (diff)
rss feed done
-rw-r--r--posts/index.md6
-rwxr-xr-xrss/genrss3
2 files changed, 6 insertions, 3 deletions
diff --git a/posts/index.md b/posts/index.md
index 06ef12d..50894f5 100644
--- a/posts/index.md
+++ b/posts/index.md
@@ -17,3 +17,9 @@ The page you're looking at right now is also open-source! The code for this
page can be found on [GitHub](https://github.com/lonkaars/blog), and should
also be available on [my private git server](https://git.pipeframe.xyz).
+An rss/atom feed of this blog is also available:
+
+```
+https://blog.pipeframe.xyz/atom.xml
+```
+
diff --git a/rss/genrss b/rss/genrss
index 6d88f0f..9c3c19c 100755
--- a/rss/genrss
+++ b/rss/genrss
@@ -4,9 +4,6 @@ cd $(dirname $0)
alias xml="xmlstarlet"
-# exit if no out dir
-[[ ! -d ../out ]] && exit 1
-
cp base.xml atom.xml
for file in ../out/post/*; do
base=$(basename "$file" .html)