schema.org

schema.org product availability tags markup

故事扮演 提交于 2019-12-23 09:32:41
问题 Which one is correct? <link itemprop="availability" href="http://schema.org/InStock"> ​<meta itemprop="availability" content="InStock" /> <span itemprop="availability" content="in_stock"></span> I checked official schema documentation and in examples found all of them. I suppose all of them will work, but at the moment, is there any preferred standard? 回答1: Using span with the content attribute is invalid . Neither HTML5 nor Microdata allow the content attribute for span. Using meta is

When to use the subclass in RDFS?

こ雲淡風輕ζ 提交于 2019-12-23 06:51:10
问题 I want to create a RDFS schema about venue info which contains for example: only photo and address info. I find another schema about it: https://schema.org/Place. It contains more properties than I need. So, should I make my schema venue as a subclass of https://schema.org/Place? Or I just make a new class but reuse the properties in https://schema.org/Place? Do they have differences? 回答1: The semantic web / linked data lives of the re-use of existing vocabularies, so if you only need a sub

Google sitelink search box [closed]

a 夏天 提交于 2019-12-23 06:20:06
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last month . We are implementing search box within the search result in Google for our site. We have our own search feature on website, and dont want to use Google custom search. We are following instructions on the following page, but finding it difficult to set it up. Google developer site. I added the following JSON-LD in

Blogger: Schema.org BlogPosting properties in template

点点圈 提交于 2019-12-23 05:44:19
问题 Google Testing Tool gives me an error message for the Blogposting properties that are in the default Blogger template code. <div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'> <meta content='http://3.bp.blogspot.com/-Ueq2DH-BE-w/VRERR_6UQ3I/AAAAAAAAHB8/W9hPxVqDOtM/s1600/DNT.jpg' itemprop='image_url'/> <meta content='xxxxx' itemprop='blogId'/> <meta content='xxxxx' itemprop='postId'/> <a name='xxxxxx'></a> It says that it does not

Schema.org markup for B2B organization

孤街醉人 提交于 2019-12-23 04:48:07
问题 My question is about adding Schema.org markup for a B2B website, wherein X is the parent company and Y is an entity of the parent company. Since we cannot add an Organization markup to Y which is an entity, what other Schema.org markup would be applicable to Y ? 回答1: I would suggest that you use Organization for Y and specifiy the relationship between X and Y using the departement property of Organization ( in Y). https://schema.org/Organization https://schema.org/department 回答2: To relate

Is it possible to change Microdata itemprop with jQuery?

大兔子大兔子 提交于 2019-12-23 03:15:25
问题 Here is the code that shows success in console log but fails when tested with Google's Structured Data Testing Tool or with G+ share button. The original values remain. In this case "jack" never updates to "jill". var newName= "jill" $("h1").attr('itemprop','name').html(newName); Here is the Microdata: <body itemscope itemtype="http://schema.org/Blog"> <div style="display:none;"> <h1 itemprop="name">jack</h1> <img itemprop="image" src="http://somehewhere.com/something.png" /> <p itemprop=

Linking superEvent property in Microdata with itemref

心已入冬 提交于 2019-12-23 02:42:29
问题 I'm adding Microdata to a page and I'm trying to associate a list of events to a superEvent, but I don't manage to make it work when checking at: http://www.google.com/webmasters/tools/richsnippets?q= Here the concept code: <div id="main" itemscope="main" itemtype="http://schema.org/Event"> <span itemprop="name">Main </div> <div itemscope="event" itemtype="http://schema.org/Event"> <span itemprop="name">Event <span itemprop="superEvent" itemref="main"> </div> Any idea? 回答1: Problems with your

Schema warning about QAPage on Question type

烂漫一生 提交于 2019-12-22 18:47:17
问题 I have a page with multiple Question and Answers and I'm getting the following warning on each question: Missing a QAPage markup item on page to which this item should be associated. This is example markup: <div itemscope="" itemtype="http://schema.org/Question"> <h3 class="question" itemprop="name text">This is the question?</h3> <div class="answer" id="IdForTheAnswer" itemprop="acceptedAnswer" itemscope="" itemtype="http://schema.org/Answer"> <div itemprop="text"> <p>This is the answer text

Does Google Schema support quoted-printable encoding?

寵の児 提交于 2019-12-21 20:14:26
问题 I'm trying to self-test my email schemas. My mail is sent with: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The original script tag <script type="application/ld+json"> is rendered as <script type=3D"application/ld+json"> , when I View Original the marked up email. This fails the markup tester, but when I manually remove the 3D , it passes the test. Q1 - Does Google support quoted-printable encoding? Q2 - Why does the test fail? Note: On a Rails

What is the proper value representation of a schema.org/polygon when used in JSON-LD?

﹥>﹥吖頭↗ 提交于 2019-12-21 19:46:43
问题 The data representation I will try to use for a RESTful API is JSON-LD and the vocabulary I intend to use are those from schema.org . In the vocabulary schema.org/GeoShape, it says that polygons are expected to be on text format but it doesn't exactly say what kind of text format. It wasn't also stated that it should use the WKT Polygon format. WKT Polygon Format (Well-known Text) POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10)) However, since I will be representing data using JSON-LD, it may