this post was submitted on 09 Oct 2024
1 points (100.0% liked)

Fediverse stuff

0 readers
1 users here now

This is a magazine dedicated to posts about the Fediverse and things related to it. This is a MBin magazine, but you can follow it from Lemmy or Piefed as well. If you want to post specifically about Mbin feel free to post into !mbinmeta@gehirneimer.de

Recommended magazines

Rules

  1. Please stay on topic, if it's off-topic please write [META] in the title. Please report off-topic posts if you see them.
  2. Try to avoid drama related posts, for this type of content you can go to !fediverselore@lemmy.ca

founded 2 years ago
MODERATORS
 

HUGE thanks to @robb@social.lol for writing a clear, easy-to-follow #guide on how to enable #Fediverse author attribution on blogs/websites - so that it will show up under the link card: https://rknight.me/blog/setting-up-mastodon-author-tags/

#blog #journalism #mastodonupdate #webdev

top 8 comments
sorted by: hot top controversial new old
[–] _elena@mastodon.social 1 points 9 months ago (1 children)

An update of sorts: I just added the code to my Wordpress sites - easy peasy!

I also attempted to do this with my #GhostIO blog. I edited a couple of .hbs files with "head" and "header" in their names. My spray and pray approach LOL. Well, it worked for my federated Wordpress blogs, hoping the same holds true here. All fingers and toes crossed πŸ˜…

[–] _elena@mastodon.social 1 points 9 months ago* (last edited 9 months ago) (2 children)

Please don't mind me - trying to see if the #Mastodon author attribution code worked for my Ghost blog (had to edit a HBS file and not sure if I did the right thing):

https://blog.elenarossini.com/a-great-day-for-writers-introducing-mastodon-author-tags/

πŸ™ƒ

[–] _elena@mastodon.social 1 points 9 months ago* (last edited 9 months ago) (1 children)

My "spray and pray" approach to coding worked once again πŸ˜†

I LOVE seeing the author tag linking to my Mastodon profile under previews of my blog posts: https://blog.elenarossini.com/a-great-day-for-writers-introducing-mastodon-author-tags/

Thank you @Mastodon@mastodon.social team! This is awesome.

(For the record, this is really easy to do on Wordpress - a little trickier for Ghost, thus the mention of my "spray and pray" approach)

Edit: as @shollyethan@fosstodon.org smartly suggested, Ghost has a β€œcode injection” tab (so it’s easy there too!)

[–] shollyethan@fosstodon.org 1 points 9 months ago (2 children)

@_elena@mastodon.social I haven't tested if myself yet, but are you not able to add it to Ghost's headers via Code Injection rather than editing HBS files?

[–] _elena@mastodon.social 1 points 9 months ago

@shollyethan@fosstodon.org aw I hadn’t even thought about that! πŸ€¦πŸ»β€β™€οΈ thank you for making a great point Ethan, I’ll edit my post to add your comment

[–] shadow@everythingbagel.social 0 points 9 months ago (1 children)

@_elena

If anyone is looking for the files after the "add code to a couple of .hbs files with "head" and "header" in their names. " πŸ˜‚

The file is located in /content/themes/source/default.hbs depends on the path and theme.

@shollyethan
Tested with Code Injection, it seems like the easiest method. No file edits.

That's probably how @molly0xfff used on her Citation Needed blog before Author attribution was available for the public.

[–] _elena@mastodon.social 1 points 9 months ago

@shadow@everythingbagel.social @shollyethan@fosstodon.org @molly0xfff@hachyderm.io Thank you!!! πŸ™