DISQUS

Andrey Shchekin's Blog: Microformats are Web 2.0 virus

  • Stephen Paul Weber · 2 years ago
    Everyone would prefer an XML-based system, but we don't HAVE that yet. Inserting random XML tags into an XHTML document is not only invalid, but it messes up EVERY browser out there.

    Microformats achieve the same thing, do not break the way (X)HTML is supposed to work, use what is defined in (X)HTML for semantics, and are backward-compatible to quirksmode

    Perhaps microformats are only a stepping-stone, but they are a good one
  • Andrey Shchekin · 2 years ago
    I understood that point, but did you have any problems viewing my blog? The highlighting in the previous post was done by a bunch of random XML tags styled with CSS.

    All three browsers that I have at home (IE7, Firefox and Opera 9.20) handle them just fine.
  • Stephen Paul Weber · 2 years ago
    Yes, they do, because they're used to handling bad and invalid HTML from the old days. We're supposed to be trying to move away from that, not make it worse by inventing new and on-purpose-wrong tags!
  • Andrey Shchekin · 2 years ago
    I have read some sources myself, and you are correct. HTML does not want to think of itself as XHTML unless served as application/xhtml. And HTML does not want unknown tags.

    But, formally, if I set doctype to xhtml, I feel my right to push in any tags if they have correct (xmlns declared) namespaces. And browsers behave as if I am right.

    The only problem with this is that IE requires xmlns on html tag, and that means that my content can not be embedded without an iframe (which is not a solution). I am still figuring out the solution for this problem.