- From: Shane McCarron via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 27 Jul 2010 21:24:13 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv2828
Modified Files:
respec.js
Log Message:
Changed title and subtitle indicators to 'property' attributes when generating RDFa
Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- respec.js 26 Jul 2010 16:44:37 -0000 1.133
+++ respec.js 27 Jul 2010 21:24:11 -0000 1.134
@@ -755,9 +755,9 @@
header += "<a href='http://www.w3.org/2005/Incubator/XGR/'><img alt='W3C Incubator Report' src='http://www.w3.org/2005/Incubator/images/XGR' height='48' width='160'/></a>";
if ( this.doRDFa ) {
header +=
- "<h1 rel='dcterms:title' class='title' id='title'>" + this.title + "</h1>" ;
+ "<h1 property='dcterms:title' class='title' id='title'>" + this.title + "</h1>" ;
if (this.subtitle) {
- header += "<h2 rel='bibo:subtitle' id='subtitle'>" + this.subtitle + "</h2>" ;
+ header += "<h2 property='bibo:subtitle' id='subtitle'>" + this.subtitle + "</h2>" ;
}
header +=
"<h2 property='dcterms:issued' datatype='xsd:dateTime' content='" + this._ISODate(this.publishDate) + "'>" + (this.specStatus == "unofficial" ? "" : "W3C ") +
Received on Tuesday, 27 July 2010 21:24:14 UTC