tumblr の Neue 投稿形式
tumblr の Neue 投稿形式
Tumblrにはもともとテキスト投稿、画像投稿、リンク投稿、チャット投稿、音声投稿、動画投稿の7つの投稿タイプがありました
2018年からは、過去の投稿タイプとは異なるNeue投稿形式を使用してコンテンツを定義してきました。互換性に関しては、これらの投稿はブログテーマではテキストブログとして扱われます。ただし、テーマのどの投稿もNPF(Neue投稿形式)表現を取得することができます。古い投稿については以前の投稿タイプをサポートしており、テーマを使って以前の投稿をキープすることができるようになっています。
Overview
This document describes the JSON object definitions that clients should expect when communicating with the Tumblr API when a Post is rendered using the Neue Post Format (NPF).
Furthermore, this is an evolving spec: this does not include all future possibilities. We will add new specs to this document as they are designed and built. Any specification in this document should be considered either in production, in active development, or soon to be in development.
iOS版またはAndroid版Tumblrアプリで作成されたすべての投稿はNeue投稿形式を使用します。
https://gyazo.com/2705dbe1827eb73ba2534f588acc907d
投稿タイプについては?
デフォルトでは、NPFで作成された新しいオリジナルの投稿がすべて過去の標準/テキストタイプの投稿とみなされます。1つの「投稿タイプ」は、単一のコンテンツタイプを強調するのではなく多様なコンテンツブロックタイプを持つことができるNPFの投稿では意味をなさなくなりました。
つまり、NPFの投稿はどのコンテンツブロックを投稿に追加するかによって、過去の投稿タイプにマッピングされます。このロジックについての詳細は、こちらをご覧ください。