Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CC0 tool outputs bad metadata #538

Open
Aeva opened this issue Nov 4, 2014 · 2 comments
Open

CC0 tool outputs bad metadata #538

Aeva opened this issue Nov 4, 2014 · 2 comments
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟩 priority: low Low priority and doesn't need to be rushed 🚧 status: blocked Blocked & therefore, not ready for work

Comments

@Aeva
Copy link

Aeva commented Nov 4, 2014

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.

@mattl mattl self-assigned this Feb 1, 2015
@mattl mattl assigned rheaplex and unassigned mattl Aug 18, 2016
@rheaplex rheaplex removed their assignment Sep 7, 2018
@leela52452
Copy link

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.
@Aeva
Copy link
Author

Aeva commented Dec 30, 2019

🙃

@kgodey kgodey added the 🛠 goal: fix Bug fix label Sep 24, 2020
@dhruvkb dhruvkb added 💻 aspect: code Concerns the software code in the repository 🧹 status: ticket work required Needs more details before it can be worked on labels Oct 31, 2020
@cc-open-source-bot cc-open-source-bot added the 🏷 status: label work required Needs proper labelling before it can be worked on label Dec 2, 2020
@TimidRobot TimidRobot added 🟩 priority: low Low priority and doesn't need to be rushed 🚧 status: blocked Blocked & therefore, not ready for work and removed 🧹 status: ticket work required Needs more details before it can be worked on 🏷 status: label work required Needs proper labelling before it can be worked on labels Sep 18, 2024
@TimidRobot TimidRobot transferred this issue from creativecommons/creativecommons.org Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟩 priority: low Low priority and doesn't need to be rushed 🚧 status: blocked Blocked & therefore, not ready for work
8 participants