2

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?

@article_interop

you are viewing a single comment's thread
view the rest of the comments
[-] tedu@honk.tedunangst.com 1 points 6 months ago

@silverpill that's interesting because I'd say no, but html pages frequently duplicate title and h1.

[-] silverpill@mitra.social 1 points 6 months ago

@tedu @article_interop There might be popular services where name is ignored completely but <h1> in content gracefully degrades. If that's the case, <h1> (or <h1> plus name) would be preferable.

AFAIK Mastodon doesn't have this problem and will display Article.name. I don't know about the others.

[-] silverpill@mitra.social 1 points 6 months ago

@tedu @article_interop

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.

[-] JoeGermuska@midwest.social 1 points 6 months ago* (last edited 6 months ago)

That makes sense to me. The is metadata, and often includes context that isn't necessary in the article body.

this post was submitted on 08 May 2024
2 points (100.0% liked)

Article Interop WG

37 readers
2 users here now

A group to discuss how Article objects can be better supported across the fediverse

founded 9 months ago
MODERATORS