Repository: tobie/specref
Pull request #766 (2023-11-23 17:57:45)

Refresh the list of RFCs published under httpwg.org
The list was no longer complete as the IETF HTTP WG published a few other RFCs.

Also, the https://httpwg.org/specs page is not such a good source for the list because it fails to list a few specs, and also contains one RFC that is actually not published under https://httpwg.org/specs. The comment explains how to extract the list from the underlying GitHub repository instead.

In terms of updates, this will swap the URL of a few additional RFC entries from `www.rfc-editor.org` to `httpwg.org/specs`, notably RFC9110, RFC9111, RFC9112 and RFC9113. That's intended, the `httpwg.org/specs` versions are more readable, as discussed in: https://github.com/w3c/browser-specs/issues/933

(Side note that updates in browser-specs to align the URLs are upcoming)


Patch:
diff --git a/refs/w3c.json b/refs/w3c.json
index 1d3aa85bf..c4b3283d5 100644
--- a/refs/w3c.json
+++ b/refs/w3c.json
@@ -43498,7 +43498,7 @@
         ],
         "href": "https://www.w3.org/TR/dapt/",
         "title": "Dubbing and Audio description Profiles of TTML2",
-        "rawDate": "2023-11-02",
+        "rawDate": "2023-11-23",
         "status": "WD",
         "publisher": "W3C",
         "edDraft": "https://w3c.github.io/dapt/",
@@ -43701,6 +43701,21 @@
                     "https://www.w3.org/AudioVideo/TT/"
                 ],
                 "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
+            },
+            "20231123": {
+                "authors": [
+                    "Cyril Concolato",
+                    "Nigel Megitt"
+                ],
+                "href": "https://www.w3.org/TR/2023/WD-dapt-20231123/",
+                "title": "Dubbing and Audio description Profiles of TTML2",
+                "rawDate": "2023-11-23",
+                "status": "WD",
+                "publisher": "W3C",
+                "deliveredBy": [
+                    "https://www.w3.org/AudioVideo/TT/"
+                ],
+                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
             }
         },
         "repository": "https://github.com/w3c/dapt"
diff --git a/refs/wg21.json b/refs/wg21.json
index f09448273..06e2dcd88 100644
--- a/refs/wg21.json
+++ b/refs/wg21.json
@@ -33671,7 +33671,7 @@
         "source": "https://wg21.link/index.json"
     },
     "D2736R2": {
-        "title": "Referencing The Unicode Standard",
+        "title": "Referencing the Unicode standard",
         "href": "https://wg21.link/d2736r2",
         "publisher": "WG21",
         "source": "https://wg21.link/index.json"
@@ -33695,7 +33695,7 @@
         "source": "https://wg21.link/index.json"
     },
     "D2788R0": {
-        "title": "Linkage for modular constants",
+        "title": "Modular constants",
         "href": "https://wg21.link/d2788r0",
         "publisher": "WG21",
         "source": "https://wg21.link/index.json"
@@ -33719,7 +33719,7 @@
         "source": "https://wg21.link/index.json"
     },
     "D2797R0": {
-        "title": "2692, 2687 Static and explicit object member functions with the same parameter-type-lists",
+        "title": "D2797R0 Proposed resolution for CWG2692 Static and explicit object member functions with the same parameter-type-lists",
         "href": "https://wg21.link/d2797r0",
         "publisher": "WG21",
         "source": "https://wg21.link/index.json"
diff --git a/scripts/ietf.js b/scripts/ietf.js
index faee201c5..c9e530ade 100755
--- a/scripts/ietf.js
+++ b/scripts/ietf.js
@@ -40,9 +40,11 @@ request({
     helper.tryOverwrite(FILE);
 });
 
-// From https://httpwg.org/specs/
-// JSON.stringify([...document.body.textContent.matchAll(/(RFC\d{4}):/g)]
-//     .map(m => m[1].toLowerCase()).sort(), null, 4);
+// From https://github.com/httpwg/httpwg.github.io/tree/main/specs
+// JSON.stringify([...new Set(
+//   [...document.querySelectorAll('div[title^=rfc]')]
+//     .map(el => el.getAttribute('title').replace(/\..*$/, '')).sort()
+// )], null, 4);
 var HTTP_SPECS = [
     "rfc2818",
     "rfc5789",
@@ -74,7 +76,22 @@ var HTTP_SPECS = [
     "rfc8297",
     "rfc8336",
     "rfc8441",
-    "rfc8470"
+    "rfc8470",
+    "rfc8941",
+    "rfc9110",
+    "rfc9111",
+    "rfc9112",
+    "rfc9113",
+    "rfc9114",
+    "rfc9204",
+    "rfc9205",
+    "rfc9209",
+    "rfc9211",
+    "rfc9213",
+    "rfc9218",
+    "rfc9220",
+    "rfc9412",
+    "rfc9440"
 ];
 
 function href(index) {


Test patch:
diff --git a/test/ref-list.json b/test/ref-list.json
index 49fcd135b..0405e4e5e 100644
--- a/test/ref-list.json
+++ b/test/ref-list.json
@@ -9076,6 +9076,8 @@
     "DAPT-20231019",
     "dapt-20231102",
     "DAPT-20231102",
+    "dapt-20231123",
+    "DAPT-20231123",
     "dapt-reqs",
     "DAPT-REQS",
     "dapt-reqs-20220510",