Changeset 1522 for draft-ietf-httpbis-method-registrations/latest/draft-ietf-httpbis-method-registrations.html
- Timestamp:
- 01/02/12 01:11:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis-method-registrations/latest/draft-ietf-httpbis-method-registrations.html
r1504 r1522 6 6 <title>Initial Hypertext Transfer Protocol (HTTP) 7 7 Method Registrations 8 </title><style type="text/css" title="Xml2Rfc (sans serif)"> 8 </title><script> 9 var buttonsAdded = false; 10 11 function 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 21 function feedback() { 22 toggleButtonsToElementsByName("h1"); 23 toggleButtonsToElementsByName("h2"); 24 toggleButtonsToElementsByName("h3"); 25 toggleButtonsToElementsByName("h4"); 26 27 buttonsAdded = !buttonsAdded; 28 } 29 30 function 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 37 function 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)"> 9 90 a { 10 91 text-decoration: none; … … 276 357 background-color: yellow; 277 358 } 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 } 279 379 280 380 @media print { … … 319 419 } 320 420 @top-right { 321 content: " January 2012";421 content: "February 2012"; 322 422 } 323 423 @top-center { … … 328 428 } 329 429 @bottom-center { 330 content: "Expires July 7, 2012";430 content: "Expires August 4, 2012"; 331 431 } 332 432 @bottom-right { … … 355 455 <link rel="Appendix" title="A Initial Registry Contents" href="#rfc.section.A"> 356 456 <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.56 1, 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/"> 358 458 <link rel="schema.dct" href="http://purl.org/dc/terms/"> 359 459 <meta name="dct.creator" content="Reschke, J. F."> 360 460 <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-method-registrations-latest"> 361 <meta name="dct.issued" scheme="ISO8601" content="2012-0 1-04">461 <meta name="dct.issued" scheme="ISO8601" content="2012-02-01"> 362 462 <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."> 363 463 <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."> 364 464 </head> 365 <body >465 <body onload="init();"> 366 466 <table class="header"> 367 467 <tbody> … … 376 476 <tr> 377 477 <td class="left">Intended status: Informational</td> 378 <td class="right"> January 4, 2012</td>478 <td class="right">February 1, 2012</td> 379 479 </tr> 380 480 <tr> 381 <td class="left">Expires: July 7, 2012</td>481 <td class="left">Expires: August 4, 2012</td> 382 482 <td class="right"></td> 383 483 </tr> … … 406 506 in progress”. 407 507 </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> 409 509 <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1> 410 510 <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
Note: See TracChangeset
for help on using the changeset viewer.