diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-03-31 03:44:26 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-03-31 03:44:26 +0200 |
commit | 9abbe1b2fe087d498e5686112bf6ae05c337ce3e (patch) | |
tree | 5e2ff44d7f707c51aa4d808f76e8d78240f2cdb6 | |
parent | 2c45802e11a034a2866379886fce491d0f882e62 (diff) |
Strip 'now' from rendered schedule.
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,4 +37,6 @@ $(htmlprogrammefiles): %.html : %.ttl perl -pi -0 \ -e 's,^(.*?<h1[^>]*>)(.*?)(?=</h1>),<!DOCTYPE html>\n<meta charset="utf-8">\n<title>$$2</title>$$1$$2,ms;' \ -e 's,$(base)\K,/index.txt,;' \ + -e "s,class='[^'] *\Kprogramme_current',',;" \ + -e "s,<div class='programme_now_message'>now</div>,,g;" \ "$@" |