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

Add datestamp #244

Open
rettinghaus opened this issue Nov 5, 2019 · 6 comments
Open

Add datestamp #244

rettinghaus opened this issue Nov 5, 2019 · 6 comments
Assignees

Comments

@rettinghaus
Copy link

There's no way of knowing how old the presented data is.
I would be good to add a timestamp somewhere in the footer (Datenquellen) to see when it was last updated.

@rettinghaus
Copy link
Author

To be more precise: Show when the RDF was received/cached/processed by lobid and when the data itself was modified last (dcterms:modified).

@acka47
Copy link
Contributor

acka47 commented Nov 6, 2019

Thanks for the request. I assume your inquiry is referring to the HTML view of a resource. Generally, nearly every entry has a modification date in the JSON in field describedBy.dateModified, e.g. for https://lobid.org/gnd/118903489 it looks like this:

"describedBy":{
    "id":"http://d-nb.info/gnd/118903489/about",
    "license":{
        "id":"http://creativecommons.org/publicdomain/zero/1.0/",
        "label":"http://creativecommons.org/publicdomain/zero/1.0/"
    },
    "dateModified":"2016-10-14T16:01:36.000"
}

The thing is, that this date is pulled from the underlying MARC/Pica record and thus refers to modifications in this record. This means that sometimes

  1. the date is adjusted while actually no changes occured in the RDF or
  2. the RDF changes but the date is not adjusted.

Would you like us to show the date in the HTML view anyways?

@rettinghaus
Copy link
Author

Nonetheless, I think it would be good to show the date in the HTML, even if it's meaningfulness is limited. You can't see it anywhere else (unless you crawl through the raw data). Perhaps some sort of disclaimer could/should be added?

fsteeg added a commit that referenced this issue Oct 10, 2022
@fsteeg
Copy link
Member

fsteeg commented Oct 10, 2022

Deployed to test, see e.g. https://test.lobid.org/gnd/118903489 (below the table, shortened to the day).

@acka47
Copy link
Contributor

acka47 commented Oct 11, 2022

I think the place ("Datenquellen") is the right one to add the information but the current solution is confusing for two reasons:

  1. The date seems to refer to both DNB LDS data and EntityFacts or – as it is nearer to the second – only to EntityFacts
  2. It is not clear what the date is about.

We should

  • either clearly associate the date only with the DNB LDS part
  • or add another date for the version of the EntityFacts data that we are using.

I prefer the second solution which would in fact be quite good for ourselves as well. But this would mean that we make describedBy an array and add another object for the underlying EntityFacts data (which we have #294 for).

@acka47 acka47 assigned fsteeg and unassigned acka47 Oct 11, 2022
@fsteeg
Copy link
Member

fsteeg commented Oct 11, 2022

Yes, makes sense. I tried moving the date to associate it with the DNB LDS, but it keeps being confusing, not just due to the 'it's the MARC, not the RDF modification date' from #244 (comment) and the EntityFacts issue above, but we should probably also display the date of our latest updates somehow, like "Mit Updates von 2022-10-11 zuletzt aktualisiert 2016-10-14 im Katalog der DNB und 2020-05-10 in EntityFacts".

(Reverted displaying the date & deployed to test, this stays in backlog, can be implemented after #294.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants