Skip to content

Instantly share code, notes, and snippets.

View patrickcoombe's full-sized avatar

Patrick Coombe patrickcoombe

View GitHub Profile
@patrickcoombe
patrickcoombe / breadcrumbs2
Last active April 26, 2019 18:21
Breadcrumb e.g. from Schema.org
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement":
[
{
"@type": "ListItem",
"position": 1,
"item":
@patrickcoombe
patrickcoombe / table
Last active April 26, 2019 18:21
json-ld table
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Table",
"about": "list of presidents"
}
</script>
@patrickcoombe
patrickcoombe / course-json-ld
Created April 20, 2019 21:06
JSON-LD for Course
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Course",
"name": "Learn the Basics of SEO and JSON-LD 101",
"description": "Introductory SEO course for Everyone.",
"provider": {
"@type": "Organization",
"name": "Elite Strategies, LLC",
"sameAs": "http://www.example.com"
@patrickcoombe
patrickcoombe / nbc-news-homepage
Created April 21, 2019 06:51
NBC News JSON-LD Homepage
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Organization",
"url": "http://www.nbcnews.com",
"logo": {
"@type": "ImageObject",
"url": "https://sslnodeassets.nbcnews.com/cdnassets/projects/site-images/nbcnews-logo-white.png",
"width": 166,
"height": 24
@patrickcoombe
patrickcoombe / seer-json-ld
Created April 21, 2019 06:56
SEER Interactive Homepage
<script type="application/ld+json"> {
"@context": "https://schema.org",
"@type": "Organization",
"url": "https://www.seerinteractive.com/",
"sameAs": [
"https://www.facebook.com/SeerInteractive",
"https://www.instagram.com/seerinteractive/",
"https://www.linkedin.com/company/seer-interactive/",
"https://plus.google.com/110773419613073577531",
"https://www.youtube.com/user/seerinteractive/",
@patrickcoombe
patrickcoombe / moz-homepage
Created April 21, 2019 07:01
Moz's Homepage
<script type = "application/ld+json"> {
"@context": "http://schema.org",
"@type": "WebPage",
"author": {
"@id": "#identity"
},
"copyrightHolder": {
"@id": "#identity"
},
"copyrightYear": "2019-04-15T11:03:00-07:00",
@patrickcoombe
patrickcoombe / business-insider-post
Created April 21, 2019 07:02
Business Insider's "best electric razer" page
<script type = "application/ld+json"> {
"@context": "http:\/\/schema.org",
"@type": "NewsArticle",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https:\/\/www.businessinsider.com\/best-electric-razor"
},
"headline": "The best electric razors you can buy",
"thumbnailUrl": "https:\/\/amp.businessinsider.com\/images\/5c61b63e70a61e76b81c92f3-320-240.jpg",
"image": {
@patrickcoombe
patrickcoombe / coinmarketcap homepage
Created April 21, 2019 07:06
Coinmarketcap Homepage
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Organization",
"name": "CoinMarketCap",
"url": "https://coinmarketcap.com",
"logo": "https://coinmarketcap.com/apple-touch-icon.png",
"sameAs": [
"https://www.facebook.com/CoinMarketCap/",
"https://twitter.com/coinmarketcap"
@patrickcoombe
patrickcoombe / coinmarketcap-litecoin
Created April 21, 2019 07:08
Coinmarketcap's Litecoin Listing
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Product",
"name": "Litecoin",
"image": "https://s2.coinmarketcap.com/static/img/coins/200x200/2.png",
"offers": {
"@type": "Offer",
"price": "80.69",
@patrickcoombe
patrickcoombe / showtime-anytime
Created April 21, 2019 07:12
Showtime Anytime
<!-- Schema.org spec for Google/Bing to display a search bar to users to search our site from within Google -->
<!-- See: https://developers.google.com/webmasters/structured-data/slsb-overview -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "http://www.showtimeanytime.com",
"potentialAction": {
"@type": "SearchAction",
"target": "http://www.showtimeanytime.com/#search/{search_term_string}",