Realized that the way we do notes on #WriteFreely doesn't work with #Mastodon, if you include a title. They don't show up!

So I'll see how it looks if we include it in the body of the Note.

#WriteFreelyDev #ActivityPub

Just opened a PR for this: https://github.com/writefreely/writefreely/pull/1491

It ends up putting us in compliance with the ActivityStreams spec, too, by making sure no markup is included in the `name` property.

#WriteFreelyDev

Title fixes for ActivityPub by thebaer · Pull Request #1491 · writefreely/writefreely

This fixes some issues minor issues with titles on posts sent to the fediverse. It solves for the following use cases: Posts with a link (or any Markdown) in the title A short note published with ...

GitHub
@dev The PR should be for mastodon properly handle the protocol, not write freely
@kariboka in theory sure, but it also took about 7 years for decent Article / long-form text support in Mastodon 😅 so this is just quickest for now. It does also fix something we needed to do anyway, which was exclude markup from titles. So all good.
@dev oh gotcha, it just gets me sometimes how everyone else has to conform to the _mastodon way_ because they are so big.

@[email protected] does this mean that we will see both a title in name and in content?

That would be a duplication... Not the end of the world by any stretch, of course.

@julian yeah, just for Notes, not Articles. I'm wondering if I should just leave `name` empty for Notes to prevent that. Especially not sure how anything besides Mastodon handles it.
@dev @smallcircles is that maybe a bug report to Mastodon that can be fixed? I know they want better long-form support?

@thisismissem @smallcircles I'm not sure... This only applies to the `Note` type, not `Article`. On Mastodon, Article titles always show up fine.

But also don't think it looks too bad by manually adding the title to the body of the Note, like if you pull this post up in Masto: https://matt.writefreely.dev/note-title-fix-test

Note title fix test

This uses the fixes in writefreely#1491 to see if our post title shows up in our little Note that gets sent out to the fediverse. Let’s s...

Matt's Dev Log
@dev
So Thhhhhhhats why I don't get notes. Good to know.