Open GoogleCodeExporter opened 8 years ago
rel="me" could be added, even if the hCard microformat is not.
Original comment by pigsotwing
on 21 Dec 2009 at 12:56
please ignore
tooltip="linkalert-tip"
that's added by one of my local scripts.
Original comment by pigsotwing
on 21 Dec 2009 at 1:01
also, in:
<a href="user/dabr" class="fn">dabr</a>
you could use rel-tag:
<a href="user/dabr" class="fn" rel="tag">dabr</a>
Original comment by pigsotwing
on 21 Dec 2009 at 1:04
Aaaargh! I put class="photo" on the "before" rather than the "after" code.
Sorry. I
am an idiot.
Also,I have just counted, and implementing all the above will add no more than
123
characters (~ 0.1Kb) to the page. At the time of writing,
http://dabr.co.uk/user/dabr
is 58Kb.
Original comment by pigsotwing
on 21 Dec 2009 at 2:41
It's not the page content that's an issue. The HTML itself needs to be under
25KB to
ensure compatibility with as many phones as possible. As you say, an extra
0.1KB in
this particular case isn't so bad, as the page is currently 17KB.
What are the use cases for adding hCard info to profile pages?
Original comment by david.carrington
on 21 Dec 2009 at 11:19
@davidcarrington - Primarily, ease if adding the contact to address books (or
updating existing address book entries by merging in the additional details).
The rel-tag component facilitates easy look-up of the user name in various
search
engines and social media sites.
Also gives added semantic richness for third-party tools to use.
Note that twitter uses microformats, so this only restores their functionality.
Looking at your own profile,better markup, when the user's real name is present,
would be to change:
<a href="user/davidcarrington">davidcarrington</a>
(David Carrington)
to:
<a href="user/davidcarrington" class="nickname">davidcarrington</a>
(<span class="fn">David Carrington</span>)
and only use my original mark-up when the real name is not present.
Original comment by pigsotwing
on 22 Dec 2009 at 9:53
Original issue reported on code.google.com by
pigsotwing
on 21 Dec 2009 at 12:49