|
|
@ -144,13 +144,13 @@
|
|
|
|
the RSS feed for the blog. I don't mind typing HTML pages, but typing out a
|
|
|
|
the RSS feed for the blog. I don't mind typing HTML pages, but typing out a
|
|
|
|
page and an RSS feed containing excerpts/titles from other files gets old soon
|
|
|
|
page and an RSS feed containing excerpts/titles from other files gets old soon
|
|
|
|
and I'd be bound to forget updating its content every once in a while. This
|
|
|
|
and I'd be bound to forget updating its content every once in a while. This
|
|
|
|
seemed like a perfect occasion to write a little bash script, so I did. You
|
|
|
|
seemed like a perfect occasion to write a little bash script, so I did. You can
|
|
|
|
can find the script <a href="../../generate-blog.bash">here (raw)</a> and
|
|
|
|
find the script
|
|
|
|
<a href="../../generate-blog.bash.html">here (pretty)</a>. What it basically
|
|
|
|
<a href="assets/generate-blog.bash.html">here</a>. What it basically does is
|
|
|
|
does is read in a file called posts.txt that has html filenames in it,
|
|
|
|
read in a file called posts.txt that has html filenames in it, separated by
|
|
|
|
separated by newlines. Using those filenames and the contents of the files it
|
|
|
|
newlines. Using those filenames and the contents of the files it then generates
|
|
|
|
then generates a HTML page (called <a href="../../blog.html">blog.html</a>)
|
|
|
|
a HTML page (called <a href="../../blog.html">blog.html</a>) and an RSS feed
|
|
|
|
and an RSS feed (called <a href="../../feed.xml">feed.xml</a>).
|
|
|
|
(called <a href="../../feed.xml">feed.xml</a>).
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|