microdata

Multiple occurences of same itemprop in Microdata schema.org

↘锁芯ラ 提交于 2019-11-26 23:39:54
问题 I tested My microdata schema.org on google: The google tools did not return any error... **Item** type: http://schema.org/webpage property: url: http://127.0.0.1/ image: http://127.0.0.1/design/logo.jpg datemodified: 2014-03-05 20:12:56 text: Item 1 breadcrumb: Skip to content text: Item 2 **Item 1** type: http://schema.org/wpheader property: url: http://127.0.0.1 headline: website name image: http://127.0.0.1/design/logo.jpg description: some text **Item 2** type: http://schema.org

Can you have multiple itemprop=description on a page?

时光毁灭记忆、已成空白 提交于 2019-11-26 23:26:09
问题 I can't seem to find the answer for this anywhere. I've got itemscope itemtype="http://data-vocabulary.org/Review" on the body tag. Now the content on the page is spread across multiple divs with images and such between. If I were to wrap it all, then other content would actually come first before the main body, so I need to be able to put the itemprop="description" on multiple divs. It seems to show up OK in the google snippets tool but I want to know if it would be fine or whether it'd only

Why use Schema.org microdata to mark up web page elements?

此生再无相见时 提交于 2019-11-26 23:18:46
I understand why and how to use Schema.org to add microdata to your site, this is not a question about that. The question is why Schema.org has support for certain things that can be marked up with simple HTML5 . Among these are Types WebPage and WebSite I can see why WebPage and WebSite would be needed, for example, to reference the page/site of a certain organization in a link, but there's no need to mark up your own page with this—the <html> tag does this. SiteNavigationElement Why not just use <nav> ? Table Just use <table> . properties WebPage/mainContentOfPage <main> element WebPage

Implement Microdata to a non HTML5 page

↘锁芯ラ 提交于 2019-11-26 22:07:24
问题 I want to implement the Microdata structure to my web page (using Schema.org). My web page is not using HTML5 yet. How do I implement the itemscope and itemtype tags? When I add these I get the error: itemscope is not a valid attribute of element dive 回答1: Microdata, which includes the itemscope and itemtype attributes is part of the HTML5 work so there's no standard doctype available for using microdata with earlier doctypes. You have a few options, but none are particularly palatable.

extending html5 microdata event schema

帅比萌擦擦* 提交于 2019-11-26 21:44:00
问题 Have been adding html5 microdata to my online resume, and read in http://www.schema.org/docs/extension.html that you can extend existing schema. I've been trying to extend Event to describe a Job with the following markup: <div class="job" itemscope itemtype="http://schema.org/Event/Job"> <h2 itemprop="name">Web Developer</h2> <div itemprop="organizer" itemscope itemtype="http://schema.org/Organization"> <span itemprop="name">Company Name 2</span> <span itemprop="location">London</span> </div

JSON-LD and Microdata on the same page?

流过昼夜 提交于 2019-11-26 21:38:33
问题 I have both Micro Data and JSON-LD on my e-commerce product pages, describing the same thing (products in my case). For reasons beyond the scope of this question, I cannot remove either of the two formats. I am wondering: Is this a problem for Google? The structured data testing tool does display two items (products) instead of one. If one property, let's say the name of the product, is slightly different between the two formats, would any of the two formats, for example, JSON-LD take

Is there a microdata tag to designate whether a value is a number, string, or bool?

对着背影说爱祢 提交于 2019-11-26 21:07:15
There is an HTML5 attribute called datetime that indicates that a value type is a datetime. But I see no way to indicate whether a itemprop value in span tag is a string, bool, or number. Am I right that there is no way to include this kind of information in microdata? If so, is there some reason why this capability should be omitted? The Microdata specification only differs between these types of values , which get derived from the HTML5 markup: item (if an element has an itemprop and an itemscope attribute) absolute URL (if the itemprop is specified on an URL property element like a , video

OpenGraph or Schema.org?

▼魔方 西西 提交于 2019-11-26 19:35:30
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' /> <div itemprop="aggregateRating" itemscope itemprop="http://schema.org/AggregateRating"> Which one should I integrate as I

Using schema.org branchOf with itemref

谁说我不能喝 提交于 2019-11-26 18:00:52
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 blah blah" /> <a href="/" itemprop="url"> <h1 itemprop="name">The Hotel Chain</h1> </a> <div itemprop="address"

Schema.org/Microdata markup for list of recent posts without providing “author” / “publisher”?

僤鯓⒐⒋嵵緔 提交于 2019-11-26 17:52:33
问题 The following code shows a list of links to recent posts on an experimental blog site I am playing with. The problem is that this fails Google's Structured Data Testing Tool because it is missing required items such as author and publisher . But I don't want to show these for recent posts and I don't want to show them for every blog post either. What should I do? Get rid of the structured data? Put the required stuff in and hide it with CSS? Or leave as is? <section> <header> <h4 class="h4