GeneralContractor mainEntityOfPage: WebSite ~OR~ WebSite about: GeneralContractor
For most effective discovery of my company, it's website, and most importantly for eventually evolving towards the point where a successful enough web search might someday offer up individual product snippets referencing availability for each of our company's website's individual service offerings' webpages, should I begin building my Schema as
GeneralContractor mainEntityOfPage: WebSite
makesOffer: Offer
or as
WebSite about: GeneralContractor (or maybe as WebSite mainEntity: GeneralContractor )
Offers: Offer
or perhaps yet some other structure I've yet to discover?
Trimmed down examples of first of these two alternatives are shown below.
Additional related questions include:
1) is it preferable to use of the "Place or PostalAddress" as shown below, or by means of the GeneralContractor itemprop="location", or possibly via both?
2) should BOTH the now depreciated "map" and replacement "hasMap" be used for backward compatibility with additional search engines?
3) is there a means of, and benefit to, using the geo:GeoShape to define a service territory indication?
4) is usage of alternative itemprop="availability" contents like "24/7 Rapid Response" rather than "InStock" acceptable, or not? The thought of a truncated "Fire Damage" being shown as "InStock" to a Fire victim just makes me shudder...
5) is there a potential value to investigating enumerating some sort of Thing:potentialAction Action:object Thing... that might eventually SOMEHOW manage to communicate into the Knowledge graph something like Restorer:restores Fire:Burned Damaged:Buildings SERVICE:WebPage ?
Schema as: GeneralContractor mainEntityOfPage: WebSite
<div itemscope="" itemtype="http://schema.org/GeneralContractor">
<meta itemprop="name" content="Pearl Bay Rainbow" />
<meta itemprop="logo" content="http://PearlBayCorp.com/Pearl_Bay_Rainbow_Logo.png" />
<div itemprop="address" itemscope="address" itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="912 De La Vina Street" />
<meta itemprop="addressLocality" content="Santa Barbara" />
<meta itemprop="addressRegion" content="California" />
<meta itemprop="addressCountry" content="US" />
<meta itemprop="postalCode" content="93101" />
</div>
<!-- Map URLs shortened to fit Code Snippet Window -->
<meta itemprop="hasMap" content="https://www.google.com/maps/place/Pearl+Bay+Rainbow" />
<meta itemprop="map" content="https://www.google.com/maps/place/Pearl+Bay+Rainbow" />
<meta itemprop="url" content="http://PearlBayCorp.com"/>
<div itemprop="mainEntityOfPage" itemscope="" itemtype="http://schema.org/WebSite" />
<meta itemprop="name" content="Pearl Bay Rainbow" />
<meta itemprop="url" content="http://PearlBayCorp.com" />
<meta itemprop="keywords" content="Pearl Bay,Santa Barbara,Building Damage Restoration,..." />
<meta itemprop="copyrightHolder" content="Pearl Bay Corporation" />
<meta itemprop="copyrightYear" content="2015" />
</div>
<div itemprop="makesOffer" itemscope="" itemtype="http://schema.org/Offer">
<meta itemprop="name" content="24/7 Fire Damage Restoration" />
<meta itemprop="alternateName" content="Fire Damage Restored" />
<meta itemprop="category" content="General Contractor / Restoration / Building Damage / Fire Damage Restored" />
<meta itemprop="description" content="Fire Damage Repair & Smoke Odor Removal." />
<meta itemprop="url" content="http://PearlBayCorp.com/firedamage.html" />
<meta itemprop="availability" content="24/7 Rapid Response" />
</div>
<div itemprop="makesOffer" itemscope="" itemtype="http://schema.org/Offer">
<meta itemprop="name" content="24/7 Water Damage Restoration" />
<meta itemprop="alternateName" content="Water Damage Cleanup" />
<meta itemprop="category" content="General Contractor / Restoration / Building Damage / Water Damage Restored" />
<meta itemprop="description" content="Get You Clean & Dry, Restored & Rebuilt." />
<meta itemtype="offer" itemprop="url" content="http://PearlBayCorp.com/waterdamage.html" />
<meta itemprop="availability" content="24/7 Rapid Response" />
</div>
</div>
OR
Schema as: WebSite about: GeneralContractor ( or WebSite mainEntity: GeneralContractor )
<div itemscope="" itemtype="http://schema.org/WebSite" />
<meta itemprop="name" content="Pearl Bay Rainbow" />
<meta itemprop="url" content="http://PearlBayCorp.com" />
<meta itemprop="keywords" content="Pearl Bay,Santa Barbara,Building Damage Restoration,..." />
<meta itemprop="copyrightHolder" content="Pearl Bay Corporation" />
<meta itemprop="copyrightYear" content="2015" />
<div itemprop="about" itemscope="" itemtype="http://schema.org/GeneralContractor">
<meta itemprop="name" content="Pearl Bay Rainbow" />
<meta itemprop="logo" content="http://PearlBayCorp.com/Pearl_Bay_Rainbow_Logo.png" />
<div itemprop="address" itemscope="address" itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="912 De La Vina Street" />
<meta itemprop="addressLocality" content="Santa Barbara" />
<meta itemprop="addressRegion" content="California" />
<meta itemprop="addressCountry" content="US" />
<meta itemprop="postalCode" content="93101" />
</div>
<!-- Map URLs shortened to fit Code Snippet Window -->
<meta itemprop="map" content="https://www.google.com/maps/place/Pearl+Bay+Rainbow" />
<meta itemprop="hasMap" content="https://www.google.com/maps/place/Pearl+Bay+Rainbow" />
<meta itemprop="url" content="http://PearlBayCorp.com"/>
<div itemprop="makesOffer" itemscope="" itemtype="http://schema.org/Offer">
<meta itemprop="name" content="24/7 Fire Damage Restoration" />
<meta itemprop="alternateName" content="Fire Damage Restored" />
<meta itemprop="category" content="General Contractor / Restoration / Building Damage / Fire Damage Restored" />
<meta itemprop="description" content="Fire Damage Repair & Smoke Odor Removal." />
<meta itemprop="url" content="http://PearlBayCorp.com/firedamage.html" />
<meta itemprop="availability" content="24/7 Rapid Response" />
</div>
<div itemprop="makesOffer" itemscope="" itemtype="http://schema.org/Offer">
<meta itemprop="name" content="24/7 Water Damage Restoration" />
<meta itemprop="alternateName" content="Water Damage Cleanup" />
<meta itemprop="category" content="General Contractor / Restoration / Building Damage / Water Damage Restored" />
<meta itemprop="description" content="Get You Clean & Dry, Restored & Rebuilt." />
<meta itemtype="offer" itemprop="url" content="http://PearlBayCorp.com/waterdamage.html" />
<meta itemprop="availability" content="24/7 Rapid Response" />
</div>
</div>
</div>
I think you should use something similar to the latter version of your second example.
mainEntityOfPage vs url
As for mainEntityOfPage, this is a property used to show that some item on the page is actually the mainEntity of another page, and is therefore a sort of more specific alternative to url. For example, if you have a list of products on a category page, you may want to mark up their anchors/hrefs/urls as mainEntityOfPage rather than url, seeing as how each product in the list is actually the main entity being described by their individual pages.
In your case, it seems like the whole site is dedicated to the GeneralContractor in question, and so the mainEntityOfPage is not necessary at all. However, if you have someone write up a blog post and mention your business/site, I'd recommend them to mark up the link with schema, to indicate that the mainEntityOfPage to which the link is pointing to is the GeneralContractor.
mainEntity vs about
So, on your homepage, I think WebSite > mainEntity/GeneralContractor is best.
While if you had a seperate "about me/us" page, I'd recommend WebSite > AboutPage > about/GeneralContractor
From the schema.org blog article on mainEntityOfPage:
mainEntity(OfPage)
Background information on mainEntityOfPage / mainEntity properties.
mainEntityOfPage "Indicates a page (or other CreativeWork) for which this thing is the main entity being described."
Many (but not all) pages have a fairly clear primary topic, some entity or thing that the page describes. For example a restaurant's home page might be primarily about that Restaurant, or an event listing page might represent a single event. The mainEntity and mainEntityOfPage properties allow you to explicitly express the relationship between the page and the primary entity.
Related properties include sameAs, about, and url.
The sameAs and url properties are both similar to mainEntityOfPage. The url property should be reserved to refer to more official or authoritative web pages, such as the item’s official website. The sameAs property also relates a thing to a page that indirectly identifies it. Whereas sameAs emphasises well known pages, the mainEntityOfPage property serves more to clarify which of several entities is the main one for that page.
mainEntityOfPage can be used for any page, including those not recognized as authoritative for that entity. For example, for a product, sameAs might refer to a page on the manufacturer’s official site with specs for the product, while mainEntityOfPage might be used on pages within various retailers’ sites giving details for the same product.
about is similar to mainEntity, with two key differences. First, about can refer to multiple entities/topics, while mainEntity should be used for only the primary one. Second, some pages have a primary entity that itself describes some other entity. For example, one web page may display a news article about a particular person. Another page may display a product review for a particular product. In these cases, mainEntity for the pages should refer to the news article or review, respectively, while about would more properly refer to the person or product.
As for your other questions, 1-5, I'd kindly recommend that you start a separate StackOverflow question thread, as each of those questions can easily turn into a separate and deep topic to explore.
Let me know if you have any questions related to this specific issue.
Related
So yeah I think the title says it all here, but if you google the url of my github.io page (krewn.github.io) the first link is the repo, the second link is the commit history and then third is my github.io page... As of right now my meta tags are as follows:
<title>Kevin Nelson</title>
<!-- Standards !-->
<meta charset="utf-8"><!-- html5 version of http-equiv="Content-Type"... -->
<meta name="description" content="The personal web page of Kevin Nelson 11/16/93">
<meta name="keywords" content="developer programming code script ">
<link rel="author" href="https://plus.google.com/u/0/+KevinNelsonBrewster" />
<link rel="canonical" href="https://krewn.github.io/" />
<!-- For Google !-->
<meta itemprop="name" content="Kevin Nelson">
<meta itemprop="description" content="The personal web page of Kevin Nelson 11/16/93">
<meta itemprop="image" content="https://krewn.github.io/ApophysisOutPuts/Origin/adbgPostPost.jpg">
<!-- For Facebook !-->
<meta property="og:url" content="https://krewn.github.io/">
<meta property="og:image" content="https://krewn.github.io/ApophysisOutPuts/Origin/adbgPostPost.jpg">
<meta property="og:description" content="The personal web page of Kevin Nelson 11/16/93">
<meta property="og:title" content="Kevin Nelson">
<meta property="og:site_name" content="krewn io">
<meta property="og:see_also" content="https://krewn.github.io">
<!-- For Twitter !-->
<meta name="twitter:card" content="The personal web page of Kevin Nelson 11/16/93">
<meta name="twitter:url" content="https://krewn.github.io">
<meta name="twitter:title" content="Kevin Nelson">
<meta name="twitter:description" content="The personal web page of Kevin Nelson 11/16/93">
<meta name="twitter:image" content="https://krewn.github.io/ApophysisOutPuts/Origin/adbgPostPost.jpg">
EDIT:: Obviously there is no button to press to tell Google how to order their results, but any input on how to make it more likely that my page appears first when the URL is searched would be great. For example would putting the URL in the description help?
You don't.
Google determines the rankings for a particular query using their own proprietary algorithms.
I'd like to enable my Bigcommerce website for Rich Pins in Pinterest. What are the appropriate meta tags to do this?
The above is incorrect, it should actually be as follows:
<meta property="og:type" content="product" />
<meta property="og:price:amount" content="%%GLOBAL_ProductPrice%%" />
<meta property="og:price:currency" content="USD" />
<meta property="og:availability" content="in stock"/>
Below are the rich pins meta tags that you can put it in your Bigcommerce template
File. product.html
just after %%Panel.HTMLHead%%
<meta property="og:type" content="product" />
<meta property="product:price:amount" content="%%GLOBAL_RetailPrice%%"/>
<meta property="product:price:currency" content="AUD" />
<meta property="og:availability" content="in stock"/>
All others tags are already provided from BigCommerce Template
in HTMLhead.html file
%%GLOBAL_AdditionalMetaTags%%
But if something is missing here is the full list you can use in addition to above.
<meta property="og:site_name" content="YOURSITE.COM" />
<meta property="og:title" content="%%GLOBAL_ProductName%%" />
<meta property="og:url" content="%%PageContent%%" />
<meta itemprop="description" content="%%ProductDescription%%" />
<meta property="og:image" content="%%GLOBAL_ThumbImageURL%%"/>
Unfortunately, neither will work if you load additional products on your page, for example with "Related" or "Recently Viewed" blocks as it will load the last product on the page as the product price.
Instead you can use the Schema.org Semantic Markup option instead.
The following code at the bottom of my productdetails.html page passed the Pinterest validator.
<div itemscope itemtype="http://schema.org/Product">
<meta itemprop="name" content="%%GLOBAL_ProductName%%" />
<meta itemprop="image" content="%%GLOBAL_ThumbImageURL%%" />
<meta itemprop="description" content="%%Page.MetaDescription%%">
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<meta itemprop="price" content="%%GLOBAL_ProductPrice%%">
<meta itemprop="priceCurrency" content="USD" />
<meta itemprop="availability" itemtype="http://schema.org/ItemAvailability" content="http://schema.org/InStock" />
</div>
</div>
<!DOCTYPE html>
<html lang="en-US"
xmlns:fb="http://ogp.me/ns/fb#" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:image" content="http://www.98quotes.com/wp-content/uploads/2013/11/mysis2-300x300.gif"/>
<!-- This site is optimized with the Yoast WordPress SEO plugin v1.4.22 - http://yoast.com/wordpress/seo/ -->
<title>sister love1 - 98Quotes</title>
<link rel="canonical" href="http://www.98quotes.com/sister-love1/" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="article" />
<meta property="og:title" content="sister love1 - 98Quotes" />
<meta property="og:description" content="Search TagX on Google View all posts tagged as Tagx Find TagX related info in WikiPedia I love my sister Your sister isn’t always your blood relation. Sometimes it’s that close friends who understands you, loves you and has always got your back. If you have a loving sister or someone in your life you …" />
<meta property="og:url" content="http://www.98quotes.com/sister-love1/" />
<meta property="og:site_name" content="98Quotes" />
<meta property="article:tag" content="I Love You" />
<meta property="article:tag" content="Sister" />
<meta property="article:section" content="Relationship" />
<meta property="article:published_time" content="2013-11-07T12:20:10+00:00" />
<meta property="og:image" content="http://www.98quotes.com/wp-content/uploads/2013/11/mysis2.gif" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:domain" content="98Quotes"/>
<!-- / Yoast WordPress SEO plugin. -->
my page head is as above.. but still google+ unable to fetch content, though it fetch the image. Can any body tell me what is the reason for it.
The +Snippet description/preview is now only displayed on Google+ if you use interactive shares.
Set up Win 8 Metro Tiles as instructed on Microsofts - http://www.buildmypinnedsite.com but they just don't work for me. My site is http://themixtapesite.com
Here is my header code with the tags in place, all other tags for other things work, all my Apple related code works fine.
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="format-detection" content="telephone=no">
<link rel="apple-touch-icon-precomposed" href="http://assets.themixtapesite.com/images/touch-icon-iphone.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://assets.themixtapesite.com/images/touch-icon-ipad.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://assets.themixtapesite.com/images/touch-icon-iphone-retina.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://assets.themixtapesite.com/images/touch-icon-ipad-retina.png" />
<title><?php wp_title( '|', true, 'right' ); ?></title>
<meta name="description" content="<?php rb_excerpt('rb_excerptlength_widget', 'rb_excerptmore'); ?>">
<meta name="viewport" content="width=device-width; initial-scale=1.0;
maximum-scale=1.0; minimum-scale=1.0; user-scalable=0;" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="application-name" content="TMS"/>
<meta name="msapplication-TileColor" content="#000000"/>
<meta name="msapplication-TileImage" content="http://assets.themixtapesite.com/images/15024da5-9803-4120-af3f-e8b2636c5eba.png"/>
There doesn't seem to be anything wrong with the code, you view the source and its there, but Win 8 and microsofts site don't read any of the 3 tags, title, colour or image. Must be something to do with my theme, but what could it be?
First off can you remove the extra viewport tag. There is no need to have two is there?
Also your page seems to have unclosed tags. Maybe this is causing it not to show?
http://validator.w3.org/check?uri=http%3A%2F%2Fthemixtapesite.com.
Fix those two then get back to me. I'm sorry but I'm too much of a noob to comment directly to you.
For the tileColor and tileImage to show up you have to pin to the start screen it from the metro (tile) version of Internet Explorer (ie9+).
Is it possible when integrating with the save to foursquare api to use only Open Graph Data?
The foursquare API states:
In order for the Save to foursquare button to work on your site, your site should include hCard or OpenGraph location metadata so that foursquare knows which place your web page is referring to.
However when I load my page with the following data:
<head>
<meta property="og:latitude" content="40.707992194260186"/>
<meta property="og:longitude" content="-74.05560369801627"/>
<meta property="og:street-address" content="222 Jersey City Blvd."/>
<meta property="og:locality" content="Jersey City"/>
<meta property="og:region" content="NJ"/>
<meta property="og:postal-code" content="07305"/>
<meta property="og:country-name" content="USA"/>
</head>
as per https://developers.facebook.com/docs/opengraphprotocol/
I get "No matching venues were found for this page." from https://foursquare.com/business/brands/offerings/savetofoursquare/tester
I believe I should receive the following venue: https://foursquare.com/v/liberty-science-center/4bf2e2fa6991c9b66e9f29e9
You have to give some additional information (see required Open Graph fields), esp. a title:
<meta property="og:title" content="Liberty Science Center" />
<meta property="og:type" content="landmark" />
<meta property="og:latitude" content="40.707992194260186" />
<meta property="og:longitude" content="-74.05560369801627" />
<meta property="og:street-address" content="222 Jersey City Blvd" />
<meta property="og:locality" content="Jersey City" />
<meta property="og:region" content="NJ" />
<meta property="og:postal-code" content="07305" />
<meta property="og:country-name" content="USA" />
<meta property="og:phone_number" content="201-200-1000" />
This should point to Liberty Science Center.