Implied hCard Brainstorming

(Difference between revisions)

Jump to: navigation, search
Current revision (10:19, 24 November 2011) (view source)
(entry-title, remove theoretical warning without any citation of examples)
(7 intermediate revisions not shown.)
Line 1: Line 1:
<h1>Implied hCard Brainstorming</h1>
<entry-title>Implied hCard Brainstorming</entry-title>
These are ideas for solutions to [[implied-hcard|implied-hcards]]. See [[implied-hcard-examples]] for use cases.
These are ideas for solutions to [[hcard-implied|implied-hcards]]. See [[hcard-implied-examples]] for use cases.
== Initial ideas ==
== Initial ideas ==
Line 42: Line 42:
--[[User:RCanine|Ryan Cannon]]
--[[User:RCanine|Ryan Cannon]]
==See also==
* [ Mailing list discussion: January 2008]

Current revision

These are ideas for solutions to implied-hcards. See hcard-implied-examples for use cases.

Initial ideas

The rule could be similar to:

If a an element with class=vcard does not have any hCard class names, imply the entire content as an fn field, and attempt to apply the implied "n" optimization.

Optionally, if the root element has @href, imply a class="url".

For example:

<a class="vcard" href="">Ryan Cannon</a>


FN:Ryan Cannon

All this is possible because it requires an hCard without hCard markup inside.

This is fairly powerful for a few reasons:

Additionally, the @href could map to different properties based on protocol:

--Ryan Cannon

See also

Implied hCard Brainstorming was last modified: Thursday, November 24th, 2011