From e8960c323d3586e36cb54e798b3aff90f558611c Mon Sep 17 00:00:00 2001 From: defanor Date: Wed, 28 Feb 2024 13:41:10 +0300 Subject: Include most recent blog entries into the main gophermap --- src/gophermap.m4 | 18 ++++++++++++++++++ tools/Makefile | 5 ++++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 src/gophermap.m4 diff --git a/src/gophermap.m4 b/src/gophermap.m4 new file mode 100644 index 0000000..ae05e7d --- /dev/null +++ b/src/gophermap.m4 @@ -0,0 +1,18 @@ +!defanor's homepage + +Most recent phlog entries: + +syscmd(ls -r blog/*.txt | + head -n 8 | + sed -e "sS^blog/\(.*\)S0- \\1\tblog/\\1S") + +1phlog archive blog +hindex.xhtml index.xhtml +hWWW URL:https://www.thunix.net/~defanor/ + +External Gopher links: + +1Floodgap Systems / gopher.floodgap.com 70 +1SDF / sdf.org 70 +1Bongusta phlog aggregator /bongusta i-logout.cz 70 +. diff --git a/tools/Makefile b/tools/Makefile index 841f093..356cd97 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,5 +1,5 @@ all: $(patsubst src/%,%,$(wildcard src/notes/*.xhtml src/*.xhtml)) \ - notes/atom.xml blog/index.xhtml blog/gophermap + notes/atom.xml blog/index.xhtml blog/gophermap gophermap # Index page index.xhtml: src/index.xhtml build/notes-by-modification-date.xml build/blog.xml tools/xml-to-html.xsl @@ -38,6 +38,9 @@ blog/gophermap: blog/*.txt echo '.') \ > $@ +gophermap: src/gophermap.m4 blog/*.txt + m4 src/gophermap.m4 > $@ + # A single-file dump of all notes build/notes-dump.xml: src/notes/*.xhtml tools/xml-notes-dump.xsl (echo '' && \ -- cgit v1.2.3