[uf-dev] Feedback on XFN implementation

michael donohoe at nytimes.com
Wed Apr 9 13:38:43 PDT 2008


Hello,

I'm trying to get some initial feedback on XFN support for a project I
am working on.

I've included some sample text of a users page. Essentially there are
three components:

1. User info (name and basic summary)
2. A list of actions/activities from the user and other people in their network
3. A list of people within the users network (this can also include the user)

There really aren't any levels of friend designation, and we expect
that the user will not really know in RL many of the people in their
network. From that perspective I use the designation "acquaintance"
only.

With that in mind, does the following seem appropriate (ignore href
values as they're all bogus):

<div id="person">
	<table width="100%">
		<tr>
			<td width="70">
				<a href="/profileid/1/index.html"><img src="path_to_image.jpg"
width="64" height="64" /></a>
			</td>
			<td>
				<h4><a rel="me" href="blah/index.html">Michael</a></h4>
				<p>NYC&nbsp;</p>
			</td>
		</tr>
	</table>
</div>
...
<!-- this is a table with a list of users in your list -->
<table>
	<tr>
	<td class="picon"><a href="blah/index.html"><img class="iconMedium"
src="path_to_image.jpg" width="30" height="30" title="John Coleman"
/></a></td>
	<td class="bold"><a rel="acquaintance"
href="/view/user/3456266/1/index.html">John Coleman</a></td>
	<td class="plocation">Earth</td>
	</tr>
	<tr>
	<td class="picon"><a href="blah/index.html"><img class="iconMedium"
src="path_to_image" width="30" height="30" title="Shane Sweeney"
/></a></td>
	<td class="bold"><a rel="acquaintance"
href="/view/user/237187/1/index.html">Shane Sweeney</a></td>
	<td class="plocation">New York</td>
	</tr>
	<tr>
	<td class="picon"><a href="blah/index.html"><img class="iconMedium"
src="path_to_image" width="30" height="30" title="Nick Burke"
/></a></td>
	<td class="bold"><a rel="acquaintance"
href="/view/user/50640219/1/index.html">Nick Burke</a></td>
	<td class="plocation">Austin, TX</td>
	</tr>
<tr>
...
<table id="list">
	<tr>
		<td width='18'><a href="blah/index.html"><img src="someimage.jpg"
width="16" height="16" /></a></td>
		<td>
			<div><a rel="acquaintance" href="blah/unique/index.html">John
Coleman</a> recommended something: <a
href="http://www.yahoo.com">Yahoo</a></div>
			<div id="52396054" class="summary" style=""><span>This is a web
site </span></div>
	
		</td>
		<td class="toggle"><span class="timestamp">Apr, 1 2008</span></td>
	</tr>
	<tr>
		<td width='18'><a href="blah/index.html"><img src="someimage.jpg"
width="16" height="16" /></a></td>
		<td>
			<div><a rel="me" href="blah/index.html">Michael</a> recommended an
another thing: <a href="http://www.someurl.com/coffee.html">Something
about Coffee</a></div>
			<div id="52396054" class="summary" style=""><span>This is a summary
with description ifnormation.</span></div>
	
		</td>
		<td class="toggle"><span class="timestamp">Apr, 1 2008</span></td>
	</tr>
</table>
...

Thoughts and feedback appreciated!

-Michael


More information about the microformats-dev mailing list