microdata

Which Schema.org property should I use for popular posts item list?

孤街浪徒 提交于 2019-12-11 11:43:45
问题 Example markup of what I have: <body itemscope='itemscope' itemtype='http://schema.org/WebPage'> <div id="main" itemprop='mainContentOfPage' itemscope='itemscope' itemtype="http://schema.org/Blog"> <article itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'> blah blah blah </article> <div> <aside> <ul> <li><article><img/>popular post article</article></li> <li><article><img/>popular post article</article></li> </ul> </aside> </body> What should I use for the

Structured data not being picked up on telephone number

人走茶凉 提交于 2019-12-11 03:33:42
问题 I have the following snippet of code in a website. When I run this through the Google Structured Data Testing Tool, it doesn’t pick up the phone number. I’m not sure where I’m going wrong: <div class="telephone-number" itemscope itemtype="http://schema.org/Organization"> <p>Call Us: <a itemprop="telephone" href="tel:07749918143">07749 918 143</a></p> </div> The error generated by the validator is: Node is empty. Double check that this is desired and consider removing. Can someone tell me

How to split itemscope over multiple HTML elements?

穿精又带淫゛_ 提交于 2019-12-11 03:28:42
问题 I have the following HTML: <body itemscope itemtype="http://schema.org/WebPage"> <header itemscope itemtype="http://schema.org/WPHeader"> <nav itemscope itemtype="http://schema.org/SiteNavigationElement"> </nav> ... <div itemscope itemtype="http://schema.org/Organization" itemref="objectDetails"> <span itemprop="name">Org name</span><br> <span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> ... </span> </div> </header> <ul itemprop="breadcrumb" itemscope itemtype=

Add microdata using javascript

巧了我就是萌 提交于 2019-12-11 03:08:44
问题 I have a rating system based on Javascript and php. On each page is displays the result "X votes (moyenne X)". X are numbers and "moyenne" means "average notation". I want the javascript to add microdata info. Source code should show somemething like: <span itemprop="reviewCount">X</span> (Moyenne <span itemprop="ratingValue">X</span>) Is it possible ? And could you help me ? I think the line I have to change is this one: $(widget).find('.total_votes').text( votes + ' votes (Moyenne ' + exact

How to Establish Relationships between rdfa lite nodes

孤人 提交于 2019-12-11 02:14:48
问题 trying to semantically mark up a report page about specific addresses. The page provides a report about the address's energy consumption and presents offers for a service related to the energy consumption. I would like to semantically represent the place's address, the energy report related to the address, and offers that are available to the address. Right now, I have markup that has an RDFa lite node for place and another node for the offers. What is the best way to structure this to

Google-Schemas: Sender Image

一曲冷凌霜 提交于 2019-12-10 23:24:10
问题 How do I get my G+ profile/logo to display as the sender image in Gmail's new grid view? I added the Google-Schema markup to my emails. When I test my email, the 'featured image' is displaying properly but I can't get the 'sender image' to display. What am I missing? <div itemscope itemtype="http://schema.org/EmailMessage"> <div itemprop="publisher" itemscope itemtype="http://schema.org/Organization"> <meta itemprop="name" content="Restaurant.com"/> <link itemprop="url" href="http://www

What itemtype to use for a rentals vacancies website?

半腔热情 提交于 2019-12-10 21:24:20
问题 I am French, and I am developing a rental vacancies website. I would like add microdata on the rental vacancy offers (house, villa, appartment...), but I don't know which itemtype to use. Offer, Product, or an other? http://schema.org/Offer http://schema.org/Product Thanks for your help. 回答1: There are several relevant schemas that apply, and you will be best off using a combination of them to represent your Offers. The Offer should be your root element, because it represents something that

News item in Schema.org

佐手、 提交于 2019-12-10 17:12:51
问题 I'm currently working on a news page for a website. Since I don't find any news example on http://schema.org/, I was wondering what's the best Schema.org type for this? <li> <time>2015-12-31<time> <div> <h2>News title</h2> <div class="content">Lorem Ipsum</div> </div> </li> Should I even bother adding Microdata? What I currently have: <li itemscope itemtype="http://schema.org/Article"> <time itemprop="datePublished">2015-12-31<time> <div> <h2 itemprop="headline">News title</h2> <div class=

Microdata/Schema.org/SEO: How to properly set a ContactPoint

拈花ヽ惹草 提交于 2019-12-10 15:31:24
问题 After adding microdata to a page, I usually go to: https://developers.google.com/webmasters/structured-data/testing-tool/ to test it out and to make sure there's nothing missing. I am getting the following error: "ContactPoint must be attached to a parent with a declared type" I am not sure what I am missing...? Sample HTML <div itemscope itemtype="http://schema.org/Person"> <p> <span itemprop="description">Webmaster</span>: <span itemprop="name">Omar</span> <br/><a itemprop="url" href="https

schema.org: Multiple opening hours on same day

对着背影说爱祢 提交于 2019-12-10 14:48:56
问题 I'm building a website for a small store and want to implement schema.org-microdata-markup. The "problem": The store is opened from Tuesday till Friday – from 10:00 till 14:00 AND from 16:30 till 23:00 on these days. So I implemented the opening hours like this… <time itemprop="openingHours" datetime="Tu-Fr 10:00-14:00, 16:00-23:00">XYZ</time> But this way, the HTML-validator says… Bad value Tu-Fr 10:00-14:00, 16:00-23:00 for attribute datetime on element time: The literal did not satisfy the