W3C home > Mailing lists > Public > public-html-diffs@w3.org > July 2009

mike: make a link back to the single-page version

From: poot <cvsmail@w3.org>
Date: Sat, 18 Jul 2009 21:42:48 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090718124248.C67E52BC84@toro.w3.mag.keio.ac.jp>
mike: make a link back to the single-page version

http://dev.w3.org/cvsweb/html5/spec/spec.html?r1=1.1&r2=1.2&f=h

===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- spec.html	18 Jul 2009 10:03:49 -0000	1.1
+++ spec.html	18 Jul 2009 12:41:27 -0000	1.2
@@ -197,7 +197,7 @@
     <dt>Editors:</dt>
     <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd>
     <dd>David Hyatt, Apple, Inc.</dd>
-   </dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
+   </dl><p style="margin-bottom: 10px">The content of this document is also available as a <a href="Overview.html">single HTML file</a>.</p><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2009 <a href="http://www.w3.org/"><abbr title="World Wide
    Web Consortium">W3C</abbr></a><sup>&#174;</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts
    Institute of Technology">MIT</abbr></a>, <a href="http://www.ercim.org/"><abbr title="European Research

Index: Makefile
===================================================================
RCS file: /sources/public/html5/spec/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile	18 Jul 2009 10:20:59 -0000	1.4
+++ Makefile	18 Jul 2009 12:41:27 -0000	1.5
@@ -28,7 +28,10 @@
 	  | $(TEE) $(TEEFLAGS) \
 	  | $(GREP) $(GREPFLAGS) '<h2>' \
 	  | cut -c8- \
-	  | $(PERL) $(PERLFLAGS) -pe "s/(^[^ ]+)\s*\n/\1.html\n/" > $@
+	  | $(PERL) $(PERLFLAGS) -pe "s/(^[^ ]+)\s*\n/\1.html\n/" \
+	  | > $@
+
+	  $(PERL) $(PERLFLAGS) -pi -e 's|<p class="copyright">|<p style="margin-bottom: 10px">The content of this document is also available as a <a href="Overview.html">single HTML file</a>.</p><p class="copyright">|' spec.html
 
 toc-status.html: annotations.xml spec.xml tocmix.xsl
 	$(XSLTPROC) --novalid --output $@ \
Received on Saturday, 18 July 2009 12:43:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:07 GMT