Added PR-ready draft of JSON-LD specification.
authorManu Sporny <msporny@digitalbazaar.com>
Tue, 22 Oct 2013 11:02:30 -0400
changeset 2045 67da2b4dbfee
parent 2044 4e3b13ed6573
child 2046 c75ff5d685bc
Added PR-ready draft of JSON-LD specification.
spec/index.php
spec/latest/json-ld/index.html
--- a/spec/index.php	Tue Oct 22 10:57:02 2013 -0400
+++ b/spec/index.php	Tue Oct 22 11:02:30 2013 -0400
@@ -47,6 +47,7 @@
     $fcgs = @scandir('FCGS/' . $spec);
     $wd = @scandir('WD/' . $spec);
     $cr = @scandir('CR/' . $spec);
+    $pr = @scandir('PR/' . $spec);
 
     $all = array();
 
@@ -91,6 +92,16 @@
         }
     }
 
+    if ($pr) {
+        foreach ($pr as $date) {
+            if ('.' === $date[0]) {
+                continue;
+            }
+
+            $all[$date] = 'PR/' . $spec . $date;
+        }
+    }
+
     // Sort drafts in descending order
     krsort($all);
 
--- a/spec/latest/json-ld/index.html	Tue Oct 22 10:57:02 2013 -0400
+++ b/spec/latest/json-ld/index.html	Tue Oct 22 11:02:30 2013 -0400
@@ -85,8 +85,8 @@
       // Team Contact.
       wgPatentURI:  "http://www.w3.org/2004/01/pp-impl/46168/status",
       maxTocLevel: 2,
-      preProcess: [ preProc ]
-      //alternateFormats: [ {uri: "diff-20130411.html", label: "diff to previous version"} ]
+      preProcess: [ preProc ],
+      alternateFormats: [ {uri: "diff-20130910.html", label: "diff to previous version"} ]
   };
 //]]>
 </script>