2011-08-29 70 views

回答

4

根据this消息,我使用文章中的主题和ItemList作为论坛中的主题列表。

+0

什么的一个话题在所有的答复?你可以在ItemList中有Article吗?可能不会。 – bluegray

+0

该文件指出:“任何种类的物品列表 - 例如”理论上它应该是可能的。 – AquilaX

+2

晚会有点晚,但我尝试了使用“Article”作为主题,并对每个回复使用了“Comment”。因人而异。 –

1

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 
    }, 
}