schema.org

Google now Hotel reservation (LodgingReservation) image markup

醉酒当歌 提交于 2020-01-03 05:16:07
问题 I'm trying to insert a google now hotel reservation card using lodgingReservation schema in my hotel's confirmation email. It seems working all, but in my iphone I can't see the hotel image I've insert in the json. I read all the google documentation but I didn't find a working example with image display of an hotel reservation, only an image of the final result. Here's an example: <html> <head> <script type=3D"application/ld+json"> { "@context": "http://schema.org", "@type":

Schema.org Organization: url, logo in one place and social links in another

邮差的信 提交于 2020-01-02 13:56:09
问题 So I just came across the 'sameAs' for schema.org's organization type which lets you link your social profiles. My problem is my url and logo are in one spot (header) while the social links are in other (footer). <div class="container custom-top" itemscope itemtype="http://schema.org/Organization"> <a class="custom-logo" itemprop="url" href="/"> <img itemprop="logo" alt="sitename" height="40" src="/assets/img/logo-main.png" width="161"> </a> </div> My social links are in a completely

Schema.org Organization: url, logo in one place and social links in another

孤人 提交于 2020-01-02 13:56:00
问题 So I just came across the 'sameAs' for schema.org's organization type which lets you link your social profiles. My problem is my url and logo are in one spot (header) while the social links are in other (footer). <div class="container custom-top" itemscope itemtype="http://schema.org/Organization"> <a class="custom-logo" itemprop="url" href="/"> <img itemprop="logo" alt="sitename" height="40" src="/assets/img/logo-main.png" width="161"> </a> </div> My social links are in a completely

dtstart warning on UserComments schema

房东的猫 提交于 2020-01-02 02:00:15
问题 I have the following code for rich snippet on comments: <ul itemscope itemtype="http://schema.org/UserComments"> <li id="comment-1" class="comment"> <span itemprop="name" class="author">Author 1</span> <p itemprop="commentText">Bla Bla Bla</p> <time itemprop="commentTime" content="2012-07-29" datetime="2012-07-29T05:55+00:00" title="Jul 29, 2012 5:55">2 days ago</time> </li> <li id="comment-2" class="comment"> <span itemprop="name" class="author">Author 2</span> <p itemprop="commentText">yada

How to mark data using schema.org and JSON-LD on a website's home page

ⅰ亾dé卋堺 提交于 2020-01-01 21:16:25
问题 Recently i read a lot about marking structured data using schema.org, the first question is , is it recommended to use json-ld at all? because it seems to be new and is not fully supported yet. My second question is on a home page or archive pages ( generally the pages that we have more than 1 article or product or blog post in them ) how do i use schema.org? for example for a page like this : <!DOCTYPE html> <html> <head> <title>Blog Home Page</title> </head> <body> <h1>Blog title</h1> <!--

How to mark data using schema.org and JSON-LD on a website's home page

亡梦爱人 提交于 2020-01-01 21:12:08
问题 Recently i read a lot about marking structured data using schema.org, the first question is , is it recommended to use json-ld at all? because it seems to be new and is not fully supported yet. My second question is on a home page or archive pages ( generally the pages that we have more than 1 article or product or blog post in them ) how do i use schema.org? for example for a page like this : <!DOCTYPE html> <html> <head> <title>Blog Home Page</title> </head> <body> <h1>Blog title</h1> <!--

Schema.org <head> HTML markup: can I just use the meta tags?

给你一囗甜甜゛ 提交于 2020-01-01 15:41:46
问题 So I was looking at Schema.org. Do I need to change my <html> tag to this <html itemscope itemtype="http://schema.org/Article"> or can I just use only the meta tags within my <head></head> block? <meta itemprop="name" content="The Name or Title Here"> <meta itemprop="description" content="This is the page description"> <meta itemprop="image" content="http://www.example.com/image.jpg"> 回答1: Properties need to belong to an item. You create an item with the itemscope attribute (and the itemtype

Can I use multiple itemtypes in one itemscope for Schema.org? [duplicate]

佐手、 提交于 2020-01-01 04:45:10
问题 This question already has answers here : Correct way to use multiple itemtypes in Microdata (2 answers) Closed last year . I am wondering if I can use multiple itemtypes inside one item scope. For example I have this at the moment: <body id="home" itemscope itemtype="http://schema.org/WebPage"> <div class="wrapper" itemscope itemtype="http://schema.org/ProfessionalService"> <p itemprop from professional service></p> <p itemprop from web page></p> </div> </body> When I do a structured data

Is it okay to use same schema.org markup twice on one page?

≯℡__Kan透↙ 提交于 2019-12-31 04:40:05
问题 On a product page I have two aggregated ratings for one product at different places, which means they contain identical information. I want to have them twice on that page due to ux reasons, but I'm not sure if I can markup them with schema.org everytime or if this would be a useless duplication. Wondered if there is a solution with itemref but in my opinion it's not helpful for this task. 回答1: Unless you use itemid , consumers can’t be sure that two (or more) items are (about) the same thing

2 itemprops for 2 colors of the same product?

你离开我真会死。 提交于 2019-12-31 04:05:51
问题 In a product with two colors, is it better to use two itemprop items or just one? <meta itemprop="color" content="red" /> <meta itemprop="color" content="black" /> Or <meta itemprop="color" content="red and black" /> I am using https://schema.org/ vocabulary. 回答1: From the Microdata perspective, both ways are possible. The difference is that you are adding two values in the first case, and one value in the second case. From the Schema.org perspective, we’d have to understand how this property