Schema.org itemtype error, need advice |
Schema.org itemtype error, need advice |
Boot |
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? |
Christian J |
Jul 18 2017, 12:21 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,653 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. |
Boot |
Jul 18 2017, 12:25 PM
Post
#3
|
Group: Members Posts: 3 Joined: 18-July 17 Member No.: 26,464 |
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. |
pandy |
Jul 18 2017, 07:35 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 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.
|
Lo-Fi Version | Time is now: 18th April 2024 - 10:10 PM |