2
无论是文章还是博客,都不适合用话题讨论的论坛。或者文章是否考虑过任何通用文章或评论?哪个schema.org类型应该用于论坛?
无论是文章还是博客,都不适合用话题讨论的论坛。或者文章是否考虑过任何通用文章或评论?哪个schema.org类型应该用于论坛?
根据this消息,我使用文章中的主题和ItemList作为论坛中的主题列表。
https://schema.org/DiscussionForumPosting似乎是schema.org中推荐的解决方案,他们说这是为:
过帐到论坛。
他们甚至还提供了一个样本JSON_LD:
<script type="application/ld+json">
{
"@context":"http://schema.org",
"@type":"DiscussionForumPosting",
"@id":"http://www.reddit.com/r/webdev/comments/2gypch/is_schemaorg_still_a_thing/"
"headline":"Is Schema.org still a thing?",
"author": {
"@type": "Person",
"name": "haecceity123"
},
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "http://schema.org/CommentAction",
"userInteractionCount": 25
},
}
什么的一个话题在所有的答复?你可以在ItemList中有Article吗?可能不会。 – bluegray
该文件指出:“任何种类的物品列表 - 例如”理论上它应该是可能的。 – AquilaX
晚会有点晚,但我尝试了使用“Article”作为主题,并对每个回复使用了“Comment”。因人而异。 –