diff options
author | David A. Madore <david+git@madore.org> | 2019-05-08 08:52:10 +0200 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2019-05-08 08:52:10 +0200 |
commit | 1e8c46e2cfdd35c0fcc7dd06a23ce2ed30b170c9 (patch) | |
tree | 70e487f026652bee8ba2c0a8350f3982b6d798b9 | |
parent | a715d6c4332065d0e72708b46507ee965c1fe1e1 (diff) | |
download | damlengine-1e8c46e2cfdd35c0fcc7dd06a23ce2ed30b170c9.tar.gz damlengine-1e8c46e2cfdd35c0fcc7dd06a23ce2ed30b170c9.tar.bz2 damlengine-1e8c46e2cfdd35c0fcc7dd06a23ce2ed30b170c9.zip |
Google Plus no longer exists. Adapt footer accordingly.
-rw-r--r-- | org/madore/damlengine/TodoFooter.java | 20 |
1 files changed, 10 insertions, 10 deletions
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 |