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 WG: How to represent titles?
Should title be inserted into Article.content as an <h1> tag, or should it go to Article.name?
@django @silverpill @article_interop Lemmy uses 'name'.
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 @article_interop article.name would be ideal, though I think lemmy expects title
@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 that's interesting because I'd say no, but html pages frequently duplicate title and h1.
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.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.