schema.org

Error: Page contains property “query-input” which is not part of the schema

跟風遠走 提交于 2019-12-12 10:07:57
问题 I get this error from the Google RichSnippets testing tool: Error: Page contains property "query-input" which is not part of the schema. But where did I make a mistake? HTML : <div id="dkAjaxSearch"> <input id="ajaxSearch" type="text" value="" name="search_term" itemprop="query-input"> Press Enter to search </div> JSON-LD : <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://domain.com/", "potentialAction": { "@type": "SearchAction",

Rating is showing numbers instead of stars

末鹿安然 提交于 2019-12-12 09:59:13
问题 I don't know why my website's Schema.org markup is showing number and characters instead of stars. For example, it's showing "3 out of 5" instead of "***". How can I fix it? I'm using WordPress and All In One Schema Rich Snippets plugin. 回答1: Suffered with same problem. Finally after lot of search and trial I came up with this solution. This gets the template where the rating is displayed from. But it displays like this: Rated 4.50 out of 5 based on 2 customer ratings (2 customer reviews)

Error in Google SDTT: “All values provided for url must point to the same page.”

对着背影说爱祢 提交于 2019-12-12 08:32:17
问题 I am trying to create some JSON-LD structured data for a list of products on an ecom-site but I am getting an error when using Google's Structured Data Testing Tool. So far, I have this: { "@context": "http://schema.org", "@type": "OfferCatalog", "name": "Fresh Fruit", "itemListElement": [ { "@type": "ListItem", "position": 1, "item": { "@type": "Offer", "price": "1.20", "priceCurrency": "GBP", "availability": "http://schema.org/InStock", "url": "http://example.com/green-apples/",

Sitelinks Search Box JSON-LD giving error on Google Structured Data Testing Tool

南笙酒味 提交于 2019-12-12 08:25:22
问题 I implemented Google’s Sitelinks Search Box to my site. It was working very well. But today I cheked again on Google Structured Data Testing Tool and something was wrong. Now I’m getting below error: And my implementation is: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://www.saatler.com/", "potentialAction": { "@type": "SearchAction", "target": "https://www.saatler.com/arama?ara={search_term_string}", "query-input":"required name

Error in SDTT: “SiteNavigationElement is not a known valid target type for the additionalType property.”

…衆ロ難τιáo~ 提交于 2019-12-12 06:45:36
问题 I tried a simple example, but the SiteNavigationElement is not working when I test it using the Google Structured Data Testing Tool. It gives the error: SiteNavigationElement is not a known valid target type for the additionalType property. The Microdata: <div itemscope itemtype="http://schema.org/WebPageElement"> <link itemprop="additionalType" href="http://schema.org/ItemList" /> <meta itemprop="name" content="navigation_menu" /> <ul> <li itemprop="additionalType" itemscope itemtype="http:/

How to add PayPal like structured data to Google email markup?

南笙酒味 提交于 2019-12-12 06:19:30
问题 I was wondering how to achieve same email structure as PayPal has. It looks like this (in Google's Inbox): But I can't find right type for it here: https://developers.google.com/gmail/markup/reference/ Any idea how to achieve the PayPal-like markup? 回答1: Using schema.org/Invoice and schema.org/PayAction, I was able to get the email structure that you've posted from PayPal. It also generated a "View Bill" button, which only shows in Inbox and not Gmail. Check out my example script below. The

Typical LocalBusiness Website Microdata structure

有些话、适合烂在心里 提交于 2019-12-12 05:37:05
问题 I have a Website that typically describes an Organization/LocalBusiness/FurnitureStore and what it sells: brands (not owned), product categories, single products (not owned), service categories and single services (owned). I need help to define the best/correct microdata structure for the whole website. I would like to help a simple, clear example/tutorial for dummies. Each WebPage has the following structure: A. header - FurnitureStore: logo , name , nav . B. main C. footer - FurnitureStore

Is this proper Schema.org/Microdata markup for a building?

青春壹個敷衍的年華 提交于 2019-12-12 03:53:59
问题 I am trying to add Microdata notation (using Schema.org) to my website which basically talks about buildings. I’ve been reading a lot about it but I’m still having trouble figuring out where to use itemscope , itemtype and itemprop . Can anybody tell me if this is good Microdata/Schema.org markup or if I’m missing something? <div class="infobox infobox_building" itemscope itemtype="http://schema.org/LandmarksOrHistoricalBuildings"> <!-- Building Name --> <h1 class="page_title">Puente Golden

What Schema.org properties for video search results?

不羁岁月 提交于 2019-12-12 01:52:12
问题 I'm making a website where you can search videos on. Every search returns about 50 links to a video player incl. thumbnail, name, duration, rating, actors, company that made it and a text saying "Video Results For {{QUERY}}" on the top. I've looked at the hierarchy of Schema.org but I've no idea what properties to use as well as how to define so much information. 回答1: You could use the SearchResultsPage type for the webpage, the ItemList type for the result list, and the VideoObject type for

Can I use multiple instances of http://schema.org/Organization?

我的梦境 提交于 2019-12-12 01:26:21
问题 I have a website which list multiple companies, my markup goes something like this: <h2>Checkout those cool companies</h2> <div itemscope="itemscope" itemtype="https://schema.org/Organization"> <img itemprop="logo" src="logo1.jpg" alt=""> <h3 itemprop="name">Company1</h3> <p itemprop="description">It's a great company</p> <span itemprop="url">http://company1.com</span> </div> <div itemscope="itemscope" itemtype="https://schema.org/Organization"> <img itemprop="logo" src="logo2.jpg" alt="">