From 480e4bf4cc0ad1c207d6d39864159c12e4cb59db Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Sun, 19 Feb 2023 10:13:08 +0100 Subject: Add Mastodon temp account link in footer. Using rel="me" as required by Mastodon verification, but other links use rel="author" here: how can I uniformize this? --- org/madore/damlengine/TodoFooter.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'org/madore') diff --git a/org/madore/damlengine/TodoFooter.java b/org/madore/damlengine/TodoFooter.java index 90d4f5f..e5751c5 100644 --- a/org/madore/damlengine/TodoFooter.java +++ b/org/madore/damlengine/TodoFooter.java @@ -67,6 +67,12 @@ public final class TodoFooter extends TodoElement { a.appendChild(ctx.doc.createTextNode("Twitter")); addr.appendChild(ctx.doc.createTextNode("|")); a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); + a.setAttributeNS(null, "href", "https://mastodon.sdf.org/@gro_tsen_test"); + a.setAttributeNS(null, "rel", "me"); + addr.appendChild(a); + a.appendChild(ctx.doc.createTextNode("Mastodon (test)")); + addr.appendChild(ctx.doc.createTextNode("|")); + a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); a.setAttributeNS(null, "href", "http://www.facebook.com/grotsen"); a.setAttributeNS(null, "rel", "author"); addr.appendChild(a); -- cgit v1.2.3