VTUL / vtechworks

DSpace at Virginia Tech
http://vtechworks.lib.vt.edu
Other
6 stars 8 forks source link

Incorrect date in <meta name="citation_date"> #498

Closed alawvt closed 7 years ago

alawvt commented 7 years ago

We have received a request from Google to look at items that have the wrong date in header. The two examples they gave are items in the SANREM collection. Examples are

 https://vtechworks.lib.vt.edu/handle/10919/69925

<meta content="2016-04-19T20:29:23Z" name="citation_date">

However, this link:
http://link.springer.com/10.1007/s10460-010-9273-y
<meta name="citation_cover_date" content="2011/06/01"/>

The metatag should reflect this date and instead be
<meta name="citation_date" content="2011/06/01"/>

2) https://vtechworks.lib.vt.edu/handle/10919/68992
<meta content="2016-04-19T20:08:07Z" name="citation_date">
However, the PDF says: 2003: https://vtechworks.lib.vt.edu/bitstream/handle/10919/68992/4755_Yanggen2003_PesticideUse_Potato_Ecuador_.pdf?sequence=1

 The metatag should reflect this date and instead be
<meta name="citation_date" content="2003"/>

The date in is derived using the crosswalk, dspace/config/crosswalks/google-metadata.properties,

# Pipe-delimited lists:  These are first-match paths

google.citation_date = dc.date.copyright | dc.date.issued | dc.date.available | dc.date.accessioned

The SANREM metadata was not prepared by us and is not standard. Instead of using dc.date.issued, they used dc.date.created. Since that field is not in the crosswalk, the later dc.date.accessioned was used instead to create the tag.

I will change dc.date.created to dc.date.issued in this collection. I am also tempted to remove the dc.date.submitted metadata because that refers to the date the item was added to the SANREM database, instead of when the item was submitted for publication.

alawvt commented 7 years ago

I moved the value in dc.date.created to dc.date.issued. If an item did not a value in dc.date.created, I copied the value in dc.date.submitted to dc.date.issued. I removed all dc.date.created and dc.date.submitted.

I have added a Backlog item to investigate improvements and customizations to the Google crosswalk.