[uf-discuss] SPAN, DIV and Rich Examples
Andy Mabbett
andy at pigsonthewing.org.uk
Fri Dec 22 10:32:13 PST 2006
In message <194EC263-E01C-47AE-AE89-3E8E145C85B2 at ben-ward.co.uk>, Ben
Ward <lists at ben-ward.co.uk> writes
>On 22 Dec 2006, at 17:08, Andy Mabbett wrote:
>> That sounds like a good idea; but I wonder if we should not break it
>> down further, and have each example on a separate page, not on the
>>wiki,
>> but elsewhere, so they can be "viewed" using any of the available
>> parsers.
>
>Not sure. I'd see the purpose of the page better served by being able
>to scroll through. There's an element of it being a source of
>inspiration and enlightenment, rather than a tutorial on each method.
Prominent "Previous" and "Next" links should take care of that.
>As for parsing with tools: Presuming that our MediaWiki installation
>is capable of rendering the ABBR element — by default it gets stripped
>from mark-up — surely it would be sufficient to place an id on each
>rendered example? That would make each example addressable.
Not if you want to demonstrate the full range of elements being marked
up; and enable them to be test cases for parser developers.
>>> Better wording of that paragraph would be appreciated!
>> The examples on this page use span and div elements, for
>> clarity, but any HTML element can be used (though abbr is the
>> only one whose title is parsed).
>
>Better, although I don't think it's the right place to refer to the
>intricacies of the ABBR pattern. That would be demonstrated in
>examples themselves. So how about:
>
> “The examples on this page and the *-examples page use
> SPAN and DIV elements for clarity. However, *any* HTML
> element can be used when publishing microformats.
> See *-rich-examples for more detail.”
In that case, I'd suggest using the "abbr" clause as a footnote.
--
Andy Mabbett
Merry Bloomin' Christmas!
More information about the microformats-discuss
mailing list