Updates to the way the spec index is generated.
authorManu Sporny <msporny@digitalbazaar.com>
Sun, 16 Oct 2011 02:28:04 -0400
changeset 220 33f6524f4f2d
parent 219 c6ccfcc73698
child 221 c43f203aafca
Updates to the way the spec index is generated.
spec/index.php
spec/latest/json-ld-syntax/index.html
--- a/spec/index.php	Sun Oct 16 01:57:59 2011 -0400
+++ b/spec/index.php	Sun Oct 16 02:28:04 2011 -0400
@@ -41,13 +41,13 @@
 
 htmlcode;
 
-$editorsDrafts = scandir('ED', 1);
+$editorsDrafts = scandir('ED/json-ld-syntax', 1);
 
 foreach($editorsDrafts as $draft)
 {
    if($draft != "." and $draft != "..")
    {
-     print("                 <li><a href=\"ED/$draft/\">$draft</a></li>");
+     print("                 <li><a href=\"ED/json-ld-syntax/$draft/\">$draft</a></li>");
    }
 }
 
@@ -57,12 +57,38 @@
                <h2>The JSON-LD API</h2>
                <ul>
                  <li><a href="latest/json-ld-api/">latest</a></li>
+htmlcode;
+
+$editorsDrafts = scandir('ED/json-ld-api', 1);
+
+foreach($editorsDrafts as $draft)
+{
+   if($draft != "." and $draft != "..")
+   {
+     print("                 <li><a href=\"ED/json-ld-api/$draft/\">$draft</a></li>");
+   }
+}
+
+print <<< htmlcode
                </ul>
 
 
                <h2>RDF Graph Normalization</h2>
                <ul>
                  <li><a href="latest/rdf-graph-normalization/">latest</a></li>
+htmlcode;
+
+$editorsDrafts = scandir('ED/rdf-graph-normalization', 1);
+
+foreach($editorsDrafts as $draft)
+{
+   if($draft != "." and $draft != "..")
+   {
+     print("                 <li><a href=\"ED/rdf-graph-normalization/$draft/\">$draft</a></li>");
+   }
+}
+
+print <<< htmlcode
                </ul>
 
             </div>
--- a/spec/latest/json-ld-syntax/index.html	Sun Oct 16 01:57:59 2011 -0400
+++ b/spec/latest/json-ld-syntax/index.html	Sun Oct 16 02:28:04 2011 -0400
@@ -152,9 +152,9 @@
 
           // if there is a previously published draft, uncomment this and set its YYYY-MM-DD date
           // and its maturity status
-          previousPublishDate:  "2011-08-17",
+          previousPublishDate:  "2011-09-11",
           previousMaturity:     "ED",
-          previousDiffURI:      "http://json-ld.org/spec/ED/20110817/index.html",
+          previousDiffURI:      "http://json-ld.org/spec/ED/20110911/index.html",
           diffTool:             "http://www.aptest.com/standards/htmldiff/htmldiff.pl",
 
           // if there a publicly available Editor's Draft, this is the link
@@ -183,6 +183,8 @@
           authors:  [
               { name: "Manu Sporny", url: "http://digitalbazaar.com/",
                 company: "Digital Bazaar", companyURL: "http://digitalbazaar.com/" },
+              { name: "Dave Longley", url: "http://digitalbazaar.com/",
+                company: "Digital Bazaar", companyURL: "http://digitalbazaar.com/"},
               { name: "Gregg Kellogg", url: "http://greggkellogg.net/",
                 company: "Kellogg Associates" },
               { name: "Mark Birbeck", url: "http://webbackplane.com/",
@@ -206,7 +208,7 @@
           wgPatentURI:  "",
           maxTocLevel: 4,
           preProcess: [ preProc ],
-          //alternateFormats: [ {uri: "diff-20110817.html", label: "diff to previous version"} ],
+          //alternateFormats: [ {uri: "diff-20110911.html", label: "diff to previous version"} ],
       };
 
       function updateExample(doc, content) {