I appreciate that this is almost inexcusably trivial, but bear with
me.
On the Council list, Peter Saint-Andre happens to mention the
potential confusion of having both Standards Track XEPs and
Informational XEPs (and there's others) all in the same series.
This has hit the IETF, too - everyone refers to an RFC as a
"Standard", even though many RFCs aren't standards at all - in fact,
strictly speaking, very few indeed are - see RFC 1796 for a
discussion. (And that RFC is not a standard, either).
So to make it more obvious, I suggested colour coding the different
XEPs. The remainder of this email is what I sent to the Council list
- I'd be interested in people's opinions, although I'm not
desperately interested in *which* colours, precisely. Something I've
noticed is that the XSF's logo can now be retromemed into symbolizing
the various streams of documents we produce. :-)
...
Perhaps we could consider styling them differently - I'm put in mind
of the UK Government (and probably elsewhere, too) practise of "white
papers", "green papers", etc, and wondering whether we literally
follow that practise - so Informational documents would "go white"
when they went Active, and documents in the "working" phase of the
lifecycle - Experimental and Proposed - would be Green. It's probably
worth making Proposed blue, such that it's a "blueprint" of the
proposal.
For the various "failure" states, I'd simply pick grey.
For Standards Track documents, I quite like the idea of Final
documents "going gold", and that just leaves Draft, which for no good
reason I'll pick Pink.
This yields:
Retracted, Deferred, Rejected, Deprecated, Obsolete -> #7F7F7F
Active -> #FFFFFF
Experimental -> #CFEFCF
Proposed -> #AFCFFF
Draft -> #FFEFEF
Final -> #FFFFCF
These colours can live in the side margins of the document, so
there's a very clear visual indicator of the status of the document.
And this can be accomplished reasonably easily with a minor XSL and
CSS tweak, which I've attached in patch form.
Dave.
--
Dave Cridland - mailto:[EMAIL PROTECTED] - xmpp:[EMAIL PROTECTED]
- acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
- http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade
Index: ../extensions/xep.xsl
===================================================================
--- ../extensions/xep.xsl (revision 2491)
+++ ../extensions/xep.xsl (working copy)
@@ -87,6 +87,8 @@
<!-- END META TAGS FOR DUBLIN CORE -->
</head>
<body>
+ <xsl:attribute name='class'><xsl:value-of select='/xep/header/status'/></xsl:attribute>
+ <div class='MainContent'>
<!-- TITLE -->
<h1>XEP-<xsl:value-of select='/xep/header/number' />:<xsl:text> </xsl:text><xsl:value-of select='/xep/header/title' /></h1>
<!-- ABSTRACT -->
@@ -314,6 +316,7 @@
</div>
<hr />
<p>END</p>
+ </div><!-- MainContent -->
</body>
</html>
</xsl:template>
Index: ../xmpp.css
===================================================================
--- ../xmpp.css (revision 2211)
+++ ../xmpp.css (working copy)
@@ -1,12 +1,36 @@
BODY {
- background-color: #ffffff;
color: #000000;
font-family: Verdana, Arial, Helvetica, Geneva, sans-serif;
font-size: small;
line-height: 130%;
- margin-left: 7%;
- margin-right: 7%;
+ margin-left: 6%;
+ margin-right: 6%;
+ margin-top: 0%;
+ margin-bottom: 0%;
+ padding-top: 0;
}
+.MainContent {
+ background-color: #FFFFFF;
+ padding: 1%;
+}
+BODY.Experimental {
+ background-color: #CFEFCF;
+}
+BODY.Proposed {
+ background-color: #AFCFFF;
+}
+BODY.Deferred BODY.Retracted BODY.Rejected BODY.Deprecated BODY.Obsolete {
+ background-color: #7F7F7F;
+}
+BODY.Draft {
+ background-color: #FFEFEF;
+}
+BODY.Final {
+ background-color: #FFFFCF;
+}
+BODY.Active {
+ background-color: #FFFFFF;
+}
#left {
border: 0px;
border-color: #aaaaaa;