1 Return-Path: <wking@tremily.us>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 0FBEA429E51
\r
6 for <notmuch@notmuchmail.org>; Mon, 3 Feb 2014 03:01:06 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"
\r
12 X-Spam-Status: No, score=0 tagged_above=-999 required=5
\r
13 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001]
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id g2+F4OtoIY4r for <notmuch@notmuchmail.org>;
\r
18 Mon, 3 Feb 2014 03:00:58 -0800 (PST)
\r
19 Received: from qmta07.westchester.pa.mail.comcast.net
\r
20 (qmta07.westchester.pa.mail.comcast.net [76.96.62.64])
\r
21 by olra.theworths.org (Postfix) with ESMTP id C58CB429E32
\r
22 for <notmuch@notmuchmail.org>; Mon, 3 Feb 2014 03:00:44 -0800 (PST)
\r
23 Received: from omta05.westchester.pa.mail.comcast.net ([76.96.62.43])
\r
24 by qmta07.westchester.pa.mail.comcast.net with comcast
\r
25 id Mmz61n0010vyq2s57n0kqQ; Mon, 03 Feb 2014 11:00:44 +0000
\r
26 Received: from odin.tremily.us ([24.18.63.50])
\r
27 by omta05.westchester.pa.mail.comcast.net with comcast
\r
28 id Mn0j1n00F152l3L3Rn0kcP; Mon, 03 Feb 2014 11:00:44 +0000
\r
29 Received: from mjolnir.tremily.us (unknown [192.168.0.140])
\r
30 by odin.tremily.us (Postfix) with ESMTPS id 218F8FB4D59;
\r
31 Mon, 3 Feb 2014 03:00:43 -0800 (PST)
\r
32 Received: (nullmailer pid 706 invoked by uid 1000);
\r
33 Mon, 03 Feb 2014 10:59:41 -0000
\r
34 From: "W. Trevor King" <wking@tremily.us>
\r
35 To: notmuch@notmuchmail.org
\r
36 Subject: [PATCH 12/17] nmbug-status: Convert from XHTML 1.0 to HTML 5
\r
37 Date: Mon, 3 Feb 2014 02:59:30 -0800
\r
39 <5c61826b6a353fd36eab6e277858511ed199580c.1391424512.git.wking@tremily.us>
\r
40 X-Mailer: git-send-email 1.8.5.2.8.g0f6c0d1
\r
41 In-Reply-To: <cover.1391424512.git.wking@tremily.us>
\r
42 References: <cover.1391424512.git.wking@tremily.us>
\r
43 In-Reply-To: <cover.1391424512.git.wking@tremily.us>
\r
44 References: <cover.1391424512.git.wking@tremily.us>
\r
45 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;
\r
46 s=q20121106; t=1391425244;
\r
47 bh=rbw5QNaWFcDFeoj+1h1OlvAL5kldQ2rWlzsEV1+bqkw=;
\r
48 h=Received:Received:Received:Received:From:To:Subject:Date:
\r
50 b=TFEIiOeo8xTA1TCCZyt99BCR3L3d7y2dMzBF99toxNbkhdUOdeVDfJbCP76n/HDs7
\r
51 miQJe9CQe3vU6StGKWcvGEgqiUWX1Ee2xS7eqvRHnK9i8qu+K8LLFwacWjmLnvBCE2
\r
52 Wiwn6F7m9pxm+/zLcJG7DBcWG/fMyi0xTnNT3DV8a9YKAEAI8jSH15fD7Imca/j0u8
\r
53 /dMRp06uugqFjN1Vv2JpOe49PHbBvY66MsfJvzANIo3YDQDShjLlOWmCY6rCBdwd+D
\r
54 lQDbje7/u+enfq4wcuehij7QozfpEuIp0ySYg0KFBXWfqAu/1ird0LJAp6cjBp930j
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Mon, 03 Feb 2014 11:01:06 -0000
\r
70 HTML 5 for the win :). I also de-namespaced the language; the HTML 5
\r
71 spec allows a vestigial xml:lang attribute, but it's a no-op [1], so I
\r
74 This shouldn't break anything at tethera, which already serves the
\r
75 status as text/html:
\r
77 $ wget -S http://nmbug.tethera.net/status/
\r
78 --2014-02-02 21:20:39-- http://nmbug.tethera.net/status/
\r
79 Resolving nmbug.tethera.net... 87.98.215.224
\r
80 Connecting to nmbug.tethera.net|87.98.215.224|:80... connected.
\r
81 HTTP request sent, awaiting response...
\r
83 Vary: Accept-Encoding
\r
84 Content-Type: text/html
\r
87 This also matches the Content-Type in the generated HTML's http-equiv
\r
90 [1]: http://www.w3.org/TR/html5/dom.html#the-lang-and-xml:lang-attributes
\r
92 devel/nmbug/nmbug-status | 5 ++---
\r
93 1 file changed, 2 insertions(+), 3 deletions(-)
\r
95 diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status
\r
96 index fdafda0..b67b86b 100755
\r
97 --- a/devel/nmbug/nmbug-status
\r
98 +++ b/devel/nmbug/nmbug-status
\r
99 @@ -209,9 +209,8 @@ class HtmlPage (Page):
\r
101 _PAGES['text'] = Page()
\r
102 _PAGES['html'] = HtmlPage(
\r
103 - header='''<?xml version="1.0" encoding="utf-8" ?>
\r
104 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\r
105 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
\r
106 + header='''<!DOCTYPE html>
\r
109 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
\r
110 <title>Notmuch Patches</title>
\r