Hey, anyone running a WordPress site interested in helping me test a fediverse sharing button plugin before I submit it for review?
github.com/stefanbohacek/fediv…
(EDIT: You can use the "Code" -> "Download ZIP" button.)
Here's more about the project: stefanbohacek.com/project/fedi…
#wordpress #WordpressPlugin #fediverse #SharingButton #SocialMedia #webdev
Dieser Beitrag wurde bearbeitet. (9 Monate her)
teilten dies erneut
DJM (freelance for hire)
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf DJM (freelance for hire) • • •DJM (freelance for hire)
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf DJM (freelance for hire) • • •Stefan Bohacek
Als Antwort auf Stefan Bohacek • • •The plugin is under active development and will need to be installed manually, here's how: godaddy.com/help/install-a-wor…
Some screenshots of the button added on a placeholder article: github.com/stefanbohacek/fediv… and the settings page: github.com/stefanbohacek/fediv…
fediverse-share-button-wordpress/assets/screenshot-1.png at main · stefanbohacek/fediverse-share-button-wordpress
GitHubEmelia 👸🏻
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf Emelia 👸🏻 • • •@thisismissem Yes, basically. I use my own "third party" server that briefly caches the nodeinfo data.
I don't offer it publicly, but it is open-sourced: github.com/stefanbohacek/fediv…
For the WordPress version of this project, I am also considering bundling everything together, see github.com/stefanbohacek/fediv…
As for the video, it is a bit out of date. Are the icons looking better when you visit
fediverse-share-button.stefanb…?
GitHub - stefanbohacek/fediverse-info
GitHubEmelia 👸🏻
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf Emelia 👸🏻 • • •Stefan Bohacek
Als Antwort auf Stefan Bohacek • • •@thisismissem Also, note that, as you may or may not know, Pixelfed doesn't, as far as I know, support opening a sharing prompt via URL.
stefanbohacek.com/blog/making-…
Turn an RSS feed into a Mastodon bot
Stefan Bohacek (stefanbohacek.com)Emelia 👸🏻
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf Emelia 👸🏻 • • •ActivityPub Client-to-Server FAQ
SocialHubEmelia 👸🏻
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf Emelia 👸🏻 • • •@thisismissem Oh that's beyond my level of expertise to answer.
My point was more about following the same endpoint naming conventions, rather than some platforms copying Mastodon, and some doing it their own way.
I don't even mind some platforms not supporting all the endpoints, in same cases it wouldn't make sense.
But I sure would appreciate consistency.
Emelia 👸🏻
Als Antwort auf Stefan Bohacek • • •yeah, as I note in this comment, Mastodon as the defacto ActivityPub API is absolutely crap. github.com/swicg/general/issue…
Ideally for share intents you should just be able to "follow your nose" to discover them, if supported.
OAuth and/or OIDC profile work for Mastodon and/or for AP more generally? · Issue #38 · swicg/general
GitHubMatthias Pfefferle
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf Matthias Pfefferle • • •Matthias Pfefferle
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf Matthias Pfefferle • • •Stefan Bohacek
Unbekannter Ursprungsbeitrag • • •@SamUpstate Thank you so much!
The plugin will need to be installed manually, see a note I just added here: stefanbohacek.online/@stefan/1…
I tested it with a blank WordPress site, and also a local version of my personal site, saw no issues there.
I'd just like to try this out on a variety of sites to catch any major issues before submitting the plugin to the WordPress plugin directory.
Stefan Bohacek
2024-07-28 12:24:43
Koen de Jonge - SynQ
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf Koen de Jonge - SynQ • • •Whreq Jnnyobre
Als Antwort auf Stefan Bohacek • • •Tootpick
tootpick.orgStefan Bohacek
Als Antwort auf Whreq Jnnyobre • • •Whreq Jnnyobre
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf Whreq Jnnyobre • • •@whreq @koen Great question, see this addressed here: stefanbohacek.online/@stefan/1…
Stefan Bohacek
2024-07-28 12:48:55
Whreq Jnnyobre
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf Whreq Jnnyobre • • •AnchelNL 🧢
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf AnchelNL 🧢 • • •Stefan Bohacek
Als Antwort auf Stefan Bohacek • • •Side note, for now the plugin adds the original "embed code" from github.com/stefanbohacek/fediv…. I figured this works for now while I'm testing things, but I intend to bundle the script and style files with the plugin.
(Unless folks think the current approach works better? Certainly easier not having to maintain two copies of the same script.)
GitHub - stefanbohacek/fediverse-share-button: Let your site's visitors share your work with the fediverse!
GitHubDJM (freelance for hire)
Als Antwort auf Stefan Bohacek • • •What are the risks of conflicts with other plugins or WP using the same libraries?
Impact on page loading time?
Stefan Bohacek
Als Antwort auf DJM (freelance for hire) • • •@cybeardjm Yeah, a few people already pointed out potential security issues with loading code from a third party server inside a WordPress plugin. Fair enough. Bundling everything was the original idea.
But I do wonder about some of the big services, like Google Analytics, Google Tag Manager, various video platforms, etc. They seem to get away with that?
(Maybe not the best examples to follow though!)
DJM (freelance for hire)
Als Antwort auf Stefan Bohacek • • •✨ Andrea
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf ✨ Andrea • • •✨ Andrea
Als Antwort auf Stefan Bohacek • • •however, it loads resources, and especially a script, from an external domain, I hope this will be changed...
(actually, out of curiosity, is the javascript really needed at all? WordPress and its plugins run on PHP, so I'm not sure what JS is needed for on a simple submit form)
Stefan Bohacek
Als Antwort auf ✨ Andrea • • •@octo Thank you so much!
And yes, all the necessary files will be bundled with the finished plugin once I'm done testing, please see my note here stefanbohacek.online/@stefan/1…
Stefan Bohacek
2024-07-28 12:48:55
Stefan Bohacek
Als Antwort auf Stefan Bohacek • • •@octo And to your second question, the main challenge here is that each fediverse platform has its own sharing dialog URL, if they have this feature at all.
See my own research into this here: stefanbohacek.com/blog/making-…
If they all followed the same format, it would be trivial to do this with no JavaScript, as a matter of fact, I actually made just that for commercial social media a few years ago.
If you're interested: simplesharingbuttons.com/
Turn an RSS feed into a Mastodon bot
Stefan Bohacek (stefanbohacek.com)✨ Andrea
Als Antwort auf Stefan Bohacek • • •still, I will keep the plugin once it's done!
Stefan Bohacek
Als Antwort auf ✨ Andrea • • •Stefan Bohacek
Als Antwort auf Stefan Bohacek • • •@octo Actually, this is basically how shareopenly.org works, now that I think about it.
I didn't want to just recreate it for my original implementation of my project, but it does make more sense as a WordPress plugin, where everything happens through your own website.
Either way, I will give this more thought, thank you!
ShareOpenly
ShareOpenlySymfony Station 🇺🇦🇨🇦🇬🇱
Als Antwort auf Stefan Bohacek • • •Symfony Station / The Payload Newsletter – The Symfony Station Fediverse Account and Newsletter
newsletter.mobileatom.netStefan Bohacek
Als Antwort auf Symfony Station 🇺🇦🇨🇦🇬🇱 • • •Yes, after I do some initially testing. For now you will need to download it (github.com/stefanbohacek/fediv…) and install manually, if that works for you.
And I see you use shareopenly.org, nice!
Stefan Bohacek
Unbekannter Ursprungsbeitrag • • •@SamUpstate Yes, you can download it from the repo in my original post, here is the direct link: github.com/stefanbohacek/fediv…
Thank you so much!
Secret Lady A
Als Antwort auf Stefan Bohacek • • •It may confuse readers to not have an easy way back to continue reading the blog.
Stefan Bohacek
Als Antwort auf Secret Lady A • • •@secretladya Thank you for trying this out, really appreciate it!
And yes, I suppose you're right, I can see that being confusing. Let me look into changing that!
Secret Lady A
Als Antwort auf Stefan Bohacek • • •I then also tried downloading the zip and installing it on my other blog, which uses a legacy theme (although maintained) that is not site editor compatible.
I chose to add it on all suggested places, but it doesn't show on any but single post and pages. Also layout is messed, see image (I'll install the plugin properly on the first too)
Stefan Bohacek
Als Antwort auf Secret Lady A • • •Secret Lady A
Als Antwort auf Stefan Bohacek • • •Secret Lady A
Als Antwort auf Secret Lady A • • •At the bottom of each post preview in masonry mode rather then at top or bottom of the page itself.
Stefan Bohacek
Als Antwort auf Secret Lady A • • •Secret Lady A
Als Antwort auf Stefan Bohacek • • •The one with the big logo is: Zoom Lite (wordpress.org/themes/zoom-lite…).
The one with multiple forms is wordpress default Twenty Twenty-Three theme
Zoom Lite | WordPress Theme Directory
WordPress.orgStefan Bohacek
Als Antwort auf Secret Lady A • • •Secret Lady A
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf Secret Lady A • • •Stefan Bohacek
Als Antwort auf Secret Lady A • • •@secretladya Just an FYI!
github.com/stefanbohacek/fediv…
Thank you, again!
Layout issues when using the Twenty Twenty-Three WordPress theme · Issue #7 · stefanbohacek/fediverse-share-button-wordpress
GitHubSecret Lady A
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf Secret Lady A • • •@secretladya No rush at all! Also, when you have a chance, could you also please check the other theme?
mstdn.social/@secretladya/1128…
I am not seeing this issue after the last update I made to fix the first one, although there is a different styling problem related to font colors, so I might have to address that separately.
Thank you so much for all your help!
Secret Lady A
2024-07-28 13:55:18
Secret Lady A
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf Secret Lady A • • •Stefan Bohacek
Unbekannter Ursprungsbeitrag • • •@firecat Does that maybe apply to specific versions/forks of Misskey?
Here is the sharing prompt from misskey.id, working fine for me. (I was also able to post the actual post.)
Stefan Bohacek
Unbekannter Ursprungsbeitrag • • •@SamUpstate Nice, thank you so much for trying this out!
And love your friend's garden!
Daniel ✅
Als Antwort auf Stefan Bohacek • • •@stefan
Stefan Bohacek
Als Antwort auf Daniel ✅ • • •John G
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf John G • • •@cylon_jg Thank you, really appreciate it!
I just updated the post with more detailed instructions. Here's the direct link: github.com/stefanbohacek/fediv…
Stefan Bohacek
Unbekannter Ursprungsbeitrag • • •@shadow That's interesting! Any chance the main CSS file isn't loading?
fediverse-share-button.stefanb…
starrwulfe
Als Antwort auf Stefan Bohacek • • •XAG.info 💻📱⚙️🖥
Als Antwort auf Stefan Bohacek • • •Is it GDPDR-proof?
@stefan
Stefan Bohacek
Als Antwort auf XAG.info 💻📱⚙️🖥 • • •@XAGinfo Now it is!
You can opt-out of saving the last used domain name using:
localStorage.setItem("fsb-consent-given", "false");
See the updated FAQ for more details: github.com/stefanbohacek/fediv…
Thank you for bringing this up!
GitHub - stefanbohacek/fediverse-share-button: Let your site's visitors share your work with the fediverse!
GitHubStefan Bohacek
Unbekannter Ursprungsbeitrag • • •@shadow Ah, okay, if this is only happening with that specific theme, I will be able to look into that.
Thank you for reporting this!
find you on fediverse
Als Antwort auf Stefan Bohacek • • •wow good timing, i did a search the other day and you came up as someone who might be worth talking to about the
fediverse emoji....is there a way to contribute without being on msgithub? i disvovered this
fediverse emoji and i think it might be good to add
the svg is here bloat.wizard.casa/thread/01900…
i adapted it from the dark web the license is AGPLV3 foss but seems to exclude non-agplv3 servers like threads. so i dont think threads folk can use it, at least according to the lcense i read, i think thats a feature tbh
i animated it
but you prolly dont need to see them flutter for what ur doing. 😀
bye 4 now
Stefan Bohacek
Als Antwort auf find you on fediverse • • •@frogzone Hi, thank you for reaching out!
Really like the logo, a lot more approachable than the one that's commonly used!
As much as I prefer this one, I'm not sure how I feel about trying to replace it. Perhaps this could be a setting in the plugin, so people can choose?
There's a few more proposals in this thread socialhub.activitypub.rocks/t/…
It would be very helpful to know who the author is though, for proper attribution, if you're able to share that information.
Fediverse logo or icon proposal
SocialHubStefan Bohacek
Als Antwort auf Stefan Bohacek • • •find you on fediverse
Als Antwort auf Stefan Bohacek • • •>I'm not sure how I feel about trying to replace it
i would just do it.... noone will complain.... very very few people use the old version on anything fediverse.party dont.... fediverse.info dont. the de facto icon is masto which is misleading andi would argue hurts fedi. even fedi tips doesn't use it, they cover it up so you can only see the nodes around the adge
>a setting in the plugin
yes maybe witch symbol in settings
>few more proposals in this thread
oh neat, that one that you linked to must be the version that DSFGS made before their last version. see in the repo (onion) how it has the peertube emoji, but without the actual peertube design inside!
this is dsfgs' latest wrt the peertube

i had no idea that dsfgs had been working on an emoji for so long!! there is a post in that thread you linked to on January 6, 2021 that attributes dsfgs! their design has come a LOOONG way since then. @smallcircles is that you who started the thread, nice job. even from jan '21 dfsgs was saying that the icon was only for foss implementations of activity pub, its as if they could see a future in which the crporates (threads) would need to be rejected.
>It would be very helpful to know who the author is though, for proper attribution, if you're able to share that information.
attached is a jpg from the torrent they put up. to caption it its just a bunch of variations of the emoji and the heading "Fediverse (to the power of) FOSS" and clause below stating "Fediverse abstract butterfly icon (c) Copyright 2024 Dick Smith Fair Go Supporters (DSFGS), licensed AGPLv3 for AGPLv3 (free-licence, open source softwares) only! It CANNOT be used to link to non-AGPLv3, non-freedom-respecting network services. PeerTube logo adapted by DSFGS, original by Framasoft CC-BY-SA 4.0"
fediOrigami
Disroot Forgejo: Brace yourself, merge conflicts ahead.Stefan Bohacek
Als Antwort auf find you on fediverse • • •Thank you so much, this is all very helpful!
And sorry, I forgot to mention, the bloat.wizard.casa doesn't seem to be working for me, I just get an "invalid session" error.
Not sure if there's anything you can do to fix that, happy to share my email if you want to send it over. (Or just DM me.)
find you on fediverse
Als Antwort auf Stefan Bohacek • • •hi @nestort almost forgot to tag u 😀 i dont kno if you remember the entity called DSFGS but they did an emoji for
fediverse earlier this year and quickly disappeared from the masto instance they were on. i found the torrent on i2p. did minor touchups and publihed. see emojis above, includes peertube also.
@stefan feel free to update me on how things go, will be good to see how things go.
find you on fediverse
Als Antwort auf find you on fediverse • • •it may prove helpful if forward thinking instances adopt the
emoji either as :fedi, :fediverse or :fediverseemoji , the first name in that series that doesnt already have an emoji assigned to it?
....then theres optional animated ones, they could be <name>1: <name>2: <name>3:

....and optional flat ones <name>A: (for Aqua) <name>P: (for Pink)??

thoughts welcome as would be good to standardize the adoption for consistent usage across instances.
Stefan Bohacek
Als Antwort auf find you on fediverse • • •@frogzone @smallcircles @nestort Still thinking about it!
The "current logo" is already pretty recognizable stefanbohacek.online/@stefan/1….
But I am considering it as an option, I just had to focus on some other higher priority stuff.
Will keep you posted!
Stefan Bohacek
2024-07-30 23:01:47
Stefan Bohacek
Als Antwort auf Stefan Bohacek • • •@shadow FYI this is now fixed! github.com/stefanbohacek/fediv…
Thank you, again!
Layout issues when using the OceanWP WordPress theme · Issue #8 · stefanbohacek/fediverse-share-button-wordpress
GitHubStefan Bohacek
Unbekannter Ursprungsbeitrag • • •I fixed this in github.com/stefanbohacek/fediv…,
the plugin currently loads JS and CSS from the original project. (See stefanbohacek.online/@stefan/1….)
"why not add auto center for some themes as fallback"
Hmm, let me look into that. Thank you for the suggestion!
Fixed compatibility with the OceanWP WordPress theme. · stefanbohacek/fediverse-share-button@1604cd8
GitHubStefan Bohacek
2024-07-28 12:24:43
Stefan Bohacek
Als Antwort auf Stefan Bohacek • • •Big update: the plugin now contains all necessary files and no longer relies on external services.
Care to give it a try before I submit it to the plugin directory for review?
#fediverse #wordpress #WordpressPlugin #ShareButton #SocialMedia
MizKirsten
Als Antwort auf Stefan Bohacek • • •I tested on a multisite instance, and it works seamlessly 👍 Nice for us MU operators!
The one thing I believe will stop the average site owner from using it right now is the placement of it. Ideally, it would be a Gutenberg block that can be added to templates in the site-wide editor where ever the site owner wants it 😀
The display options in the settings probably help for now. But anything putting an element into the front end UX is best as a Gut. block, I think.
Stefan Bohacek
Als Antwort auf MizKirsten • • •@mizkirsten Thank you for trying this out!
And yes, Gutenberg block support is definitely on the roadmap!
github.com/stefanbohacek/fediv…
Block Editor/FSE support · Issue #3 · stefanbohacek/fediverse-share-button-wordpress
GitHubMizKirsten
Als Antwort auf Stefan Bohacek • • •Stefan Bohacek
Als Antwort auf MizKirsten • • •Stefan Bohacek
Unbekannter Ursprungsbeitrag • • •Stefan Bohacek
Unbekannter Ursprungsbeitrag • • •@cybeardjm Yes, this is on the to-do list!
github.com/stefanbohacek/fediv…
Open sharing prompt in a new window/tab · Issue #5 · stefanbohacek/fediverse-share-button-wordpress
GitHubStefan Bohacek
Unbekannter Ursprungsbeitrag • • •Stefan Bohacek
Als Antwort auf Stefan Bohacek • • •@cybeardjm So I just realized I already did do that in a recent update, but it's possible you have the old prompt saved in your settings.
If that's the case, you can just delete it, and resave, and the new default value will be used.
Stefan Bohacek
Unbekannter Ursprungsbeitrag • • •@cybeardjm Thank you! Just to clarify, this is only about making the "fediverse" link open in a new tab, not the sharing page, that still has to be addressed as per the GitHub issue.
You can also easily modify the prompt text, add more links, etc.