[PROPOSED PATCH] Add Dublin Core profile attribute
* tz-link.htm: Add profile attribute to head element. See: http://dublincore.org/documents/2008/08/04/dc-html-notes/ --- tz-link.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tz-link.htm b/tz-link.htm index ca2f2bc..e448184 100644 --- a/tz-link.htm +++ b/tz-link.htm @@ -2,7 +2,7 @@ PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> -<head> +<head profile="http://dublincore.org/documents/2008/08/04/dc-html/"> <title>Sources for Time Zone and Daylight Saving Time Data</title> <link rel="schema.DC" href="http://purl.org/DC/elements/1.1/"> <meta http-equiv="Content-type" content='text/html; charset="UTF-8"'> -- 2.1.0
On 2015-12-09 10:47, Paul Eggert wrote:
* tz-link.htm: Add profile attribute to head element. See: http://dublincore.org/documents/2008/08/04/dc-html-notes/ --- tz-link.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tz-link.htm b/tz-link.htm index ca2f2bc..e448184 100644 --- a/tz-link.htm +++ b/tz-link.htm @@ -2,7 +2,7 @@ PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> -<head> +<head profile="http://dublincore.org/documents/2008/08/04/dc-html/"> <title>Sources for Time Zone and Daylight Saving Time Data</title> <link rel="schema.DC" href="http://purl.org/DC/elements/1.1/"> <meta http-equiv="Content-type" content='text/html; charset="UTF-8"'>
Do you think the title should also be added as metadata? <meta name="DC.Title" content="Sources for Time Zone and Daylight Saving Time Data"> -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
Brian Inglis wrote:
<title>Sources for Time Zone and Daylight Saving Time Data</title> <link rel="schema.DC" href="http://purl.org/DC/elements/1.1/"> <meta http-equiv="Content-type" content='text/html; charset="UTF-8"'>
Do you think the title should also be added as metadata? <meta name="DC.Title" content="Sources for Time Zone and Daylight Saving Time Data">
I assume it is not necessary to have a DC.Title attribute that merely duplicates the title element.
On 2015-12-10 19:04, Paul Eggert wrote:
Brian Inglis wrote:
<title>Sources for Time Zone and Daylight Saving Time Data</title> <link rel="schema.DC" href="http://purl.org/DC/elements/1.1/"> <meta http-equiv="Content-type" content='text/html; charset="UTF-8"'>
Do you think the title should also be added as metadata? <meta name="DC.Title" content="Sources for Time Zone and Daylight Saving Time Data">
I assume it is not necessary to have a DC.Title attribute that merely duplicates the title element.
The former is metadata and seems to be expected, when other PURL/DC elements are present, duplicating the HTML content, and for HTML 4..., with a lang attribute e.g. xml:lang="en_US". -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
Brian Inglis wrote:
The former is metadata and seems to be expected, when other PURL/DC elements are present
OK, I added that with the attached patch. Not sure about xml:lang, since this isn't XML. At some point I suppose this ought to switch to HTML 5. The main sticking point for me is lack of a convenient offline validator, for use with 'make check_web'.
participants (2)
-
Brian Inglis -
Paul Eggert