microdata

OpenGraph or Schema.org?

余生长醉 提交于 2019-11-26 07:19:57
问题 Just wondering whether you guys out there are favouring the OpenGraph protocol following markup like: <meta property=\"og:title\" content=\"The Rock\" /> <meta property=\"og:type\" content=\"movie\" /> <meta property=\"og:url\" content=\"http://www.imdb.com/title/tt0117500/\" /> Or the Schema.org protocol with <div itemscope itemtype=\"http://schema.org/Product\"> <span itemprop=\"name\">Kenmore White 17\" Microwave</span> <img src=\"kenmore-microwave-17in.jpg\" alt=\'Kenmore 17\" Microwave\'

Using schema.org branchOf with itemref

北城余情 提交于 2019-11-26 06:03:26
问题 I have a company page that has all the local branches listed on it. On the page header, I have an itemType of Organization defined. Each LocalBusiness (Hotel) is further down the page. For each Hotel, I\'m trying to add the branchOf property using a meta tag, but both Yandex and Google Snippets comes up blank for this attribute. Is it possible to do this way? <div itemscope itemtype=\"http://schema.org/Organization\" id=\"schema-organization\"> <meta itemprop=\"description\" content=\"blah

Microdata vs RDFa

折月煮酒 提交于 2019-11-26 04:33:19
I have a quick question about RDFa and Microdata. My current understanding is that RDFa is RDF implemented into HTML but is complicated for new developers like myself, Microdata seems really easy and quick to implement. What are the other advantages and disadvantages around these two semantic formats ? Differences between Microdata and RDFa While there are many (technical, smaller) differences, here’s a selection of those I consider important (used my answer on Webmasters as a base). Specifications As W3C’s HTML WG found no volunteer to edit the Microdata specification, it is now merely a W3C

Does Schema.org markup work if markup is dynamically built with JavaScript?

北慕城南 提交于 2019-11-26 03:44:30
问题 I have a page where some events are dynamically loaded by reading some JSON with JavaScript. I build a div for every event with the Event Schema.org markup. Google\'s testing tool doesn\'t read this markup. Is it because of an error in the markup, or is it because of the dynamic loading? The HTML code of one Event is: <div class=\"evento well\" itemscope itemtype=\"http://schema.org/Event\"> <meta itemprop=\"startDate\" content=\"2015-03-20T20:00:00.000Z\"> <meta itemprop=\"endDate\" content=

Microdata vs RDFa

£可爱£侵袭症+ 提交于 2019-11-26 01:16:20
问题 I have a quick question about RDFa and Microdata. My current understanding is that RDFa is RDF implemented into HTML but is complicated for new developers like myself, Microdata seems really easy and quick to implement. What are the other advantages and disadvantages around these two semantic formats ? 回答1: Differences between Microdata and RDFa While there are many (technical, smaller) differences, here’s a selection of those I consider important (used my answer on Webmasters as a base).

How to add an image to an event with Microdata meta tag?

▼魔方 西西 提交于 2019-11-26 00:49:54
问题 Using microdata, is there a way to add an image into an Event by using a meta tag? In the official Microdata site I see the option of adding images to events: <img itemprop=\"image\" src=\"image.jpg\" alt=\"An image\"/> which works fine. However, I wonder if it is possible to add that image by using something like: <meta itemprop=\"image\" src=\"image.jpg\" /> which according to my tests does not work. 回答1: Instead of using the meta element, you must use the link element (because the value is

Do you put Schema Microdata meta tags in the html body?

天涯浪子 提交于 2019-11-26 00:28:43
问题 I have searched for a long time across the internet and stackoverflow for an answer to this question, and I have found links that say that you should not put meta tags in the body: Using HTML5+Microdata's <meta> tag in the <body> passing meta data in body part Meta Tags In Body while the schema.org website clearly shows the meta tags being nested directly in the body http://schema.org/AggregateRating Just look at the example that is posted there Customer reviews: <div itemprop=\"reviews\"