diff --git a/feed.xml b/feed.xml
index 31e54a1..d1609c0 100644
--- a/feed.xml
+++ b/feed.xml
@@ -5,19 +5,16 @@
https://hugot.nl/blog.html
Hugo's personal blogen-us
- Sat 08 Feb 2020 09:58:35 AM CET
- Sat 08 Feb 2020 09:58:35 AM CET
+ Sat 08 Feb 2020 10:07:44 AM CET
+ Sat 08 Feb 2020 10:07:44 AM CEThttp://blogs.law.harvard.edu/tech/rssHugo's Custom Bash Scriptsocial@hugot.nlinfra@hugot.nl
-
Introduction
- Hello, welcome to my blog! My name is Hugo. I am a 22 year old Software
+ Introduction Hello, welcome to my blog! My name is Hugo. I am a 22 year old Software
Engineering student from the Netherlands. Software development is a huge part
of my life, I write a lot of (weird) programs to scratch my own itch and most
software I create is open_source by default. I also run a one-man company that
-provides some IT services on the side.
- Sat 08 Feb 2020 09:30:06 AM CET
- ./posts/introduction/index.html#MjM3MzUyOTAwNSA5MDYK
+provides some IT services on the side.Sat 08 Feb 2020 09:30:06 AM CET./posts/introduction/index.html#MjM3MzUyOTAwNSA5MDYK
diff --git a/generate-blog.bash b/generate-blog.bash
index b648619..a3e983f 100755
--- a/generate-blog.bash
+++ b/generate-blog.bash
@@ -115,7 +115,9 @@ el-enclose() {
element_name="$1"
shift
- echo "<$element_name>" "$@" "$element_name>"
+ printf '%s' "<$element_name>"
+ printf '%s' "$@"
+ printf '%s' "$element_name>"
}
site_url="https://hugot.nl"
@@ -173,10 +175,13 @@ while read -r post_html; do
} >> "$new_html"
{
+ el item
el-enclose title "$title"
el-enclose description "$excerpt"
el-enclose pubDate "$pubdate"
el-enclose guid "${href}#$(base64 <(cksum <<<"$text"))"
+
+ el-close item
} >> "$new_rss"
done < "$posts_file"