Upload
bastian-hofmann
View
1.096
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Citation preview
Distributed Social Networking
Bastian HofmannVZnet Netzwerke Ltd.
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Agenda
• WebFinger• Well-‐Known URIs• Web Host Meta Data• XRD• Portable Contacts• AcLvity Strea.ms• PubSubHubbub• Salmon
• OExchange• XAuth• OEmbed• SWAT0
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
nikko russano*
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
... you could not send a mail to another provider
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
... you could not call your friends at another carrier
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Back to reality
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Meet Bill and Steve
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Bill want‘s to know more about Steve
paurian
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
In the old days: Fingerbhofmann@svz-pcn-107 ~ $ finger bhofmann
Login: bhofmann Name: Bastian HofmannDirectory: /Users/bhofmann Shell: /bin/bashOn since Di 14 Sep 21:45 (CEST) on console, idle 1:36 (messages off)On since Di 14 Sep 23:02 (CEST) on ttys000No Mail.No Plan.
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Now: WebFinger
hUp://code.google.com/p/webfinger/
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
hCp://example.com/.well-‐known/host-‐meta
<?xml version='1.0' encoding='UTF-8'?><XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0' xmlns:hm='http://host-meta.net/xrd/1.0'> <hm:Host>example.com</hm:Host> <Link rel='lrdd' template='http://example.com/describe?uri={uri}'> <Title>Resource Descriptor</Title> </Link></XRD>
hUp://tools.ieZ.org/html/dra[-‐no\ngham-‐site-‐metahUp://tools.ieZ.org/html/dra[-‐hammer-‐hostmetahUp://docs.oasis-‐open.org/xri/xrd/v1.0/xrd-‐1.0.html
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
hCp://example.com/describe?uri=acct:[email protected]
<?xml version='1.0' encoding='UTF-8'?><XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'> <Subject>acct:[email protected]</Subject> <Alias>http://example.com/profiles/joe</Alias> <Link rel='http://portablecontacts.net/spec/1.0' href='http://example.com/api/people/' /> <Link rel='http://webfinger.net/rel/profile-page' type='text/html' href='http://example.com/profiles/joe' /> <Link rel='describedby' type='text/html' href='http://example.com/profiles/joe' /> <Link rel='http://webfinger.net/rel/avatar' href='http://example.com/profiles/joe/photo' /></XRD>
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Portable Contacts
{ "id" : "example.org:34KJDCSKJN2HHF0DW20394", "displayName" : "Janey", "name" : {"unstructured" : "Jane Doe"}, "gender" : "female"}
• standardized access to user data and their relaLons (Social Graph)• simple to use
hUp://portablecontacts.net/
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
DEMO
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
He want‘s to follow Steve‘s status updates
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
AcQvityStrea.ms
• Standard for a stream of acLviLes (Feed)
• Atom based
hUp://acLvitystrea.ms/
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
PubSubHubbubretrieves Atom feed with Hub URL
Hub
posts sthpings everysubscriber
subscribes for feed
ackssubscripLon
hUp://code.google.com/p/pubsubhubbub/
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
DEMO
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Now Bill menQons Steve to his pal
have a look at @steve stream
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
and what about Comments?
new macs will have IE9
I would‘ve chosenChrome
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Salmon
hUp://www.salmon-‐protocol.org/
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Salmon
hUp://www.salmon-‐protocol.org/
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Salmon
hUp://www.salmon-‐protocol.org/
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
DEMO
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Bill is now on his favourite Video Portal
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
He want‘s to share a video with his friends
... but his favourite social network has no sharing buUon at YouTube
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Nascar Problem
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
XAuth
hUp://xauth.org/
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
XAuth at Provider
• 100% Client Technology
XAuth.extend({ token: "1", expire: new Date().getTime() + 60*60*24*1000, extend: ["*"], });
Login xauth.org/xauth.js
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
XAuth at Consumer
Visits xauth.org/xauth.js
XAuth.retrieve({ retrieve: ['xauth.org'], callback: receiveTokens });
•But static server on central domain needed
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
OExchange• Common API for publishing sth. into social networks
http://www.example.com/share.php?url={URI}&title={title for the content}&description={short description of the content}&ctype=flash&swfurl={SWF URI}&height={preferred SWF height}&width={preferred swf width}&screenshot={screenshot URI}
hUp://www.oexchange.org/
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Discovery over XRD<?xml version='1.0' encoding='UTF-8'?><XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"> <Subject>http://www.example.com/linkeater</Subject> <Property type="http://www.oexchange.org/spec/0.8/prop/vendor"> Examples Inc.</Property> <Property type="http://www.oexchange.org/spec/0.8/prop/title"> A Link-Accepting Service</Property> <Link rel= "icon" href="http://www.example.com/favicon.ico" type="image/vnd.microsoft.icon" /> <Link rel= "http://www.oexchange.org/spec/0.8/rel/offer" href="http://www.example.com/linkeater/offer.php" type="text/html" /></XRD>
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
DEMO
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Now there is a link in his status update
cool video:hUp://www.youtube.com/watch?v=OFzkTxiwziQ
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
OEmbed• Retrieves embeddable content for a given link
http://www.flickr.com/services/oembed/?url=http%3A//www.flickr.com/photos/bees/2341623661/
{ "version": "1.0", "type": "photo", "width": 240, "height": 160, "title": "ZB8T0193", "url": "http://farm4.static.flickr.com/3123/2341623661_7c99f48bbf_m.jpg", "author_name": "Bees", "author_url": "http://www.flickr.com/photos/bees/", "provider_name": "Flickr", "provider_url": "http://www.flickr.com/"} hUp://oembed.com/
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
OEmbed Discovery• Discoverable through meta tags at original resource
<link rel="alternate" type="application/json+oembed" href="http://flickr.com/services/oembed?url=http%3A//flickr.com/photos/bees/2362225867/&format=json" title="Bacon Lollys oEmbed Profile" /><link rel="alternate" type="text/xml+oembed" href="http://flickr.com/services/oembed?url=http%3A//flickr.com/photos/bees/2362225867/&format=xml" title="Bacon Lollys oEmbed Profile" />
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
The embedded result
cool video:
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
OEmbed AggregaQon•embed.ly
•supports 112 services over one endpoint
•several libraries
•easy implementation
hUp://embed.ly/
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
DEMO
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Many standards available
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
But sQll much to be done
• Friends and Friendships• Privacy• Access Control• What is the right idenLfier?• More than one provider with one E-‐Mail Address?• Wide adopLon• Easy implementaLon
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Many projects -‐ one common goal
hUp://federatedsocialweb.net
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
And many people working on it
hUp://federatedsocialweb.net
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Social Web Acid Test -‐ Level 0
factoryjoe
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
How far is VZnet?• OpenSocial• OEmbed• OExchange• XRD• PortableContacts• AcLvityStrea.ms• OpenID• WebFinger• PubsubHubbub
•Salmon
•XAuth
VZnet Netzwerke Ltd. -‐ Monday, December 6, 2010
Thank you
hUp://twiUer.com/BasLanHofmannhUp://studivz.net/basLanhUp://slideshare.net/[email protected]
hUp://developer.studivz.net