[whatwg] use of article to markup comments
Nils Dagsson Moskopp
nils at dieweltistgarnichtso.net
Sun Feb 17 05:19:32 PST 2013
"Bruce Lawson" <brucel at opera.com> schrieb am Sat, 26 Jan 2013 13:30:18
-0000:
> 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
<http://dieweltistgarnichtso.net>
More information about the whatwg
mailing list