JoostKiens / dc-meta-tags

WordPress plugin to add Dublin Core meta data (Element Set v1.1) to wp_head()
GNU General Public License v3.0
7 stars 3 forks source link

All fields should be multivalue #4

Closed Tintazul closed 10 years ago

Tintazul commented 10 years ago

There isn’t any theoretical reason why some Dublin Core metadata should have only one value… see for instance http://www.dublincoregenerator.com/generator_nq.html where DC metadata generation isn’t constrained to one of each for any field.

In the resources website I’m creating, we will be having pages where we offer two or more versions of a document. If we offer a text as a PDF, as LibreOffice Write and as RTF, then we should have the page tagged with Format: application/pdf Format: application/vnd.oasis.opendocument.text Format: text/rtf

The same reasoning could be applied to all other metadata. In principle, let the final user decide how many of each they want, since the specification does not limit their number.

Tintazul commented 10 years ago

Should there be a “multivalue” checkbox in front of each field in the settings page? Some would be checked by default; maybe Contributor, Relation and Source, which are the current multivalue fields.

Issue: if there is a “multivalue” checkbox, what happens to multi-value fields when the admin unchecks it?

…So maybe everything is multivalue, with no way of turning that off.

Tintazul commented 10 years ago

I will soon need a multivalue “language” to tag the same resource available in more than one language.

Tintazul commented 10 years ago

Solved with version 0.3.0