看板 Web_Design 關於我們 聯絡資訊
跪求各位大大: 下面一段程式碼,是包覆在JSON-LD裡,做結構化 <script type="application/ld+json"> { "@context": "http://schema.org", "@type":"Person", "name": "Keven Love", "url": "http://builtvisible.com", "image":"http://builtvisible.com/images/manu.png" } </script> 我想問的是 一個"@context" 可以有很多"@type"嗎? 例如 : 我現在定義一個 "@type" : "Person" ,再多定義一個 "@type" : "Event" 我的想法是..... 如果兩個不一樣的 attribute 在 schema.org 裡面所要求的屬性因該都不一樣! 是不是就只能放一個"@type"? 拜託各位大大解惑了! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.63.49.133 ※ 文章網址: https://www.ptt.cc/bbs/Web_Design/M.1456823673.A.B7C.html
yyc1217: 又是人 又是活動? 03/01 18:07
Peruheru: 因該 03/02 08:11
ihl313: 人跟活動只是舉例啦!只是想知道 可以同時存在兩個@type嗎? 03/03 13:46