W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2013

Re: [whatwg] use of article to markup comments

From: Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net>
Date: Sun, 17 Feb 2013 14:19:32 +0100
To: "Bruce Lawson" <brucel@opera.com>
Message-ID: <20130217141932.7ca5ed8a@desudesudesu>
Cc: whatwg@lists.whatwg.org
"Bruce Lawson" <brucel@opera.com> schrieb am Sat, 26 Jan 2013 13:30:18

> In short, why should the spec suggest any specific method of marking
> up comments?

As someone who is interested in semantics and tired of scraping
content and applying scrappy heuristics: If it is clear that an
<article> within an <article> represents a comments one can easily:
  * programmatically find article comments in HTML
  * write interoperable stylesheets for comments, using the selector
    “article > article”
  * use HTML fragments in a document store for content management (I
    wrote a blog software with a git backend yesterday and plan to add
    this feature)

Without having one interoperable way all that becomes a lot harder.

Nils Dagsson Moskopp // erlehmann
Received on Sunday, 17 February 2013 13:20:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:19 UTC