From 903c1c312ad7f0093b19942d939e977cef733b48 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Wed, 1 Nov 2023 14:45:36 +0100 Subject: Add Bluesky account link in footer, and uniformize rel="me". --- org/madore/damlengine/TodoFooter.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/org/madore/damlengine/TodoFooter.java b/org/madore/damlengine/TodoFooter.java index e5751c5..9cb7742 100644 --- a/org/madore/damlengine/TodoFooter.java +++ b/org/madore/damlengine/TodoFooter.java @@ -62,11 +62,17 @@ public final class TodoFooter extends TodoElement { addr.appendChild(ctx.doc.createTextNode("|")); a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); a.setAttributeNS(null, "href", "https://twitter.com/gro_tsen"); - a.setAttributeNS(null, "rel", "author"); + a.setAttributeNS(null, "rel", "me"); addr.appendChild(a); a.appendChild(ctx.doc.createTextNode("Twitter")); addr.appendChild(ctx.doc.createTextNode("|")); a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); + a.setAttributeNS(null, "href", "https://bsky.app/profile/gro-tsen.bsky.social"); + a.setAttributeNS(null, "rel", "me"); + addr.appendChild(a); + a.appendChild(ctx.doc.createTextNode("Bluesky")); + 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); @@ -74,7 +80,7 @@ public final class TodoFooter extends TodoElement { 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"); + a.setAttributeNS(null, "rel", "me"); addr.appendChild(a); a.appendChild(ctx.doc.createTextNode("Facebook")); addr.appendChild(ctx.doc.createTextNode(")")); -- cgit v1.2.3