[PATCH 1/2] * tz-art.html: Add a few IMDb URLs and standardize format.

--- tz-art.html | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/tz-art.html b/tz-art.html index c98e9c4..edddae0 100644 --- a/tz-art.html +++ b/tz-art.html @@ -36,19 +36,15 @@ there is a reference to British Double Summer Time. The time does not play a large part in the plot; it's just a passing reference to the time when one of the characters was supposed to have died (but didn't). -The IMDb page is at -<a href="http://us.imdb.com/title/tt0038733/"> -http://us.imdb.com/title/tt0038733/ -</a>. (Dave Cantor) +(<a href="http://us.imdb.com/title/tt0038733/">IMDb entry.</a>) +(Dave Cantor) <li> The 1953 railway comedy movie <em>The Titfield Thunderbolt</em> includes a play on words on British Double Summer Time. Valentine's wife wants him to leave the pub and asks him, "Do you know what time it is?" And he, happy where he is, replies: "Yes, my love. Summer double time." -IMDb page: -<a href="http://us.imdb.com/title/tt0046436/"> -http://us.imdb.com/title/tt0046436/ -</a>. (Mark Brader, 2009-10-02) +(<a href="http://us.imdb.com/title/tt0046436/">IMDb entry.</a>) +(Mark Brader, 2009-10-02) </li> <li> The premise of the 1999 caper movie <em>Entrapment</em> involves computers @@ -60,10 +56,8 @@ a gigantic computerized theft. To achieve this, at one location the crooks interfere with the microwave system supplying time signals to the computer, advancing the time by 0.1 second each minute over the last hour of 1999. (So this movie teaches us that 0.1 × 60 = 10.) -IMDb page: -<a href="http://us.imdb.com/title/tt0137494/"> -http://us.imdb.com/title/tt0137494/ -</a>. (Mark Brader, 2009-10-02) +(<a href="http://us.imdb.com/title/tt0137494/">IMDb entry.</a>) +(Mark Brader, 2009-10-02) </li> <li> One mustn't forget the @@ -79,12 +73,15 @@ Cube," first aired 1958-02-24, had Superman convincing the controllers of the Arlington Time Signal to broadcast ahead of actual time; doing so got a crook trying to be declared dead to emerge a bit too early from the titular enclosure. +(<a href="https://www.imdb.com/title/tt0506628/">IMDb entry</a>.) </li> <li> -"The Chimes of Big Ben", <em>The Prisoner</em>, episode 2, ITC, 1967-10-06. +"<a href="https://en.wikipedia.org/wiki/The_Chimes_of_Big_Ben">The Chimes +of Big Ben</a>", <em>The Prisoner</em>, episode 2, ITC, 1967-10-06. Our protagonist tumbles to the fraudulent nature of a Poland-to-England escape upon hearing "Big Ben" chiming on Polish local time. +(<a href="https://www.imdb.com/title/tt0679185/">IMDb entry.</a>) </li> <li> "The Susie", <em>Seinfeld</em>, season 8, episode 15, NBC, 1997-02-13. @@ -196,7 +193,9 @@ Nick Enright, <em>Daylight Saving</em>, 1989. A fast-paced comedy about love and loneliness as the clocks turn back. </li> <li> -Umberto Eco, <em>The Island of the Day Before</em> +Umberto Eco, +<a href="https://en.wikipedia.org/wiki/The_Island_of_the_Day_Before"><em>The +Island of the Day Before</em></a> (<em>L'isola del giorno prima</em>), 1994. "...the story of a 17th century Italian nobleman trapped near an island on the International Date Line. Time and time zones play an integral -- 2.19.2

* Makefile (CURL, CHECK_WEB_PAGES): New macro. (check_web): Depend on $(CHECK_WEB_PAGES), and migrate body to new check_tz-how-to.html rule. This speeds up web-page checking a bit by checking only pages that have changed, and checking in parallel. More importantly, HTML5 pages are now checked via http://validator.w3.org/nu/. (check_tz-art.html, check_tz-link.html, check_tz-how-to.html): New rules. --- Makefile | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index d56a198..d8d8e21 100644 --- a/Makefile +++ b/Makefile @@ -380,15 +380,18 @@ AWK= awk # is typically nicer if it works. KSHELL= /bin/bash +# Name of curl <https://curl.haxx.se/>, used for HTML validation. +CURL= curl + # The path where SGML DTDs are kept and the catalog file(s) to use when -# validating. The default should work on both Debian and Red Hat. +# validating HTML 4.01. The default should work on both Debian and Red Hat. SGML_TOPDIR= /usr SGML_DTDDIR= $(SGML_TOPDIR)/share/xml/w3c-sgml-lib/schema/dtd SGML_SEARCH_PATH= $(SGML_DTDDIR)/REC-html401-19991224 SGML_CATALOG_FILES= \ $(SGML_TOPDIR)/share/doc/w3-recs/html/www.w3.org/TR/1999/REC-html401-19991224/HTML4.cat:$(SGML_TOPDIR)/share/sgml/html/4.01/HTML4.cat -# The name, arguments and environment of a program to validate your web pages. +# The name, arguments and environment of a program to validate HTML 4.01. # See <http://openjade.sourceforge.net/doc/> for a validator, and # <https://validator.w3.org/source/> for a validation library. # Set VALIDATE=':' if you do not have such a program. @@ -488,6 +491,7 @@ MANTXTS= newctime.3.txt newstrftime.3.txt newtzset.3.txt \ COMMON= calendars CONTRIBUTING LICENSE Makefile \ NEWS README theory.html version WEB_PAGES= tz-art.html tz-how-to.html tz-link.html +CHECK_WEB_PAGES=check_tz-art.html check_tz-how-to.html check_tz-link.html DOCS= $(MANS) date.1 $(MANTXTS) $(WEB_PAGES) PRIMARY_YDATA= africa antarctica asia australasia \ europe northamerica southamerica @@ -799,9 +803,15 @@ check_tzs: $(TZS) $(TZS_NEW) fi touch $@ -# This checks only the HTML 4.01 strict page. -# To check the the other pages, use <https://validator.w3.org/>. -check_web: tz-how-to.html +check_web: $(CHECK_WEB_PAGES) +check_tz-art.html: tz-art.html +check_tz-link.html: tz-link.html +check_tz-art.html check_tz-link.html: + $(CURL) -sS --url https://validator.w3.org/nu/ -F out=gnu \ + -F file=@$$(expr $@ : 'check_\(.*\)') -o $@.out && \ + test ! -s $@.out || { cat $@.out; exit 1; } + mv $@.out $@ +check_tz-how-to.html: tz-how-to.html $(VALIDATE_ENV) $(VALIDATE) $(VALIDATE_FLAGS) tz-how-to.html touch $@ @@ -1068,7 +1078,7 @@ zic.o: private.h tzfile.h version.h .PHONY: ALL INSTALL all .PHONY: check check_time_t_alternatives -.PHONY: check_zishrink +.PHONY: check_web check_zishrink .PHONY: clean clean_misc dummy.zd force_tzs .PHONY: install install_data maintainer-clean names .PHONY: posix_only posix_packrat posix_right public -- 2.19.2
participants (1)
-
Paul Eggert