【发布时间】:2020-05-30 23:36:18
【问题描述】:
对不起我的英语...
我有一个网站,我将提供电子书,我为电子书构建了我的 RDFa,
<main vocab="http://schema.org/EBook" >
<h1>Title...</h1>
<h1>Introduction to Linux </h1>
<h2>A Hands on Guide</h2>
<p><b>Author: </b> name_author</p>
<meta typeof="Book" resource="http://en.tldp.org/LDP/intro-linux/html/index.html">
<meta property="name" content="Introduction to Linux - A Hands on Guide"/>
<meta property="author" typeof="Person" content="Machtelt Garrels"/>
<meta propety="inLanguage" content="en"/>
当使用 search.google.com/structured-data 进行测试时,可以说,
和
我确实尝试提供作者姓名,但不能。
请有人帮助我,谢谢!
【问题讨论】:
-
像
Book一样定义Person。然后设置两个Type之间的关系(author和hasAuthor共享Person)
标签: schema.org google-rich-snippets rdfa