Skip to content

Instantly share code, notes, and snippets.

@Rayraegah
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rayraegah/6fee73b12151c5591322 to your computer and use it in GitHub Desktop.
Save Rayraegah/6fee73b12151c5591322 to your computer and use it in GitHub Desktop.
Heathrow Meta tags
<!--
A sample html document that describes how to implement Facebook Open Graph tags and Structuring data for SEO and other social networks. This document was created for Heathrow Airport as a sample for use in http://www.heathrowairport.com
2015, Severan Rye (https://rayraegah.github.io)
USEFUL LINKS
============
* Facebook for Domains - https://developers.facebook.com/docs/platforminsights/domains
* OG Meta types - http://ogp.me/
* Structured data - https://developers.google.com/structured-data/
* Facebook Best practices - https://developers.facebook.com/docs/sharing/best-practices
* Tag builder - https://www.google.com/webmasters/markup-helper/u/0/?&hl=en_GB
* Debugger - https://developers.facebook.com/tools/debug/og/object/
* Debugger - https://developers.google.com/structured-data/testing-tool/
* Sharer.php - Features removed, https://developers.facebook.com/x/bugs/357750474364812/
-->
<html prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=10"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<!-- A clear title without branding or mentioning the domain itself. (Up to 70 Characters) -->
<title>British Airways flight BA027 From London (LHR) to Hong Kong (HKG)</title>
<meta property="og:title" content="British Airways flight BA027 From London (LHR) to Hong Kong (HKG)" />
<!-- A site name -->
<meta property="og:site_name" content="Heathrow Airport" />
<!-- A URL with no session id or extraneous parameters. All shares on Facebook will use this as the identifying URL for this article. -->
<meta property="og:url" content="http://www.heathrowairport.com/departures/BA027" />
<!-- A clear description, at least two sentences long. (Up to 155 characters) -->
<meta name="description" content="Details of British Airways flight BA027, a Boeing 777 (twin-jet) departing from London Heathrow Terminal 5 on Sunday, 1 March 2015 and arriving at Hong Kong International Terminal 1. Duration of the flight is 10 hours and 51 minutes." />
<meta property="og:description" content="British Airways passenger flight BA027 departing from London Heathrow Terminal 5 on Sunday, 1 March 2015 and arriving at Hong Kong International Terminal 1. Duration of the flight is 10 hours and 51 minutes." />
<!-- The minimum image size is 200 x 200 pixes. -->
<meta property="og:image" content="http://www.roundtheworldexperts.co.uk/global-images/Airline_Logos/british-airways.gif" />
<!-- Unique ID that identifies your domain to Facebook. This is required to get Insights for your domain
fb:admins can take a value of a single user ID.
fb:app_id can take a value of a single app ID.
You just need one of the above
-->
<meta property="fb:admins" content="1234" />
<meta property="fb:app_id" content="your_app_id" />
<!-- The type of object, default is website options include: article, event etc. -->
<meta property="og:type" content="website" />
<!-- Default language to use and list of available translations -->
<meta property="og:locale" content="en_GB" /> <!-- Default -->
<meta property="og:locale:alternate" content="fr_FR" /> <!-- French -->
<meta property="og:locale:alternate" content="it_IT" /> <!-- Italian -->
<!-- Publisher, used if the content type is article and it must be a facebook page -->
<meta property="article:author" content="https://www.facebook.com/heathrowairport" />
<!-- some CSS for the demo -->
<link rel="stylesheet" type="text/css" href="https://raw.githubusercontent.com/typeplate/starter-kit/master/css/typeplate.css">
</head>
<body>
<header>
<h1>London Heathrow Airport (LHR)</h1>
<p>A Web Document for Heathrow Airport</p>
</header>
<article>
<header>
<h2>POC for Heathrow's Social meta tags</h2>
</header>
<section>
<p>Dialogue expanding community ownership, Andrew Carnegie agriculture participatory monitoring. Policy; donate effect pride Peace Corps Millennium Development Goals think tank catalyst Martin Luther King Jr. disruption. Treatment community health workers, reduce carbon emissions synthesize, Kony 2012 world problem solving public sector vaccine fight against malnutrition equal opportunity nutrition. Long-term, rural, youth, experience in the field non-partisan. Meaningful work fighting poverty our grantees and partners, proper resources local solutions, democracy affiliate making progress fluctuation social impact accelerate progress frontline rights-based approach.</p>
<p>Honesty United Nations, donors planned giving vulnerable population developing assistance agenda disrupt. Social good health accessibility cause, institutions, breakthrough insights, maximize gun control gender equality investment free-speech replicable maintain dignity. Economic independence political life-saving, indicator, crisis situation human potential social. Worldwide, Cesar Chavez new approaches beneficiaries scalable interconnectivity; Medecins du Monde criteria UNHCR global leaders. Globalization; carbon rights; diversity, The Elders cooperation honor.</p>
</section>
<footer>
<a href="https://www.facebook.com/sharer/sharer.php?u=http://bl.ocks.org/Rayraegah/raw/6fee73b12151c5591322/">Share on Facebook</a>
</footer>
</article>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment