From 1e8c46e2cfdd35c0fcc7dd06a23ce2ed30b170c9 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Wed, 8 May 2019 08:52:10 +0200 Subject: Google Plus no longer exists. Adapt footer accordingly. --- org/madore/damlengine/TodoFooter.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'org/madore') diff --git a/org/madore/damlengine/TodoFooter.java b/org/madore/damlengine/TodoFooter.java index dffe7f6..bb5d606 100644 --- a/org/madore/damlengine/TodoFooter.java +++ b/org/madore/damlengine/TodoFooter.java @@ -45,10 +45,18 @@ public final class TodoFooter extends TodoElement { email.appendChild(ctx.doc.createTextNode("org")); addr.appendChild(ctx.doc.createTextNode("|")); a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); - a.setAttributeNS(null, "href", "https://plus.google.com/+davidamadore"); + a.setAttributeNS(null, "href", + ((ctx.gc.uriToTop==null)?"http://www.madore.org/~david/" + :ctx.gc.uriToTop) + "ego.html"); a.setAttributeNS(null, "rel", "author"); addr.appendChild(a); - a.appendChild(ctx.doc.createTextNode("Google+")); + a.appendChild(ctx.doc.createTextNode("\u2042")); + // addr.appendChild(ctx.doc.createTextNode("|")); + // a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); + // a.setAttributeNS(null, "href", "https://plus.google.com/+davidamadore"); + // a.setAttributeNS(null, "rel", "author"); + // addr.appendChild(a); + // a.appendChild(ctx.doc.createTextNode("Google+")); addr.appendChild(ctx.doc.createTextNode("|")); a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); a.setAttributeNS(null, "href", "https://twitter.com/gro_tsen/"); @@ -61,14 +69,6 @@ public final class TodoFooter extends TodoElement { a.setAttributeNS(null, "rel", "author"); addr.appendChild(a); a.appendChild(ctx.doc.createTextNode("Facebook")); - addr.appendChild(ctx.doc.createTextNode("|")); - a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); - a.setAttributeNS(null, "href", - ((ctx.gc.uriToTop==null)?"http://www.madore.org/~david/" - :ctx.gc.uriToTop) + "ego.html"); - a.setAttributeNS(null, "rel", "author"); - addr.appendChild(a); - a.appendChild(ctx.doc.createTextNode("\u2042")); addr.appendChild(ctx.doc.createTextNode(")")); Node ws = node.getNextSibling(); if ( ws != null && ( ws.getNodeType() == Node.TEXT_NODE -- cgit v1.2.3