summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-10-23 14:12:47 +0200
committerJonas Smedegaard <dr@jones.dk>2015-10-23 14:12:47 +0200
commite5740fd99abac0eb4547aa86398a8205ede34b8b (patch)
treefcd085ef23562bb3071bbc3c537f9633ffc41fe0
parentafeab059102cad2d6f138c3066dafb38cebfe349 (diff)
Brag about source being hand-written.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d08b72d..7cabf80 100644
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,7 @@ $(htmlprogrammefiles): %.html : %.ttl
wget -O"$@" "http://programme.ecs.soton.ac.uk/tool.php?src=$(base)"
perl -pi -0 \
-e 's,^(.*?<h1[^>]*>)(.*?)(?=</h1>),<!DOCTYPE html>\n<meta charset="utf-8">\n<title>$$2</title>$$1$$2,ms;' \
+ -e 's,>$(base)<,>hand-written Linked Open Data source file<,;' \
-e 's,$(base)\K,/index.txt,;' \
-e "s,class='[^'] *\Kprogramme_current',',;" \
-e "s,<div class='programme_now_message'>now</div>,,g;" \