Closed lionick closed 5 years ago
Hello @lionick. From the example you included, the date is not in the correct format
If you take a look at the contributors.1.date
field, only the year, 2014
appears, instead of the usual YYYY-MM-DD format. This issue is similar to #28 in that the format is not what we expect and thus the result formed is invalid.
For these cases, as we can't have a date without day/month, we can either set these resources as "Date Unknown" or as "2014-01-01".
Hi @lionick I have applied the changes to the script to also read "year only" dates, but I see the example mentioned above is an external link, and thus does not appear on the platform.
Hi @Alfro Another example is: https://oer.up2university.eu/search/v1/akif?identifier=up2u_UAL_http://ualresearchonline.arts.ac.uk/7176/1/Mark_Making-_Exploring_the_role_of_the_Arts_for_People_with_a_dementia.mp4 which is the second item in eduOER front page.
Thanks for the example! In that case, it seems the changes to the script have turned out well, since the date appears as 01/01/2014 on pre-production: https://eduoer.test.up2university.eu/video/5a3db0f135f525e3418b6ffc I'll tag the changes and deploy to production, then.
Hi @lionick The changes were deployed to production, and after the script ran it seems the date appears now correctly in production as well: https://eduoer.up2university.eu/video/5a5f4205e11a28ef6e8b7774
Thanks a lot!
Go to https://eduoer.up2university.eu/searchmultimediaobjects There are videos that have recorded date with value 11/01/2019 (today). This is not right if we look at searchAPI.
For example:
Lets take the first item "Collaborative chaos in the studio and laboratory" At the Search API: https://oer.up2university.eu/search/v1/akif?identifier=up2u_UAL_http://ualresearchonline.arts.ac.uk/9026/1/Broad-Vision-book-cover.jpeg There is not such a date. @vgoya