From 6e0587364ea813c1762a313feed942ff68e18e58 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Tue, 13 Sep 2011 11:37:50 +0200 Subject: Sprinkle microformats to hopefully make the blog a valid hAtom feed. --- org/madore/damlengine/TodoFooter.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'org/madore/damlengine/TodoFooter.java') diff --git a/org/madore/damlengine/TodoFooter.java b/org/madore/damlengine/TodoFooter.java index 1744efb..33bd1fc 100644 --- a/org/madore/damlengine/TodoFooter.java +++ b/org/madore/damlengine/TodoFooter.java @@ -25,12 +25,14 @@ public final class TodoFooter extends TodoElement { Element addr = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "address"); footer.appendChild(addr); footer.appendChild(ctx.doc.createTextNode("\n")); + addr.setAttributeNS(null, "class", "author vcard"); toProcess.add(TodoElement.getTodoElement(addr, this.ctx, this)); Element a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); a.setAttributeNS(null, "href", (ctx.gc.uriToTop==null)?"http://www.madore.org/~david/" :ctx.gc.uriToTop); // a.setAttributeNS(null, "rel", "author"); + a.setAttributeNS(null, "class", "url fn"); addr.appendChild(a); a.appendChild(ctx.doc.createTextNode("David Madore")); addr.appendChild(ctx.doc.createTextNode(" (")); -- cgit v1.2.3