forked from propublica/guides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
social-tags.html
36 lines (28 loc) · 1.55 KB
/
social-tags.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!-- If page is xhtml NOT html5 the html tag needs some attributes -->
<!-- Note: None of our pages should be xhtml. We're in the future. -->
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="https://www.facebook.com/2008/fbml">
<!-- head needs a prefix attribute -->
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">
<!-- add these meta tags for facebook -->
<meta property="og:title" content="TK Hed"/>
<meta property="og:type" content="article"/>
<meta property="og:url" content="http://propublica.org/TK_URL/"/>
<meta property="og:image" content="TK Image URL"/>
<meta property="og:site_name" content="ProPublica"/>
<meta property="fb:admins" content="TK 12 char app ID"/>
<meta property="fb:app_id" content="TK 15 char ID"/>
<meta property="og:description" content="TK Dek or Guff"/>
<meta property="og:article:published_time" content="TK ISO 8601 pubdate">
<!-- add these meta tags for twitter -->
<meta name="twitter:creator" content="@ProPublica">
<meta name="twitter:site" content="@ProPublica">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="TK_URL">
<meta name="twitter:title" content="TK Hed">
<meta name="twitter:description" content="TK Dek or Guff">
<meta name="twitter:image:src" content="TK Image URL">
<!-- more about og tags at http://ogp.me/ -->
<!-- test og tags at http://developers.facebook.com/tools/debug -->
<!-- more about twitter card tags at https://dev.twitter.com/docs/cards -->