Josepi Marketplace
Josepi shadow


Blog Post by Josepi


dmox shut down

DMOZ SHUT DOWN AFTER 18 YEARS




The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.

While many different technologies and schemas exist and could be combined together, there isn't a single technology which provides enough information to richly represent any web page within the social graph. The Open Graph protocol builds on these existing technologies and gives developers one thing to implement. Developer simplicity is a key goal of the Open Graph protocol which has informed many of the technical design decisions.


Basic Metadata

To turn your web pages into graph objects, you need to add basic metadata to your page. We've based the initial version of the protocol on RDF a which means that you'll place additional <meta> tags in the <head> of your web page. The four required properties for every page are:

og:title - The title of your object as it should appear within the graph, e.g., "The Rock".
og:type - The type of your object, e.g., "video.movie". Depending on the type you specify, other properties may also be required.
og:image - An image URL which should represent your object within the graph.
og:url - The canonical URL of your object that will be used as its permanent ID in the graph, e.g., "http://www.mndb.com/title/tt0117500/".

As an example, the following is the Open Graph protocol markup for The Rock on IMDB:

<html prefix="og: http://ogp.me/ns#">
<head>
<title>The Rock (1996)</title>
<meta property="og:title" content="The Rock" />
<meta property="og:type" content="video.movie" />
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />
...
</head>
...
</html>


Related :

What is SEO Analysis? Open Graph Protocol What is DMOZ? How to build Backlinks? How to Use the Canonical Tag? What is a Web Page Description? What is a Doctype? What is an Encoding Type? What is the Alt Attribute of an Image? What are Meta Keywords? Why Improve a Website's Page Speed? What is Profanity? Social Sharing Options SEO Spam Right Text Length for a Web Page What is a Page Title? Why Increase Website Traffic? Why Rewrite Your URLs? Why Remove Underscores? What is the WWW Resolve?