Hey, yeah, please tell the Linux Nerds people to turn on federation!
Tell them Julian from NodeBB will help them get started ๐ค
Hey, yeah, please tell the Linux Nerds people to turn on federation!
Tell them Julian from NodeBB will help them get started ๐ค
Your blogging options with federation are: WordPress, Ghost, and WriteFreely
I suppose, although in that scenario theoretically one could add as:sensitive to mark the status as CW'd? I don't think CW logic is even run for non-Notes at the moment, though I could be mistaken.
Not necessarily, no. Content warnings were implemented in Mastodon specifically as summary plus sensitive=true. Perhaps not originally, but that is enforced now (all CW'd posts from Mastodon are marked sensitive). Might be Mastodon will CW notes that don't have sensitive, out of caution, but this doesn't apply to non-Notes.
So a summary included in a non-Note is not CW'd by Mastodon currently.
Thanks. Yes, this is just how Mastodon renders content from Lemmy and Piefed at the moment.
Mastodon sees something that is not a Note, and says "I will treat it using a fallback mechanism. If it has a title, it is added to the top, I will add the URL back to the site at the bottom. If it has a summary, I will use that as the content"
Note that it does not use content, that's why there's no actual content. This is why the link preview also links back to Lemmy, not to the article itself.
nutomic@lemmy.ml and rimu@piefed.social can add this to their software, respectively, by populating summary. It can just be a copy of content, or it can be a summarization... or it could be the link to the article... anything goes really.
otter@lemmy.ca perhaps the quote posts are not related but some other changes bundled in that version release are?
Can you share the instance that user was on? It's worth checking out how their instance sees your post.
Mastodon did improve some non-Note handling characteristics, so it could be related!
Everyone's hilariously ragging on OP for setting up a federated instance with dubious uptime, and I'm sittin' here thinking that it just reminds me of me when I was a young kid hacking around with software.
Back then I set up a mediawiki server with very dubious uptime. Was fun ๐
It's a good approach, it's exactly how NodeBB operates as well.
We have a FOSS software and we sell managed services for those who don't have the technical know-how.
Win-win.
Can you not call fetch() to do a HEAD call? Maybe I'm mistaken about it but it should be ok.
CORS is indeed a wrench that gets thrown in when you least expect it...
It took me a minute to find, but it is detailed in evan@cosocial.ca's write up about HTTP Discovery of ActivityPub Objects.
This is probably exactly what you're looking for.
https://swicg.github.io/activitypub-html-discovery/
I think your current approach has merit but is limited. If you know the instance software by URL and can resolve it using path matching without the use of a pre-flight request, that's absolutely a better way forward. The downside is you have to know the URL patterns of every software. You'll never "catch 'em all"!
However, if that method fails, doing a pre-flight check to grab Link also works and is a viable way forward.
You can test against NodeBB users or posts.
admiralpatrick@lemmy.world I think you would be better served by checking for the Link header. NodeBB and WordPress do it, if that gives you some idea of implementation?
There are comparatively few instances that federate, since we are new to the activitypub game.
I made the decision that if you upgrade to v4, AP is turned off. Install a new instance of NodeBB, and ActivityPub is enabled out of the box.
Side effect of that would be all instances running prior to v4 won't be federating, but at least there will be no surprises!
Here's a list, but it's not listed by topic or genre.
https://nodebb.fediverse.observer/list