About three weeks ago I got auto-linked hashtags working on my posts. The biggest challenge was picking a tag space to link my hashtags. The second biggest challenge was figuring out how to get my linked hashtags to work when my posts were federated ... tantek.com/t5QH1
About three weeks ago I got auto-linked hashtags working on my posts.

The biggest challenge was picking a tag space to link my hashtags.

The second biggest challenge was figuring out how to get my linked hashtags to work when my posts were federated into Mastodon instances, and have them rewrite those links into instance-local tag page links. We need a term for such locally rewritten linked hashtags, perhaps “federated hashtags”.

While typical personal sites link a hashtag to a tag page that only displays personal posts, I wanted to link to something more like a tag aggregation page that also displayed similar posts from others.

The tag pages on Mastodon instances do a good job of this, showing tagged posts from any user on that instance, and tagged posts from any user followed by any user on that instance.

I reviewed my hashtags since the start of 2023, checked their pages indieweb.social and found that the posts displayed were all on topic, and surprisingly free of tag spam (perhaps for now).

I chose https://indieweb.social/tags/ for my tag space (which is a 404 if you click it, where it really should display a list of tags page). When combined with a hashtag like #100DaysOfIndieWeb, it links to https://indieweb.social/tags/100DaysOfIndieWeb.

The other interesting thing about hashtag links is how they’re rewritten when a post is displayed on another Mastodon instance, to link to the tag page local to that instance.

This linked-hashtag-portability is underspecified unfortunately (it could probably use its own portable markup specification, or at least a best practice for h-entry publishing).

How it works in Mastodon is non-obvious enough that there’s a 4+ year old Bridgy Fed issue on the subject!
* https://github.com/snarfed/bridgy-fed/issues/45

With a bunch of research and experiment contributions from several folks in the issue, @snarfed.org (@schnarfed) did eventually figure out how to make hashtags in posts federate into Mastodon so it would rewrite their links into instance-local hashtag pages:
* https://github.com/snarfed/bridgy-fed/issues/45#issuecomment-1468962400

Thus even though I’m using the indieweb.social tag space on the hashtag links in my original post, if you are reading this post on Mastodon, you should see a hashtag like #IndieWeb link to your local instance’s tag page for IndieWeb, and my post should show up on that page.

From testing a few other instances tag pages, this is now working, e.g. these tag pages:
* https://indieweb.social/tags/100DaysofIndieWeb (as expected)
* https://xoxo.zone/tags/100DaysOfIndieWeb
* https://mozilla.social/tags/100DaysofIndieWeb
displays the #MozFest post I published right after implementing linked hashtags (as well as this post by the time you see this).

I did go back and send Webmentions to BridgyFed send ActivityPub updates for all my past #100DaysofIndieWeb posts, however only a few of them showed up in those tag pages. It’s not why a few did and most didn’t, nor why there were inconsistencies across instances. More to explore and debug.

Federated hashtags definitely need their own specification, because currently they barely interoperate when published, and even then require Mastodon-implementation-specific knowledge to function.


This is day 36 of #100DaysOfIndieWeb #100Days

← Day 35: https://tantek.com/2023/081/t1/mozfest-making-fediverse-socialweb
→ 🔮


Glossary

h-entry
 https://microformats.org/wiki/h-entry
hashtag
 https://indieweb.org/hashtags
tag aggregation
 https://indieweb.org/tag_aggregation
tag page
 https://indieweb.org/tag_page
tags page
 https://indieweb.org/tags_page
#100DaysOfIndieWeb #IndieWeb #MozFest #100DaysofIndieWeb #100Days
General public announcement. It is always okay to cyber bully supporters of genocide
Poll time! Help settle a debate between @anomalily and I about kitchen cabinets in the most recent House Files episode. Which looks better for the cabinets around the fridge?
Poll time! A debate @aaronpk and I are having about kitchen cabinets in the most recent House Files. Which looks better?
It's FRIDAY! Okay, no, actually it's Monday but it's Friday because a new episode of The House Files is out. youtu.be/hPHRULgrIzQ

Are your desires within your grasp during eternal Caturday?

When accounts affiliated with North Korean state media attack you, then you are doing something correct
Hoxha Zedong ☭ 🇰🇵⚒🌾 https://twitter.com/BantuHoxha
Those kids have no chance 😭

The Answer

sneak peek of future designs of USB ports: USB-D, USB-E and USB-F #midjourney #ai

Are you posing correctly during eternal Caturday?

📕 Finished reading Google Glass (Remember the Internet, Vol. 3) by Quinn Myers ISBN: 9781682199251
So whole BRICS and new fiat nonsense....yeah all epochtimes....Far Right rag tied to Falun Gong and a spigot of MAGA nonsense Why you see crossover of replacing dollar with new BRICS currency ( read Yaun), crypto, and fake MAGA accounts, mixed with vatnik multipolar #nafo
Live in 25 minutes on YouTube- donut and travel journaling youtube.com/live/_n5NczvyH…
NEW: Twitter is being sued by an advertiser who was overcharged for an ad by $5,950, according to court documents. The man was told he’d be charged max $250. “Plaintiff repeatedly attempted to get a refund from Defendant but the defendant refuses to give said refund.”
Live in 3 hours right after I get off air. youtube.com/watch?v=_n5Ncz…
Plurality in the face of Imperialism. Orthodox, Catholic, Jewish, or Muslim It does not matter. The coming equinox will bring Ukrainian victory
In first for Ukraine, Zelenskyy takes part in Muslim Iftar, announcing new official tradition It united Muslim soldiers, together with Crimean Tatar Medzhlis & Muslim re...
Two trolls calling each other #NAFO Yummy
Gumby-Pokey Red-Green Alliance ⬛️🟥🟩 https://twitter.com/GumbyPokeyRGA
The pro-🇺🇦 #NAFO whining @blackintheempir has caused with his tweet here is just precious. [And remember, NATOxRussia in 🇺🇦 was supposed to be the *warm-up ...
Jajajaja Vatniks now using burnt out Soviet tow trucks to suggest HIMARs get blown up.
It’s a supply truck, that uses the same armoured cabin as the Himars. For example of a dump truck version of it. It’s an old loss anyway, was destroyed alongside a M7...