Article Interop WG: How to represent titles?
Should title be inserted into Article.content
as an <h1>
tag, or should it go to Article.name
?
@silverpill @article_interop article.name would be ideal, though I think lemmy expects title
@django @silverpill @article_interop Lemmy uses ‘name’ on a Page (not Article).
If you get the URL of any Lemmy post and do a GET with the Accept header set to “application/activity+json” you’ll see everything.
@silverpill that’s interesting because I’d say no, but html pages frequently duplicate title and h1.
That makes sense to me. The <title> is metadata, and often includes context that isn’t necessary in the article body.
@tedu @article_interop There might be popular services where
name
is ignored completely but<h1>
incontent
gracefully degrades. If that’s the case,<h1>
(or<h1>
plusname
) would be preferable.AFAIK Mastodon doesn’t have this problem and will display
Article.name
. I don’t know about the others.Found the answer here: https://funfedi.dev/support_tables/generated/object_types/
Sharkey seems to be ignoring the
name
, I guess this means Misskey does that as well.