Ignore:
Timestamp:
Jan 31, 2012, 5:11:11 PM (8 years ago)
Author:
julian.reschke@…
Message:

bump up document dates, update to latest version of rfc2629.xslt, add feedback links

Location:
draft-ietf-httpbis-method-registrations/latest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis-method-registrations/latest/draft-ietf-httpbis-method-registrations.html

    r1504 r1522  
    66      <title>Initial Hypertext&nbsp;Transfer&nbsp;Protocol&nbsp;(HTTP)
    77         Method&nbsp;Registrations
    8       </title><style type="text/css" title="Xml2Rfc (sans serif)">
     8      </title><script>
     9var buttonsAdded = false;
     10
     11function init() {
     12  var fb = document.createElement("div");
     13  fb.setAttribute("class", "feedback");
     14  fb.setAttribute("onclick", "feedback();");
     15  fb.appendChild(document.createTextNode("feedback"));
     16
     17  var bodyl = document.getElementsByTagName("body");
     18  bodyl.item(0).appendChild(fb);
     19}
     20
     21function feedback() {
     22  toggleButtonsToElementsByName("h1");
     23  toggleButtonsToElementsByName("h2");
     24  toggleButtonsToElementsByName("h3");
     25  toggleButtonsToElementsByName("h4");
     26 
     27  buttonsAdded = !buttonsAdded;
     28}
     29
     30function toggleButtonsToElementsByName(name) {
     31  var list = document.getElementsByTagName(name);
     32  for (var i = 0; i < list.length; i++) {
     33    toggleButton(list.item(i));
     34  }
     35}
     36
     37function toggleButton(node) {
     38  if (! buttonsAdded) {
     39 
     40    // docname
     41    var template = "mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:";
     42
     43    var id = node.getAttribute("id");
     44    // better id available?
     45    var titlelinks = node.getElementsByTagName("a");
     46    for (var i = 0; i < titlelinks.length; i++) {
     47      var tl = titlelinks.item(i);
     48      if (tl.getAttribute("id")) {
     49        id = tl.getAttribute("id");
     50      }
     51    }
     52
     53    // ref
     54    var ref = window.location.toString();
     55    var hash = ref.indexOf("#");
     56    if (hash != -1) {
     57      ref = ref.substring(0, hash);
     58    }
     59    if (id != "") {
     60      ref += "#" + id;
     61    }
     62   
     63    // docname
     64    var docname = "draft-ietf-httpbis-method-registrations-latest";
     65
     66    // section
     67    var section = node.textContent;
     68   
     69    // build URI from template
     70    var uri = template.replace("{docname}", encodeURIComponent(docname));
     71    uri = uri.replace("{section}", encodeURIComponent(section));
     72    uri = uri.replace("{ref}", encodeURIComponent(ref));
     73 
     74    var button = document.createElement("a");
     75    button.setAttribute("class", "fbbutton");
     76    button.setAttribute("href", uri);
     77    button.appendChild(document.createTextNode("send feedback"));
     78    node.appendChild(button);
     79  }
     80  else {
     81    var buttons = node.getElementsByTagName("a");
     82    for (var i = 0; i < buttons.length; i++) {
     83      var b = buttons.item(i);
     84      if (b.getAttribute("class") == "fbbutton") {
     85        node.removeChild(b);
     86      }
     87    }
     88  }
     89}</script><style type="text/css" title="Xml2Rfc (sans serif)">
    990a {
    1091  text-decoration: none;
     
    276357  background-color: yellow;
    277358}
    278 
     359.feedback {
     360  position: fixed;
     361  bottom: 1%;
     362  right: 1%;
     363  padding: 3px 5px;
     364  color: white;
     365  border-radius: 5px;
     366  background: #a00000;
     367  border: 1px solid silver;
     368}
     369.fbbutton {
     370  margin-left: 1em;
     371  color: #303030;
     372  font-size: small;
     373  font-weight: normal;
     374  background: #d0d000;
     375  padding: 1px 4px;
     376  border: 1px solid silver;
     377  border-radius: 5px;
     378}
    279379
    280380@media print {
     
    319419  }
    320420  @top-right {
    321        content: "January 2012";
     421       content: "February 2012";
    322422  }
    323423  @top-center {
     
    328428  }
    329429  @bottom-center {
    330        content: "Expires July 7, 2012";
     430       content: "Expires August 4, 2012";
    331431  }
    332432  @bottom-right {
     
    355455      <link rel="Appendix" title="A Initial Registry Contents" href="#rfc.section.A">
    356456      <link rel="Appendix" title="B Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.B">
    357       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.561, 2011-12-24 13:06:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     457      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.564, 2012-01-28 14:56:56, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    358458      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    359459      <meta name="dct.creator" content="Reschke, J. F.">
    360460      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-method-registrations-latest">
    361       <meta name="dct.issued" scheme="ISO8601" content="2012-01-04">
     461      <meta name="dct.issued" scheme="ISO8601" content="2012-02-01">
    362462      <meta name="dct.abstract" content="This document registers those Hypertext Transfer Protocol (HTTP) methods which have been defined in standards-track RFCs before the IANA HTTP Method Registry was established.">
    363463      <meta name="description" content="This document registers those Hypertext Transfer Protocol (HTTP) methods which have been defined in standards-track RFCs before the IANA HTTP Method Registry was established.">
    364464   </head>
    365    <body>
     465   <body onload="init();">
    366466      <table class="header">
    367467         <tbody>
     
    376476            <tr>
    377477               <td class="left">Intended status: Informational</td>
    378                <td class="right">January 4, 2012</td>
     478               <td class="right">February 1, 2012</td>
    379479            </tr>
    380480            <tr>
    381                <td class="left">Expires: July 7, 2012</td>
     481               <td class="left">Expires: August 4, 2012</td>
    382482               <td class="right"></td>
    383483            </tr>
     
    406506         in progress”.
    407507      </p>
    408       <p>This Internet-Draft will expire on July 7, 2012.</p>
     508      <p>This Internet-Draft will expire on August 4, 2012.</p>
    409509      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    410510      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
  • draft-ietf-httpbis-method-registrations/latest/draft-ietf-httpbis-method-registrations.xml

    r1502 r1522  
    2424]>
    2525<rfc xmlns:x="http://purl.org/net/xml2rfc/ext" xmlns:ed="http://greenbytes.de/2002/rfcedit" ipr="trust200902" docName="draft-ietf-httpbis-method-registrations-latest" category="info">
     26<x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;body=&lt;{ref}&gt;:"/>
    2627        <front>
    2728  <title abbrev="HTTP Method Registrations">Initial Hypertext&#160;Transfer&#160;Protocol&#160;(HTTP)
     
    4142  </author>
    4243
    43   <date month="January" year="2012"/>
     44  <date month="February" year="2012"/>
    4445  <workgroup>HTTPbis Working Group</workgroup>
    4546 
Note: See TracChangeset for help on using the changeset viewer.