summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;" \