Mercurial > eldonilo > blog
comparison nothing.js @ 5:4d7a67349089
Finish the changing of name to Eldonilo.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 19 Sep 2011 02:00:55 -0700 |
parents | f62b5c395a48 |
children | 161d4ea1c3f8 |
comparison
equal
deleted
inserted
replaced
4:f630f4b90564 | 5:4d7a67349089 |
---|---|
5 return new Date(); | 5 return new Date(); |
6 }; | 6 }; |
7 | 7 |
8 var toHTML = function(xml, date) { | 8 var toHTML = function(xml, date) { |
9 var article = document.createElementNS(ns.xhtml, 'article'); | 9 var article = document.createElementNS(ns.xhtml, 'article'); |
10 article.setAttributeNS(ns.idq, 'id', id); | 10 article.setAttributeNS(ns.e, 'id', id); |
11 article.setAttributeNS(ns.idq, 'date', date.to8601()); | 11 article.setAttributeNS(ns.e, 'date', date.to8601()); |
12 article.appendChild(document.createElementNS(ns.xhtml, 'h2').appendChild(document.createTextNode('This post is in an unknown namespace.'))); | 12 article.appendChild(document.createElementNS(ns.xhtml, 'h2').appendChild(document.createTextNode('This post is in an unknown namespace.'))); |
13 return article; | 13 return article; |
14 }; | 14 }; |
15 | 15 |
16 this.xml = xml; | 16 this.xml = xml; |