structured-data

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

Client Side Composing | Create Elements vs. .innerHTML writes | invisible code

好久不见. 提交于 2019-12-12 02:32:51
问题 Which is better? Is there a way to keep content out of the view->source()? 回答1: I think what they objected to was the use off innerHTML. Some would say that constructing and adding nodes (http://www.w3schools.com/dom/dom_nodes_add.asp) would be the more refined way to do this and you should at least look at it as an option. If it's too much work, I say just go with innerHTML. It's supported by pretty much any browser anyway. (http://www.quirksmode.org/dom/w3c_html.html) 来源: https:/

schema not detected in google structured-data testing-tool

情到浓时终转凉″ 提交于 2019-12-11 04:32:13
问题 I have added itemtype="http://schema.org/Restaurant" schema in my angular 2 website. I tested with https://search.google.com/structured-data/testing-tool/ but my page content not rendered in google testing tool. it is displayong like <my-app>Loading...</my-app> . I have checked in console html is rendered. I want to display the rednred html in google testing tool. How to fix this?. Please help with this. <div class="col-md-12 col-sm-12 col-xs-12 " itemscope="" itemtype="http://schema.org

Structured data not being picked up on telephone number

人走茶凉 提交于 2019-12-11 03:33:42
问题 I have the following snippet of code in a website. When I run this through the Google Structured Data Testing Tool, it doesn’t pick up the phone number. I’m not sure where I’m going wrong: <div class="telephone-number" itemscope itemtype="http://schema.org/Organization"> <p>Call Us: <a itemprop="telephone" href="tel:07749918143">07749 918 143</a></p> </div> The error generated by the validator is: Node is empty. Double check that this is desired and consider removing. Can someone tell me

Creating an array of products in JSON-LD

不想你离开。 提交于 2019-12-11 02:07:52
问题 Can someone spot what's wrong with my code below? (It doesn't validate in the Google Structured Testing Tool.) I'm trying to create the JSON-LD code to add to a page that has multiple products for sale. <script type="application/ld+json"> { "@context": "http://schema.org", "@graph": [ { "@type": “Product”, "name": “tshirt", “description”: "test copy 1.”, “image”: “image.jpg” }, { "@type": “Product”, "name": “tshirt 2", “description”: "test copy 2.”, “image”: “image2.jpg” } ] } </script> Any

SubSonic 2.x now supports TVP's - SqlDbType.Structure / DataTables for SQL Server 2008

喜夏-厌秋 提交于 2019-12-10 11:03:38
问题 For those interested, I have now modified the SubSonic 2.x code to recognize and support DataTable parameter types. You can read more about SQL Server 2008 features here: http://download.microsoft.com/download/4/9/0/4906f81b-eb1a-49c3-bb05-ff3bcbb5d5ae/SQL%20SERVER%202008-RDBMS/T-SQL%20Enhancements%20with%20SQL%20Server%202008%20-%20Praveen%20Srivatsav.pdf What this enhancement will now allow you to do is to create a partial StoredProcedures.cs class, with a method that overrides the stored

How do I correctly markup a Product within an Offer within a Product?

a 夏天 提交于 2019-12-10 10:38:36
问题 I am getting Google Search console errors on the Product pages for a website I maintain, and I'm not sure how to resolve the errors. The error I'm getting is: One of offers or review or aggregateRating should be provided. This is simple enough to fix normally, however my confusion is that I am already providing the offers data in a different portion of the json ld. The structure of my Product json ld is Product{ Offers{ Product {} Product {} } } Where the nested products are the different

Transforming (Synchronizing) Data between SQL to HBase

巧了我就是萌 提交于 2019-12-08 07:08:41
问题 We are overhauling our product by completely moving from Microsoft and .NET family to open source (well one of the reasons is cost cutting and exponential increase in data). We plan to move our data model completely from SQL Server (relational data) to Hadoop (the famous key-Value pair ecosystem). In the beginning, we want to support both versions (say 1.0 and new v2.0). In order to maintain the data consistency, we plan to sync the data between both systems, which is a fairly challenging

How do I correctly markup a Product within an Offer within a Product?

萝らか妹 提交于 2019-12-06 03:54:27
I am getting Google Search console errors on the Product pages for a website I maintain, and I'm not sure how to resolve the errors. The error I'm getting is: One of offers or review or aggregateRating should be provided. This is simple enough to fix normally, however my confusion is that I am already providing the offers data in a different portion of the json ld. The structure of my Product json ld is Product{ Offers{ Product {} Product {} } } Where the nested products are the different variants of the same product. I don't have reviews or ratings available on the site, so that leaves me

Unstructured Text to Structured Data

偶尔善良 提交于 2019-12-02 19:44:51
I am looking for references (tutorials, books, academic literature) concerning structuring unstructured text in a manner similar to the google calendar quick add button. I understand this may come under the NLP category, but I am interested only in the process of going from something like "Levi jeans size 32 A0b293" to: Brand: Levi, Size: 32, Category: Jeans, code: A0b293 I imagine it would be some combination of lexical parsing and machine learning techniques. I am rather language agnostic but if pushed would prefer python, Matlab or C++ references Thanks You need to provide more information