[uf-discuss] hCard URL for page being visited

Ryan King ryan at technorati.com
Mon Oct 23 11:59:18 PDT 2006


On Oct 21, 2006, at 8:29 AM, Andy Mabbett wrote:

> It seems to me that there should be some way to say that the URL of  
> an hCard or hCalendar event is the URL of the page itself, without  
> having to include a redundant, and accessibility-damaging link to  
> that page, on the page itself.

Why not just use <a class="url" href="#">...</a> (filling in whatever  
you want for '...'.

I would suggest putting an @id attribute on the hcard's root element,  
as that allows people to link specifically to it, and,f or example,  
use X2V to transform just that part of the document.

On Oct 22, 2006, at 8:06 AM, Andy Mabbett wrote:
> Thank you. That's probably the best fix for the situation I  
> describe; but it does require a change to the page, which is not  
> supposed to be required by uFs.

Well, we try to *minimize* the amount of work necessary to publish  
microformats, but we can't always get all the way down to 0 work.

At the same time, we advocate best practices for web content  
authoring. In this case, the relevant best practice is adding  
permalinks and/or fragment identifiers to important document fragments*.

-ryan

* Many best practices are opinion. This is my opinion.


More information about the microformats-discuss mailing list