schema.org - Author Element not display with RDFa
问题描述
sorry for my English...
I have a Website and I'll eBooks to offer, I build my RDFa for a eBook this,
<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"/>
When test with search.google.com/structured-data it to say,
and
I do try to give the Author name, but can't.
Can Please someone help me, Thanks!
解决方案
人们帮助我解决...,如何为书籍构建我的 RDFa。
<h2 property="name">
<span class="title">Introduction to Linux</span>
<span hidden="">–</span>
<span class="subtitle">A Hands on Guide</span>
</h2>
<p property="author" typeof="Person">
<b>Author:</b>
<span property="name">Machtelt Garrels</span>
</p>
<meta property="inLanguage" content="en"/>
推荐阅读
- c++ - 为我的基于文本的 RPG 游戏制作库存时遇到困难
- javascript - can't loop over array in javascript
- google-apps-script - 使用 google 电子表格的按钮进行排序
- python - 为什么我的 Python CSV 代码在每一行中读取为字符串?
- c++ - 链表删除函数的单指针 // 可以吗
- c++ - 为什么我不能相互包含 C++ 类
- git - git 忽略了我对文件异常的请求
- c# - 如何从纯托管 C# 代码访问 Profiler API?
- excel - 创建 Visual Basic 图表
- angular - 使用 rxjs Observable 订阅 mobx @observable 但未在深层组件(ts 文件)中进行更改