Parent Directory
|
Revision Log
++ whatpm/t/ChangeLog 24 Sep 2007 04:23:24 -0000 2007-09-24 Wakaba <wakaba@suika.fam.cx> * ContentChecker.t: New test data files are added. * content-model-atom-1.dat, content-model-atom-2.dat: New test data. ++ whatpm/Whatpm/ChangeLog 24 Sep 2007 04:21:59 -0000 2007-09-24 Wakaba <wakaba@suika.fam.cx> * ContentChecker.pm: Set level values for later uses. ++ whatpm/Whatpm/ContentChecker/ChangeLog 24 Sep 2007 04:22:38 -0000 2007-09-24 Wakaba <wakaba@suika.fam.cx> * Atom.pm (hreflang): Checker is implemented. (AtomDateConstruct): Checking for content is implemented.
| 1 | wakaba | 1.1 | package Whatpm::ContentChecker; |
| 2 | use strict; | ||
| 3 | require Whatpm::ContentChecker; | ||
| 4 | |||
| 5 | my $HTML_NS = q<http://www.w3.org/1999/xhtml>; | ||
| 6 | |||
| 7 | my $HTMLMetadataElements = { | ||
| 8 | $HTML_NS => { | ||
| 9 | qw/link 1 meta 1 style 1 script 1 event-source 1 command 1 base 1 title 1 | ||
| 10 | noscript 1 | ||
| 11 | /, | ||
| 12 | }, | ||
| 13 | }; | ||
| 14 | |||
| 15 | my $HTMLSectioningElements = { | ||
| 16 | $HTML_NS => {qw/body 1 section 1 nav 1 article 1 blockquote 1 aside 1/}, | ||
| 17 | }; | ||
| 18 | |||
| 19 |