shithub: sirjofri_de

Download patch

ref: 471cba0d6424ac5c635bf20a634657275bb45af7
parent: da1e835da6ae30e3645566d0ab4d68f08be190a7
author: sirjofri <sirjofri@sirjofri.de>
date: Tue Jun 23 02:54:14 EDT 2020

adjusts feed and imprint

--- a/changeblog/mkblog
+++ b/changeblog/mkblog
@@ -1,6 +1,6 @@
 #!/bin/rc
 
-cat <<EOF > `{date -i}^.ht
+cat <<EOF > `{date -n}^.ms
 .HTML <title>
 .TL
 <title>
--- a/imprint.ht
+++ b/imprint.ht
@@ -2,10 +2,7 @@
 <header>
 	<h2>Impressum</h2>
 </header>
-	<p>Joel Fridolin Meyer<br>
-	&#72;&#101;&#114;&#114;&#110;&#98;&#101;&#114;&#103;&nbsp;&#51;&#56;<br>
-	&#57;&#54;&#51;&#50;&#57;&nbsp;&#75;&uuml;&#112;&#115;<br>
-	Tel: &#48;&#49;&#55;&#54;&nbsp;&#57;&#50;&#54;&#52;&#52;&#49;&#50;&#50;<br>
+	<p>Joel Fridolin Meyer (sirjofri)<br>
 	E-Mail: <a href="mailto:sirjofri@sirjofri.de">sirjofri@sirjofri.de</a></p>
 </section>
 <section>
--- a/mkfile
+++ b/mkfile
@@ -6,9 +6,7 @@
 nl='
 '
 
-test:V: pub/changeblog.xml
-
-build:QV: changeblog.ht $OBJECTS pub/index.html
+build:QV: changeblog.ht $OBJECTS pub/index.html pub/changeblog.xml
 	echo 'Build complete'
 
 prepare:QV: changeblog.ht
@@ -37,14 +35,17 @@
 	<author>
 		<name>sirjofri</name>
 	</author>
-	<title>changeblog</title>'
+	<title>changeblog</title>
+	<updated>'^`{date -t | tr -d $nl}^'</updated>'
 		for(i in $prereq){
-			title=`"{deroff $i | sed '1,2d;3q'}
-			content=`"{deroff $i | sed '1,4d'}
-			link=$DOMAIN^`{echo -n $i | sed 's:\.ms$:/:'}
+			title=`"{deroff $i | sed '1,2d;3q' | tr -d $nl}
+			content=`"{deroff $i | sed '1,4d' | tr -d $nl}
+			link=$DOMAIN^`{echo -n $i | sed 's:\.ms$:/:' | tr -d $nl}
+			updated=`{date -t `{basename $i | sed 's/\.ms$//'} | tr -d $nl}
 			echo '<entry>
 	<title>'^$title^'</title>
 	<link href="'^$link^'"/>
+	<updated>'^$updated^'</updated>
 	<content>'^$content^'</content>
 	</entry>'
 		}
@@ -55,11 +56,12 @@
 changeblog/%.ht:Q: changeblog/%.ms
 	{
 		title=`"{
-			sed -n '/\.HTML/s/\.HTML //p' changeblog/$stem.ms
+			sed -n '/\.HTML/s/\.HTML //p' changeblog/$stem.ms | tr -d $nl
 		}
 		echo '<article>
 	<header>
 	<h2>'^$title^'</h2>
+	<b>'^`"{date -m $stem | tr -d $nl}^'</b>
 	</header>'
 		htmlroff -ms changeblog/$stem.ms
 		echo '</article>'
@@ -76,7 +78,7 @@
 	obs=`{ls changeblog/*.ms | sed -e 's/\.ms$//g' -e 's:changeblog/::g'}
 	for(OB in $obs){
 		OBN=`"{sed -n '/^\.HTML /s:\.HTML::p' changeblog/^$OB^.ms | tr -d $nl}
-		echo '<li><a href="/changeblog/'^$OB^'/">'$OB': '$OBN'</a></li>' >> $target
+		echo '<li><a href="/changeblog/'^$OB^'/">'^`"{date -m $OB | tr -d $nl}^': '$OBN'</a></li>' >> $target
 	}
 	echo '</ul>
 	</section>' >> $target
--- a/pub/changeblog.xml
+++ b/pub/changeblog.xml
@@ -4,30 +4,17 @@
 	<name>sirjofri</name>
 </author>
 <title>changeblog</title>
+<updated>2020-06-23T08:52:15+02:00</updated>
 <entry>
-<title>Revived
-</title>
-<link href="https://sirjofri.de/changeblog/2020-01-10/"/>
-<content>I updated my website to Uberspace 7, but not only this: I changed the whole webpage to make it more nine-friendly.
-
-My whole webpage management system is completely 9 based. I use oridb's git9 implementation and plan9 tools, mk, sed, cat, …
-
-I also decided to change the main language of the website to English.
-</content>
+<title>Revived</title>
+<link href="https://sirjofri.de/changeblog/1578614400/"/>
+<updated>2020-01-10T01:00:00+01:00</updated>
+<content>I updated my website to Uberspace 7, but not only this: I changed the whole webpage to make it more nine-friendly.My whole webpage management system is completely 9 based. I use oridb's git9 implementation and plan9 tools, mk, sed, cat, …I also decided to change the main language of the website to English.</content>
 </entry>
 <entry>
-<title>I use 9front
-</title>
-<link href="https://sirjofri.de/changeblog/2020-05-22/"/>
-<content>Today I want to share with you, that I use the plan9 distribution '9front' as my main computer.
-
-Of course there are things that are almost impossible to do there, for example: all gamedev related stuff. This is of course an issue, because I am a game developer. I still have my windows machine with relevant tools, so I can still fiddle around with those complex things.
-
-For gaming I also use my windows machine or some game console. Yes, there are a few games on plan9 systems.
-
-Also most online services use javascript and heavy styling of webpages, so I also use a modern computer with a modern browser. Mothra is fine for doing basic research stuff, but in 2020 it's almost impossible to actually do things on the web.
-
-Anyways, let me tell you that I don't really miss anything on plan9. I can write documents, check my email stuff, chat with people, and step by step it becomes more usable. The community is helpful and provides more applications. The system runs stable, the user interface is consistent and good to look at. Colors don't jump in your eye and want to kill you and there's catclock(1), our friendly companion.
-</content>
+<title>I use 9front</title>
+<link href="https://sirjofri.de/changeblog/1590105600/"/>
+<updated>2020-05-22T02:00:00+02:00</updated>
+<content>Today I want to share with you, that I use the plan9 distribution '9front' as my main computer.Of course there are things that are almost impossible to do there, for example: all gamedev related stuff. This is of course an issue, because I am a game developer. I still have my windows machine with relevant tools, so I can still fiddle around with those complex things.For gaming I also use my windows machine or some game console. Yes, there are a few games on plan9 systems.Also most online services use javascript and heavy styling of webpages, so I also use a modern computer with a modern browser. Mothra is fine for doing basic research stuff, but in 2020 it's almost impossible to actually do things on the web.Anyways, let me tell you that I don't really miss anything on plan9. I can write documents, check my email stuff, chat with people, and step by step it becomes more usable. The community is helpful and provides more applications. The system runs stable, the user interface is consistent and good to look at. Colors don't jump in your eye and want to kill you and there's catclock(1), our friendly companion.</content>
 </entry>
 </feed>
--- a/pub/changeblog/index.html
+++ b/pub/changeblog/index.html
@@ -29,8 +29,8 @@
 </header>
 <a href="changeblog.pdf">Download pdf</a><br>
 <ul>
-<li><a href="/changeblog/2020-01-10/">2020-01-10:  Revived</a></li>
-<li><a href="/changeblog/2020-05-22/">2020-05-22:  I use 9front</a></li>
+<li><a href="/changeblog/1578614400/">Fri, 10 Jan 2020 01:00:00 +0100:  Revived</a></li>
+<li><a href="/changeblog/1590105600/">Fri, 22 May 2020 02:00:00 +0200:  I use 9front</a></li>
 </ul>
 </section>
 </main>
--- a/pub/imprint/index.html
+++ b/pub/imprint/index.html
@@ -27,10 +27,7 @@
 <header>
 	<h2>Impressum</h2>
 </header>
-	<p>Joel Fridolin Meyer<br>
-	&#72;&#101;&#114;&#114;&#110;&#98;&#101;&#114;&#103;&nbsp;&#51;&#56;<br>
-	&#57;&#54;&#51;&#50;&#57;&nbsp;&#75;&uuml;&#112;&#115;<br>
-	Tel: &#48;&#49;&#55;&#54;&nbsp;&#57;&#50;&#54;&#52;&#52;&#49;&#50;&#50;<br>
+	<p>Joel Fridolin Meyer (sirjofri)<br>
 	E-Mail: <a href="mailto:sirjofri@sirjofri.de">sirjofri@sirjofri.de</a></p>
 </section>
 <section>