about summary refs log tree commit diff stats
path: root/gmi/cf5d9aed.txt
diff options
context:
space:
mode:
authorAoi Koizumi <novaburst@kalli.st>2022-04-29 10:06:13 -0300
committerAoi Koizumi <novaburst@kalli.st>2022-04-29 10:06:13 -0300
commit09bb2854478e552523c15de6f80c9f92d71376a3 (patch)
tree687a026d177e28e25f47ba7c200164b7b0b67ef6 /gmi/cf5d9aed.txt
parentd13dfdbdd6f8f10552d744cdb137390e7a8dabf6 (diff)
downloadmirror-world-09bb2854478e552523c15de6f80c9f92d71376a3.tar.gz
Moving git host yet again galaxy
Diffstat (limited to 'gmi/cf5d9aed.txt')
-rw-r--r--gmi/cf5d9aed.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/gmi/cf5d9aed.txt b/gmi/cf5d9aed.txt
new file mode 100644
index 0000000..4e8905f
--- /dev/null
+++ b/gmi/cf5d9aed.txt
@@ -0,0 +1,20 @@
+ID: cf5d9aed-1a8d-49e4-8129-e2e5dba58b99
+Title: Coding madness
+Authors: Nova[有線魔女] <novaburst@envs.net>
+Date: 2021-06-16T15:23:56-00:00
+Date-Edited: 2022-01-26T08:28:24-03:00
+Topics: Computing > Programming > OCaml
+
+So between yesterday and today I improved Logarion's html parser despite me not really knowing OCaml , and I got it to generate valid HTML 4.01 Strict , instead of HTML5. At least just for the index page, but not the articles and/or topics of the site.
+
+I could write also one for XHTML based on that parser , though it may require some additional details to get done. (a lot)
+
+I currently use my personal branch of the code, which somehow works flawlessly (as of yet). 
+I sent the link to Logarion's main developer to check it out, and wait if it gets merged into upstream.
+My personal branch is located on SourceHut, under the same license as upstream code , and it's pretty much usable.
+
+* Update #1 : I ended up giving up on HTML4.01 for this one, though I've continued the work on HTML5 instead.
+* Update #2 : My changes made were merged , and probably will be part of the next stable release of Logarion.
+* Update #3 : For creating websites from scratch I'll always prefer using XHTML 1.1
+* Update #4 : The current branch is named 'mirror' in reference to this blog
+* Update #5 : My repository no longer exists, although I still contribute to Logarion whenever I can.
-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# dwm - dynamic window manager
#   (C)opyright MMVI Anselm R. Garbe

include config.mk

SRC = client.c draw.c event.c main.c tag.c util.c
OBJ = ${SRC:.c=.o}

all: options dwm
	@echo finished

options:
	@echo dwm build options:
	@echo "CFLAGS   = ${CFLAGS}"
	@echo "LDFLAGS  = ${LDFLAGS}"
	@echo "CC       = ${CC}"
	@echo "LD       = ${LD}"

.c.o:
	@echo CC $<
	@${CC} -c ${CFLAGS} $<

${OBJ}: dwm.h config.h config.mk

config.h:
	@echo creating $@ from config.default.h
	@cp config.default.h $@

dwm: ${OBJ}
	@echo LD $@
	@${LD} -o $@ ${OBJ} ${LDFLAGS}
	@strip $@

clean:
	@echo cleaning
	@rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz

dist: clean
	@echo creating dist tarball
	@mkdir -p dwm-${VERSION}
	@cp -R LICENSE Makefile README config.*.h config.mk \
		dwm.1 dwm.h ${SRC} dwm-${VERSION}
	@tar -cf dwm-${VERSION}.tar dwm-${VERSION}
	@gzip dwm-${VERSION}.tar
	@rm -rf dwm-${VERSION}

install: all
	@echo installing executable file to ${DESTDIR}${PREFIX}/bin
	@mkdir -p ${DESTDIR}${PREFIX}/bin
	@cp -f dwm ${DESTDIR}${PREFIX}/bin
	@chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
	@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
	@mkdir -p ${DESTDIR}${MANPREFIX}/man1
	@sed 's/VERSION/${VERSION}/g' < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1

uninstall:
	@echo removing executable file from ${DESTDIR}${PREFIX}/bin
	@rm -f ${DESTDIR}${PREFIX}/bin/dwm
	@echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
	@rm -f ${DESTDIR}${MANPREFIX}/man1/dwm.1

.PHONY: all options clean dist install uninstall