The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Schema.org itemtype error, need advice
Boot
post Jul 18 2017, 11:49 AM
Post #1





Group: Members
Posts: 3
Joined: 18-July 17
Member No.: 26,464



I'm trying to add microdata to our website and am getting an error when testing the code in Yandex.

CODE
<div class="responsive-container" itemscope="itemscope" itemtype=“http://schema.org/VideoObject”>
<meta itemprop="duration" content="T2M14S" />
<meta itemprop="caption" content="The Doctor of Pharmacy Program at Manchester University" />
<meta itemprop="uploadDate" content="2016-8-16" />

<iframe itemprop=”embedUrl” src="https://www.youtube.com/embed/aPhigRk9mms?rel=0" allowfullscreen="" frameborder="0" height="315" width="560"></iframe></div>


Error: WARNING: itemtype “http://schema.org/VideoObject” not recognized by validator

On schema.org it shows this exact itemtype. Any ideas where my mistake is?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 18 2017, 12:21 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



You're using invalid double quote characters in some places. Only this one: " (or single quotes) can be used.

Avoid editors like MS Word that may use the wrong kind of quote characters.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Boot
post Jul 18 2017, 12:25 PM
Post #3





Group: Members
Posts: 3
Joined: 18-July 17
Member No.: 26,464



QUOTE(Christian J @ Jul 18 2017, 01:21 PM) *

You're using invalid double quote characters in some places. Only this one: " (or single quotes) can be used.

Avoid editors like MS Word that may use the wrong kind of quote characters.


Thank you, that was easy. I had no idea that made a difference. It's now just giving me the error that I don't have some values set yet, which I expected. Thanks for the quick response, I'll be doing everything in a simple text editor now.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 18 2017, 07:35 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



You should run the whole thing through a HTML validator so you find the other instances of curly quotes too. But maybe that's what Yandex does.
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 01:19 PM