creativecommons.org
creativecommons.org copied to clipboard
CC0 tool outputs bad metadata
The author name should be dct:creator, not dct:title.
This is the output of the tool currently:
<p xmlns:dct="http://purl.org/dc/terms/">
<a rel="license"
href="http://creativecommons.org/publicdomain/zero/1.0/">
<img src="http://i.creativecommons.org/p/zero/1.0/88x31.png" style="border-style: none;" alt="CC0" />
</a>
<br />
To the extent possible under law,
<a rel="dct:publisher"
href="http://work_url">
<span property="dct:title">author name</span></a>
has waived all copyright and related or neighboring rights to
<span property="dct:title">title_of_work</span>.
</p>
Also, to be more consistent with the normal chooser, the 'xmlns:dct="http://purl.org/dc/terms/"' attribute should just appear on every element that uses dct properties, so as to prevent the end user from breaking the metadata so easily if they decide they want a div instead of a paragraph element.
w3c validator errors: https://validator.w3.org/nu/?doc=https%3A%2F%2Fleela52452.gitlab.io%2F0.html&checkerrorpages=yes&showsource=yes&showoutline=yes
-
Attribute xmlns:dct not allowed here. -
Attribute with the local name xmlns:dct is not serializable as XML 1.0.
๐