Post on 17-May-2015
description
transcript
How to connect social mediawith open standards
Glenn Jones Social Web Foo Camp18 April 2009
lab.madgex.com
Start SiteOutward claim
How the your Social Graph is built
Found Site
rel=me
Start SiteInward claimFound
Siterel=me
Start SiteReciprocal claimFound
Siterel=me
< a href=“http://www.glennjones.net/” rel=“me”>Glenn Jones</a>
Open Standards Stack
Digest Access Authentication
Social Graph Node Mapper
Microformats Parser
OAuthmicroformats
RSS Library
ATOM Library
Google’s SocialGraph API
Social Graph Node Mapper
http://www.flickr.com/photos/glennjonesnet/
sgn://flickr.com/?ident=glennjonesnet
profile: http://www.flickr.com/people/glennjonesnet/content: http://www.flickr.com/photos/glennjonesnet/
rss: http://api.flickr.com/services/feeds/...
priority: 20schema: hAtomcontent type: statusresource: listaction: readauthorisation: anonymousmime type: text/htmlverb: geturl-template: http://twitter.com/{username}/
XRD discovery is on its way
<XRD>
<Subject>http://twitter.com/</Subject>
<Link priority=“10”>
<Rel>profile</Rel>
<Type>http://www.w3.org/2006/03/hcard</Type> <Type>http://ns.madgex.com/ufdp/contenttype/profile</Type> <Type>http://ns.madgex.com/ufdp/resoucetype/item</Type> <Type>http://ns.madgex.com/ufdp/action/read</Type>
<Type>http://ns.madgex.com/ufdp/verb/get</Type> <Type>http://ns.madgex.com/ufdp/authorisation/anonymous</Type>
<URITemplate>http://twitter.com/{username}</URITemplate><MediaType>text/html</MediaType>
</Link>
</XRD>Conceptual outline of XRD-Based service description.
To find out more about XRD read Eran Hammer-Lahav blog hueniverse.com
Open StackSocial Graph Search
SGN or XRD
URI Templates
Basic or OAuth
Microformats/RSS
Web wide discovery
Site API/Services discovery
URL description
Authentication & access
Standard formats
lab.madgex.com/identify
lab.madgex.com/microformats/apidemo/
Chaining open standards together provides massively
great value than the sum of the parts
Add microformats and RSS/Atom to your site
1
Make sure your URL design is RESTful
2
Add OAuth to all your password protected
RSS feeds and web page
3
Think about discovery
4
Microformats Parsershttp://microformats.org/wiki/parsers
Microformats Parser - Optimus - XSLT http://microformatique.com/optimus/
Microformats Parser - Cognition - Perlhttp://buzzword.org.uk/cognition/
Google Social Graph APIhttp://socialgraph.apis.google.com/
Social Graph Node Mapperhttp://code.google.com/p/google-sgnodemapper/
URI-Templatehttp://tools.ietf.org/html/draft-gregorio-uritemplate-03
YQLhttp://developer.yahoo.com/yql/
Portable Contacts APIhttp://portablecontacts.net/
Bloghttp://www.glennjones.net/
Madgex Labs http://lab.madgex.com/
UfXtracthttp://ufxtract.com/
Backnetworkhttp://lab.backnetwork.com/
XRDS-simplehttp://xrds-simple.net/core/1.0/
LRDD http://tools.ietf.org/html/draft-hammer-discovery-03
Eran Hammer-Lahavhttp://www.hueniverse.com/
Creative Commons Attribution-Non-Commercial 2.0 UK: England & Wales Licence.
Copyright Madgex 2008www.glennjones.net