ref: 8838f44f03b7ee2c1d4719491b87eada408e06b3
parent: 5bb784ee98ff75aeb87df7a3e79387ce9373ffb1
author: sirjofri <sirjofri@sirjofri.de>
date: Tue Jun 23 01:53:48 EDT 2020
adds basic atom feed. needs other date algos
--- a/mkfile
+++ b/mkfile
@@ -1,10 +1,13 @@
PATHS=`{ls *.ht | sed -e 's/\.ht$//g' | grep -v 'index' | grep -v 'changeblog/';ls changeblog/*.ms | sed -e 's/\.ms$//g'}
BLOG=`{ls changeblog/*.ms | sed -e 's/\.ms$/.ht/g'}
OBJECTS=`{echo 'pub/'^$PATHS^'/index.html'}
+DOMAIN='https://sirjofri.de/'
nl='
'
+test:V: pub/changeblog.xml
+
build:QV: changeblog.ht $OBJECTS pub/index.html
echo 'Build complete'
@@ -25,6 +28,27 @@
cat $i
}
} | troff -ms | lp -dstdout | ps2pdf > $target
+ echo '√ '^$target^' created'
+
+pub/changeblog.xml:Q: `{ls changeblog/*.ms}
+ {
+ echo '<?xml version="1.0" encoding="utf-8"?>
+ <feed xmlns="http://www.w3.org/2005/Atom">
+ <author>
+ <name>sirjofri</name>
+ </author>
+ <title>changeblog</title>'
+ 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$:/:'}
+ echo '<entry>
+ <title>'^$title^'</title>
+ <link href="'^$link^'"/>
+ <content>'^$content^'</content>
+ </entry>'
+ }
+ } > $target
echo '√ '^$target^' created'
changeblog/%.ht:Q: changeblog/%.ms
--- /dev/null
+++ b/pub/changeblog.xml
@@ -1,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+ <name>sirjofri</name>
+</author>
+<title>changeblog</title>
+<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>
+</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>
+</entry>