List Info

Thread: Auto Discovery of XFN




Auto Discovery of XFN
country flaguser name
United States
2008-02-07 01:40:40
 
 I have a homepage that I use as my OpenId URL.  I have the
url of my
homepage delegated to a OpenId provider.
In the header of that homepage I have setup some auto
discovery links in
html.  I believe this aids in the discovery of my
information. I really do
want a portable social network but I hope to bypass the need
to "scrape" my
information off of a social web site by providing a link as
to where the
information I want to provide is already.  
For example,
 
For purely humorous and historical purposes I have the link
below.
<meta name="ICBM" content="39.518869,
-104.757254" /> 
The link below I use for auto discovery of my foaf file.
<link rel="media"
type="application/rdf+xml" title="FOAF"
href="http://example.com/
foaf.xml" /> 
I know this link works as the Semantic Radar add on in
Foxfire finds foaf
files all over the net for me.
The link below I use for auto discovery of my
avatar/pavatar.
<link rel="pavatar" type="image/jpg"
href="http://example.com/images/771518_1aa9fe4be6_s.jpg&quo
t;>
<link rel="avatar" type="image/jpg"
href="http://example.com/images/771518_1aa9fe4be6_s.jpg&quo
t;>
 
The link below is the link I use for my vCard/hCard.
<link rel="media"
type="text/directory" title="vCard"
href="http://example.co
m/vcard.html" />
 
I am only guessing but I am pretty sure that the link about
is correct one.
 
I also have a page on my website with my xfn links but I am
unable to figure
out the correct information for the auto discovery of it.
 
<link rel="media" type="?/xfn"
title="XFN"
href="http://example.com/
xfn.html" />
 
Can someone please enlighten me as to the correct values for
this type link
above?

Sincerely yours,
 
mark
 

_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: Auto Discovery of XFN
country flaguser name
United Kingdom
2008-02-07 07:10:35
> Can someone please enlighten me as to the correct
values for this type link
> above?
It depends on the implementation but basically you want to
link to
another page and say that it is also you, using
rel="me". The easiest
way to get your xfn links links detected by Googles Social
Graph API is
to just add them in the page. If you look on my blog (which
is also my
openid) http://www.ts0.com/ you'll
see XFN links to a few of my friends,
but also links to my profile pages on other sites with
rel="me". The SG
API then knows all those profiles are me too and finds all
my friends
from them.


_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: Auto Discovery of XFN
country flaguser name
United States
2008-02-08 05:30:51
Robert Mark White wrote:

> The link below is the link I use for my vCard/hCard.
<link rel="media"
> type="text/directory" title="vCard"
href="http://example.co
m/vcard.html"
> />

I'm not sure where you've found rel="media". I
don't know of any 
specification that recommends it. One or more of the
following seem more 
appropriate:

	* rel="me" (from XFN)
	* rel="contact" (from HTML5 drafts)
	* rel="author" (from HTML5 drafts)
	* rel="DC.creator" (using Dublin Core + RFC
2731)
	* rev="made" (commonly used)

These can be combined, e.g.:

	<link	rel="contact me DC.creator author"
		rev="made"
		type="text/directory"
		title="vCard"
		href="http://example.co
m/vcard.html"
	/>

Personally, for linking to contact info, I just use:
	
	<link 	rel="DC.creator" 
		rev="made" 
		type="text/html"
		title="Toby Inkster"
		href="http://tobyi
nkster.co.uk/~tobyink/"
	>

-- 
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 9 days, 17:33.]

                       The Great IE8 Meta Tag Debacle
          http://tobyinkster.co.uk/blog/2008/02/06/ie-8-meta-tag/

_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )