[TYPO3-core] RFC Feature #16395: Add basic support for RDFa in core (semantic web)
Ernesto Baschny [cron IT]
ernst at cron-it.de
Tue Nov 16 20:30:17 CET 2010
Hi Jochen,
Jochen Rau schrieb am 16.11.2010 19:35:
> I have added an improved patch (feature_16395_v2.diff) to the bugtracker
> (@Steffen Sorry I have only a command line tool right now).
>
> Changes:
>
> 1) The value of the config.doctype changed from xhtml+rdfa to xhtml+rdfa_10 to
> distinguish it from the upcoming XHTML+RDFa 1.1 standard (xhtml+rdfa_11).
>
> 2) The lang attribute is added to HTML5 as well (bug in trunk)
>
> 3) The namespaces are added to HTML5 as well (as specified in the
> current w3c working draft for HTML+RDFa)
>
> Could you please test the new patch?
Nice stuff! Works, +1 by reading and testing.
One thing is just missing, you should also add the new doctype config to
the "switch ($GLOBALS['TSFE']->xhtmlDoctype)" in
tslib/class.tslib_menu.php, so that the HMENU uses "id" instead of
"name" attributes. It is ugly, some day we should make this whole thing
better (but not today). :)
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list