ZackovChe / dabr

Automatically exported from code.google.com/p/dabr
0 stars 0 forks source link

hCard microformats for friends/ followers lists #103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What would you like dabr to do?

Add hCard microformats to friends/ followers list pages such as:

   *   http://dabr.co.uk/friends/dabr
   *   http://dabr.co.uk/followers/dabr

How would you prefer dabr to do it?

Change, for example (URLs redacted for clarity):

<tr class="odd">
<td>
<img src="..." height="24" width="24"></td><td><a
href="user/davidcarrington">davidcarrington</a> - Maidenhead, UK<br>
<small>Web Developer, creator of dabr.co.uk, diabolo juggler, ex-Scout
leader, mobile enthusiast<br>
Info: 4469 tweets, 211 friends, 969 followers, ~5.5 tweets per day</small>
</td>
</tr>

to:

<tr class="odd vcard">
<td>
<img src="..." height="24" width="24" class="photo"></td><td><a
href="user/davidcarrington" class="fn url" rel="tag">davidcarrington</a> -
<span class="label">Maidenhead, UK</span><br>
<small class="note">Web Developer, creator of dabr.co.uk, diabolo juggler,
ex-Scout leader, mobile enthusiast<br>
Info: 4469 tweets, 211 friends, 969 followers, ~5.5 tweets per day</small>
</td>
</tr>

By adding classes "vcard", "photo" "fn", "url", "note" and span with class
"label"; plus rel="tag"

Original issue reported on code.google.com by pigsotwing on 21 Dec 2009 at 1:11

GoogleCodeExporter commented 9 years ago
On reflection, instead  of:

   class="fn url" 

use:

   class="fn nickname url"

Original comment by pigsotwing on 22 Mar 2011 at 9:43