Missing Element on RDFa

sorry for my english…

I have a Website and I’ll eBooks to offer, I build my RDFa for a Book this,

<h1>Introduction to Linux </h1>
<h2>A Hands on Guide</h2>
<p><b>Author: </b> Machtelt Garrels</p> 
<span 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"/>
<meta name="author" content="Machtelt Garrels"> 
<span property="about" content="textbook, English">


When test with search.google.com/structured-data it to say,
enter image description here

I do try to give the Author name, but can’t.

Can Please someone help me, Thanks!

For me Google’s entry into structured data seemed to complicate things. RDFa means RDF in HTML attributes. So you need to put structured data attributes in the opening HTML tag. The meta tag used to mess me up too. In the schema.org examples the meta tag is a child of something else. All of your tags are a child of the body tag. That seems to be where you are going wrong. Schema.org has many examples mostly not book related so you have to infer meaning to your specific use. Here’s a book example:

<div itemscope itemtype="http://schema.org/Book">
  <span itemprop="name">The Catcher in the Rye</span>—
  <link itemprop="url" href="http://en.wikipedia.org/wiki/The_Catcher_in_the_Rye" />
  by <span itemprop="author">J.D. Salinger</span>

See the difference?
It just so happens that this is an example of creating a link without using an anchor tag itemprop="url" . This is a way of describing a link in structured data but you can’t click and go somewhere. For that you need to put your attributes in an <a> tag.

1 Like

@ tlc35us, Thanks, but on another forum people say to me how to does it, with RDF .

How I doing with RDFa ;

<h2 property="name">
  <span class="title">Introduction to Linux</span>
  <span hidden="">–</span>
  <span class="subtitle">A Hands on Guide</span>
 <p property="author" typeof="Person">
 <span property="name">Machtelt Garrels</span>
<meta property="inLanguage" content="en"/>