indieweb / microsub

For tracking issues on the Microsub specification
24 stars 1 forks source link

Standard way of indicating post type #43

Open njkleiner opened 4 years ago

njkleiner commented 4 years ago

The Microsub specification currently does not define a standard way of including an item's post type in a timeline response.

From what I can tell, there are currently some server implementations that include post type in their response, like Aperture in the post-type property, but there does not seem to be consensus on how to do this (mainly due to a lack of implementations).

Wouldn't it make sense to make this part of the spec? I would consider this a part of data normalization/transformation which is literally the purpose of a server.

I suggest we use a top-level field like _kind (to match _id, _is_read and _source) as a standard way to indicate post type, post-type seems inappropriate since post type is part of an items metadata and not a MF2/JF2 property.

jalcine commented 2 years ago

Good point! I'm in favor of using _kind as well since type would be overloaded. This is going to be implemented in Lighthouse.

(Originally published at: https://jacky.wtf/2022/4/nu/nu5nq7OBzE7j6yE5RHS9unJA)