reuters-graphics / bluprint_graphics-kit

SvelteKit rig for graphics and newsapps
https://reuters-graphics.github.io/docs_graphics-kit/
21 stars 3 forks source link

Updated timestamp & metadata #53

Closed hobbes7878 closed 2 years ago

hobbes7878 commented 2 years ago

For schema data, dateModified is pulled in from a key in package.json via the SEO component.

Need to check how/if that gets set automatically by the publisher scripts.

Also not sure what best practices are currently for including that as a timestamp, e.g., as part of the headline component.

hobbes7878 commented 2 years ago

DateModified time is updated from reuters.graphic.updated key in package.json in the SEO component.

Should consider setting that automatically on upload (as long as published time has already been set).

Is a change to make in https://github.com/reuters-graphics/graphics-kit-publisher.

cc: @fcage

hobbes7878 commented 2 years ago

This is now handled in https://github.com/reuters-graphics/graphics-kit-publisher/commit/d695546a88fe97ac411adde4fa2724628b7fd09d