schema.org

Can you use plain text for addresses in schema.org markup?

人走茶凉 提交于 2019-12-18 09:03:12
问题 I have a CMS that has a single text field for an Organization address. The data is stored very inconsistently and, in many cases, I'm dealing with city/state only. I'm fairly new to schema.org and would like to know if I can simply do something like the following to handle the markup: <p itemprop="address">Some city, WY</p> As I said, I'm new to all this, but I guess I'm using the "Microdata" format. 回答1: Yes, you may use text as value for address. While its expected value is another item

Schema.org Organizational markup Issue

跟風遠走 提交于 2019-12-17 21:34:32
问题 I was trying to implement this for my website: http://googlewebmastercentral.blogspot.in/2013/05/using-schemaorg-markup-for-organization.html I have a quick doubt on this: Is it compulsory to tag existing visible on page elements on homepage?? say if we don't have a visible logo image on homepage, Can we add a separate logo image in a piece of code in body section as mentioned like : <div itemscope itemtype="http://schema.org/Organization" style="display:none;"> <a itemprop="url" href="http:/

Google does not correctly merge microdata and json+ld in the same page using same URI id

人盡茶涼 提交于 2019-12-17 21:17:49
问题 I have a product page with "microdata" and "json+ld" codes. Both of the codes refers to the same @id URI object (http://www.example.org/product#this) so I would expect to "mix/merge" both properties, but instead structured data testing tool shows 2 "individual" products so.... 1- Does Google support using two syntax in the same page? 2- Is this well implemented? Can I refer two codes to the same object using itemId for microdata and @id for json+ld? 3- Can this damage my page in terms of

The difference between isPartOf and hasPart in Schema.org?

被刻印的时光 ゝ 提交于 2019-12-17 17:12:43
问题 What is the difference between the Schema.org properties isPartOf and hasPart and when to use the one instead of the other? 回答1: As noted on their pages, they are inverse properties . As an example, let’s take a webpage that is part of a website. You could then state one of these: WebSite hasPart WebPage WebPage isPartOf WebSite It doesn’t matter which one you choose. (But there might of course be consumers that only recognize one of these properties.) Note: Most of the time, Schema.org doesn

How to use Microdata throughout a LocalBusiness website

末鹿安然 提交于 2019-12-17 16:52:50
问题 I am getting involved into Microdata and rich snippets for leading better search results. I am kind of confused about where to set the itemscope for a LocalBusiness and if it is good or bad to have it repeated through out the whole website over and over. For example on the header that repeats all over the site, page after page, I have the business name, telephone, address, logo, description, etc. Is it good to repeat the same itemscope over and over on each page, or it should be only added to

Best JSON-LD practices: using multiple <script> elements?

↘锁芯ラ 提交于 2019-12-17 07:14:11
问题 I'm curious about the best practice for applying JSON-LD onto a site for schema.org. If I have a page with an Article and I also want to define WebSite on my page, I would have this: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "http://www.example.com/", "potentialAction": { "@type": "SearchAction", "target": "http://www.example.com/search?&q={query}", "query-input": "required" } } </script> <!- … --> <script type="application/ld+json"> { "

“price: missing and required” although PriceSpecification is used

孤者浪人 提交于 2019-12-14 03:59:53
问题 I am trying to implement Schema.org on our product pages, but I am getting an error relating to Offer when testing in Google's Testing Tool. The errors says price is required but I figured since I used PriceSpecification I didn't need to specify price . Here is the error: Here is the format of the HTML+Microdata that I am using: <div itemscope itemtype="http://schema.org/Product"> <img itemprop="image" src="https://kng.scene7.com/is/image/kng/1046-set?$prodpage$" /> <h1 itemprop="name">Waist

I too get the “ Warning: Incomplete microdata with schema.org.”

血红的双手。 提交于 2019-12-14 02:20:44
问题 My data is spread all over so I can't keep this format : <div itemscope itemtype="http://schema.org/Product"> <h1 itemprop="name"> <p itemprop="description"> <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <span itemprop="price"> </div> </div> Like you see in the code below the first thing on the page is the category path which has to be inside Offer schema than I have the image and the title which belong to Product than I have eligibleQuantity that again belongs to the

Defining a bill or invoice using Google email markup

╄→尐↘猪︶ㄣ 提交于 2019-12-13 21:18:47
问题 I know this can be done because i'm looking at an invoice from a telco in my gmail inbox mobile app but I don't know how to set the gmail markup / schema to make it happen. The example I have shows: August bill for xxxx Total: $xxx, due MMM DD $ Total amount due $xxxx Due date DD MMM Issuer Telco X Can anyone help? I can't find any guidance on the email markup pages on Google. 回答1: It uses regular http://schema.org markup within the HTML of the email. See gmail markup reference. Example

Define parent node before child in schema.org

假装没事ソ 提交于 2019-12-13 18:43:36
问题 Is it obligatory to write Product node (parent) before Offer node (child) in DOM schema of schema.org or I can define Offer node without its parent node? 回答1: Schema.org never requires the existence of "parent" items (unless you use itemprop on an element with itemscope ). So this is totally fine: <html itemscope itemtype="http://schema.org/Offer"> </html> But even if you would want to add a Product, it doesn’t have to be a parent for Offer. You can nest the Product under Offer: <div