[uf-discuss] hCard parsing and DEL elements

Brian Suda brian.suda at gmail.com
Tue Nov 22 18:18:45 PST 2005


I just added a section to the hCard parsing about the DEL element.[1]
It is conceivable that a person would want to <DEL>[2] an old address
or phone number, etc in their hCard. In doing so they are saying that
they do NOT consider this information correct, but needs to be in the
revision. It is common to see on a blog where the author was
corrected. This is where an INS and DEL could find use. In doing so,
when the parsing application scans the text (i think) it should avoid
any microformated data that is a child of a DEL element.

For instance, if you wrote an hReview that berates a movie theater for
their policies. Later you find it NOT to be part of the policy, but
that of a stupid employee. You correct yourself with the INS and DEL.
When the spider extracts your hReview of the Theater, SHOULD it
include the DEL portion? Things like vCard/iCal have no provisions for
versioning of the data, so the reader would not know that you
"removed" the mistake of blaming the theater - in fact the text would
probably read very strange to get all the DELs, INSs, and normal text
all run together.

So my vote would be to ignore all DEL and their children when
extracting Microformats.

Anyone see otherwise?
-brian

[1] - http://microformats.org/wiki/hcard-parsing#DEL_element
[2] - http://www.w3.org/TR/REC-html40/struct/text.html#h-9.4

--
brian suda
http://suda.co.uk


More information about the microformats-discuss mailing list