Last active
April 4, 2017 16:10
-
-
Save ryanburnette/60fb44641a03a983f8e92abb83d94aea to your computer and use it in GitHub Desktop.
These snippets are my Schema.org examples.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These snippets are my Schema.org examples. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div itemscope itemtype="http://schema.org/LocalBusiness"> | |
<h1 itemprop="name">Acme Construction</h1> | |
<p itemprop="descripton">A builder of dangerous products.</p> | |
<p>Open: <time itemprop="openingHours" datetime="Mo-Fi 09:00-17:00">Monday-Friday 9am-5pm</time></p> | |
<p>Phone: <span itemprop="telephone" content="+190455512345">904-555-1234</span></p> | |
<p>Email: <a href="mailto:info@acme.com" itemprop="email">info@acme.com</a></p> | |
<address itemscope itemtype="http://schema.org/PostalAddress" itemprop="address"> | |
<span itemprop="streetAddress">123 Anystreet Ave</span> | |
<span itemprop="addressLocality">Jacksonville</span>, | |
<span itemprop="addressRegion">FL</span> <span itemprop="postalCode">32210</span> | |
</address> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ "@context" : "http://schema.org", | |
"@type" : "Organization", | |
"legalName" : "Ryan Burnette", | |
"url" : "https://www.ryanburnette.com/", | |
"contactPoint" : [{ | |
"@type" : "ContactPoint", | |
"telephone" : "+1-904-516-0359", | |
"contactType" : "customer service" | |
}] | |
"logo" : "https://www.ryanburnette.com/logo.png", | |
"sameAs" : [ | |
"http://www.facebook.com/ryanburnette", | |
"http://www.twitter.com/ryanburnette", | |
"http://plus.google.com/ryanburnette", | |
"https://www.youtube.com/user/ryanburnette", | |
"http://www.linkedin.com/ryanburnette" | |
] | |
} | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context" : "http://schema.org", | |
"@type" : "WebSite", | |
"name" : "Ryan Burnette", | |
"url" : "https://www.ryanburnette.com/", | |
"potentialAction" : { | |
"@type" : "SearchAction", | |
"target" : "http://www.ryanburnette.com/?s={search_term}", | |
"query-input" : "required name=search_term" | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment