April 27, 201610 yr I'm just wondering what meta data people include on their websites? At the moment I just put the description, and for FB graph I insert title, description and image. Should I be doing anything else? For example, this is what I have on my DJ profile site: <meta name="description" content="James Winfield - underground house/minimal DJ based around Berkshire & London. My aim is to musically inspire you."> <meta property="title" content="James Winfield - Underground House DJ"/> <meta property="og:description" content="Enter for a world of musical joy and maybe even some inspiration...please share and enjoy" /> <meta property="og:image" content="http://www.jameswinfield.co.uk/jameshalftone.png"> Thanks James
April 27, 201610 yr <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="...."> <link rel="canonical" href="...." /> <link rel="alternate" hreflang="..." href="...." /> <!--link for a version in alternative language if available--> <link href='style/favicon.ico' rel='icon' type='image/x-icon'/> <!--You can also add icons for ipad/ iphone--> <meta property="og:image" content="myimage_og.jpg"/> <meta property="og:image:width" content="1200" /> <meta property="og:image:height" content="650" /> <meta property="og:title" content="...."/> <meta property="og:url" content="...."/> <meta property="og:description" content="...." /> <meta property="og:type" content="Website"/> <title>...</title> Edited April 27, 201610 yr by Nillervision
April 27, 201610 yr Might be worth adding Twitter metadata. You can read about it at https://dev.twitter.com/cards/overview I believe Twitter also reads some of your existing OpenGraph data, so not all the Twitter metadata is necessarily needed.
April 28, 201610 yr The OG and Twitter meta can share the same content in some cases. So instead of having <meta property="og:image" content="myimage.jpg"/> <meta name="twitter:image" content="myimage.jpg" /> You could instead use the following to cover both FB and Twitter <meta name="twitter:image" property="og:image" content="myimage.jpg" />
April 28, 201610 yr <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>...</title> <!-- Metas --> <meta name="description" content="..."> <meta name="keywords" content="..."> <meta name="author" content="..."> <link rel="author" href="..."/> <!-- Google Plus Profile URL --> <link rel="publisher" href="..."/> <!-- Google Plus Profile URL --> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <link rel="shortcut icon" href="..."/> <!-- Geo --> <meta name="geo.region" content="..." /> <meta name="geo.placename" content="..." /> <meta name="geo.position" content="..." /> <meta name="ICBM" content="..." /> <!-- Responsive --> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/> <!-- Facebook OG --> <meta property="og:description" content="..." /> <meta property="og:title" content="..." /> <meta property="og:image" content="..." /> <meta property="og:image:type" content="image/jpeg" /> <meta property="og:url" content=".../"/>
April 28, 201610 yr I do do any of that. I'm not interested in any social media sharing so all I use is: viewport description noodp noydir
April 28, 201610 yr It varies according to the site and content. Charset and viewport are always there Meta description, author etc I add as needed, they aren't always necessary, depending on the needs of the site the author can assign them if he/she sees fit. Twitter cards + Facebook/Open Graph meta's added as required, depending on the site these may be automatically generated from structured content data, or custom added by the author.
Create an account or sign in to comment