schema.org

What is the meaning of the priceRange property in Schema.org?

☆樱花仙子☆ 提交于 2019-12-08 19:28:57
问题 What does the property priceRange mean in Schema.org? https://schema.org/priceRange I don't understand what is mean that, I live in Kazakhstan, maybe my culture or language does not give clear. Can you give me example for Kazakhstan country, where we use tenge currency. 回答1: The Schema.org property priceRange gives the range of approximate prices of the products/services typically offered by that LocalBusiness . There seem to be two formats used in examples: Specify as many currency symbols

Using JSON-LD to mark up a seach – How to embed multiple query parameters?

♀尐吖头ヾ 提交于 2019-12-08 16:04:29
I want to enhance a search function's semantic meaning using JSON-LD. The most popular snippet to do that seems to be this one from Google: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://www.example-petstore.com/", "potentialAction": { "@type": "SearchAction", "target": "https://query.example-petstore.com/search?q={search_term_string}", "query-input": "required name=search_term_string" } } </script> While I understood how this works, I am wondering if it's possible to combine the SearchAction markup with other parts of Schema.org's

schema.org BusinessFunction - GoodRelations

拟墨画扇 提交于 2019-12-08 11:54:12
问题 I want to mark web page with schema.org tags. I can find in the documentation that one can specify a kind o business with using tag: BusinessFunction and tag from GoodRelations. The problem is I can not find example of it. Because the web page is about software developer I'm going to use tag: http://purl.org/goodrelations/v1#ProvideService. Can anybody give me an example? 回答1: First of all: A related yet bit outdated resource on modeling services with GoodRelations (and thus schema.org) is

Applying RDFa to a list completed projects with location

删除回忆录丶 提交于 2019-12-08 09:48:00
问题 How would someone apply schema to a list of completed projects, for example a listing of projects that were completed by an architecture firm. Let's say you have a list of projects that were completed, consisting of information such as the date, location, description, etc. I don't know if it is necessarily considered a CreativeWork or a Place. I'm considering using the general ItemList/Item properties but not sure if there is much value in it. So having said that, would anyone expect this to

Correct 'warranty' itemprop syntax

☆樱花仙子☆ 提交于 2019-12-08 06:42:59
问题 What syntax is correct for warranty itemprop in https://schema.org/Offer? This one <meta itemprop="warranty" content="2ANN" /> or … <meta itemprop="warranty" content="2 ANN" /> or with hierarchy … <span itemprop="warranty" itemscope itemtype="https://schema.org/WarrantyPromise"> <span itemprop="durationOfWarranty" itemscope itemtype="https://schema.org/QuantitativeValue"> <span itemprop="value">2</span> years <meta itemprop="unitCode" content="ANN" /> </span> </span> 回答1: The warranty

How do I use Schema.org to identify filters on our hotel search site?

痴心易碎 提交于 2019-12-08 06:13:30
问题 I'm working on a site designed to help a user find a hotel. We've got lots of widgets for filtering the hotels we show (e.g. price filters) or else ordering the hotels we show (e.g. by distance). I can see how to markup our hotels as being a list. And also how to communicate the sort order of the list. And we're already marking up the hotel's themselves: <div itemscope itemtype="http://schema.org/Hotel"> <div itemprop="image" style="background-image: url('{{{ imageUrl }}}');"></div> <h2 class

Using JSON-LD to mark up a seach – How to embed multiple query parameters?

谁说胖子不能爱 提交于 2019-12-08 05:33:59
问题 I want to enhance a search function's semantic meaning using JSON-LD. The most popular snippet to do that seems to be this one from Google: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://www.example-petstore.com/", "potentialAction": { "@type": "SearchAction", "target": "https://query.example-petstore.com/search?q={search_term_string}", "query-input": "required name=search_term_string" } } </script> While I understood how this works,

Multi-part recipes using Schema.org

落花浮王杯 提交于 2019-12-08 05:24:59
问题 What is the most appropriate way to handle multi-part recipes with Schema.org? For example, a cake recipe that has two parts -- the cake batter and a frosting. Should the two parts be separate recipe objects? Should they be grouped, without distinction, under a single recipe object? Or, is there a way to handle the separate parts under a single recipe (or other schema) object? Here are a few relevant links: The Schema.org Recipe type Google Developers Recipe Page 来源: https://stackoverflow.com

Using sitelinks search bar google

这一生的挚爱 提交于 2019-12-08 02:44:58
问题 I am following this guide by Google to add a sitelinks search bar on my website. The structured data markup tool shows everything to be correct. But: The search bar hasn't appeared in the search results for my website. Google has indexed the page www.example.com/search?q=%7Bsearch_term_string%7D instead: I have the exact same code as explained in the example, except the site URL of course. What am I doing wrong? Or is this expected behaviour? <script type="application/ld+json"> { "@context":

Does the Pinterest validator work?

元气小坏坏 提交于 2019-12-07 23:08:16
问题 I'm trying to embed rich pins to our website. I used Schema.org for Product. While Google validates correctly the page, when I m trying the Pinterest validator I'm always getting the following error: The data we scraped from your site could not be validated. Please make sure all required tags are present and you aren't serving different pages depending on different user agents. Anybody had the same experience and somehow managed to solve this? 回答1: For me the answer was quite simply to use