P. 1
The Open Graph Protocol Design Decisions

The Open Graph Protocol Design Decisions

4.75

|Views: 121,167|Likes:
Published by David Recordon
Presentation at the W3C's Linked Data Camp at WWW 2010. April 29th, 2010.
Presentation at the W3C's Linked Data Camp at WWW 2010. April 29th, 2010.

More info:

Categories:Types, Speeches
Published by: David Recordon on Apr 29, 2010
Copyright:Traditional Copyright: All rights reserved

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF or read online from Scribd
See more
See less

01/25/2016

The Open Graph protocol

Understanding the design decisions

WWW Conference April th, David Recordon

The product experience

Design goals

Useful to others beyond Facebook.

Copy and paste.

Simple markup. Simple schema.

What’s needed?

What is the user liking? A clean page title An image A canonical URL

) What is the user liking
Based off of the most popular categories for Facebook Pages.
▪ ▪ ▪ ▪ ▪ ▪ ▪ ▪

Activities Businesses Groups Organizations People Places Products and Entertainment Websites

) A clean page title
Search Engine Optimization has caused all sorts of stuff to be crammed into the <title> tag.

“The Semantic Web & THE POWER OF PULL | Blog Archive | The Facebook Open Graph, Part I” “A New Data Model – Facebook Developer Blog” “W C Track @ WWW , Raleigh, NC, USA ; April ” “Open Graph Protocol | Google Groups”

▪ ▪ ▪

) A canonical URL
We wanted to use link-rel canonical.

Major publishers were concerned that adding link-rel canonical would negatively impact their ranking within search engines.

A simple example

What’s desired?

A short description A site name (for collections of pages) Location information Contact information

) A short description
A simple schema.
▪ ▪

Not respecting Don’t Repeat Yourself. Optimized for a consistent schema versus reuse of existing meta tags.
▪ ▪

One namespace. One prefix. One HTML tag attribute (“property”)

What we didn’t want
But tried.

Too complex!

) Location information
▪ ▪ ▪

Couldn’t find a – simple – location markup specification. Reused the property names from the Microformat hCard Fully expect this information to be expressed within the page body versus the head.

RDFa gives us a consistent syntax for both cases.

Adoption

Adoption
Seven days later!

Hosted services
▪ ▪ ▪ ▪

og:it - simple metadata extractor to HTML OpenGraph.in - simple metadata extractor to HTML and JSON Multiple RDF parsers now understand the Open Graph protocol Open Graph protocol to JSON convertor for testing

▪ ▪

Open Source libraries for Java, Perl, PHP, and Ruby WordPress plugin for easy publishing

http://opengraphprotocol.org/#implementations

Thanks! Questions?

http://opengraphprotocol.org/ davidrecordon@facebook.com

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->