google webfinger prototype updates

6 views
Skip to first unread message

Brad Fitzpatrick

unread,
Sep 10, 2009, 6:11:57 PM9/10/09
to webf...@googlegroups.com
Summary of changes:

* collapsed two host-meta Links into one, with two Rels.  (Dirk & Eran are still considering different aspects of this, so for now they're both there)
* removed the 'foo' type, as it was confusing people.  It was just supposed to be an example.
* expanded the FOAF a bit more.

sammy:~ $ curl -i http://gmail.com/.well-known/host-meta
HTTP/1.1 200 OK
Content-Type: application/xrd+xml
Transfer-Encoding: chunked
Date: Thu, 10 Sep 2009 23:07:33 GMT
Expires: Thu, 10 Sep 2009 23:07:33 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Server: GFE/2.0

<?xml version='1.0' encoding='UTF-8'?>
<!-- NOTE: this host-meta end-point is a pre-alpha work in progress. Don't rely on it. -->
<!-- Please follow the list at http://groups.google.com/group/webfinger -->
  <Host xmlns='http://host-meta.net/xrd/1.0'>gmail.com</Host>

  <Link>
    <Rel>describedby</Rel>
    <URITemplate>http://www.google.com/s2/webfinger/?q={%id}</URITemplate>
  </Link>
</XRD>

HTTP/1.1 200 OK
Content-Type: application/xrd+xml
Transfer-Encoding: chunked
Date: Thu, 10 Sep 2009 23:07:38 GMT
Expires: Thu, 10 Sep 2009 23:07:38 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Server: GFE/2.0

<?xml version='1.0'?>
 <Subject>acct:brad...@gmail.com</Subject>
 <Link>
 </Link>
 <Link>
  <Rel>http://gmpg.org/xfn/11</Rel>
  <Rel>describedby</Rel>
  <MediaType>text/html</MediaType>
 </Link>
 <Link>
  <Rel>describedby</Rel>
  <MediaType>application/rdf+xml</MediaType>
 </Link>
</XRD>

HTTP/1.1 200 OK
Content-Type: application/rdf+xml
Transfer-Encoding: chunked
Date: Thu, 10 Sep 2009 23:07:41 GMT
Expires: Thu, 10 Sep 2009 23:07:41 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Server: GFE/2.0

<?xml version='1.0'?>
 <PersonalProfileDocument rdf:about=''>
  <maker rdf:nodeID='me'/>
  <primaryTopic rdf:nodeID='me'/>
 </PersonalProfileDocument>
 <Person rdf:nodeID='me'>
  <nick>bradfitz</nick>
  <name>Brad Fitzpatrick</name>
  <holdsAccount>
   <OnlineAccount rdf:about='acct:brad...@gmail.com'>
    <accountServiceHomepage rdf:resource='http://www.google.com/profiles/'/>
    <accountName>bradfitz</accountName>
   </OnlineAccount>
  </holdsAccount>
 </Person>

_:me <http://xmlns.com/foaf/0.1/nick> "bradfitz" .
_:me <http://xmlns.com/foaf/0.1/name> "Brad Fitzpatrick" .

Reply all
Reply to author
Forward
0 new messages