You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do we need a copy of the JSON-LD in index.html?
#71
Currently, embed parses the index.html to generate a JSON-LD of the metadata - and stores this in the separate file index.jsonld and embeds a copy into index.html plus a link to the index.jsonld. Then generate-dois adds attributes to index.jsonld - but not to the copy in index.html. Using generate a new index.html is generated with the up to date copy of the metadata.
Question: Do we really need the two copies? This surely will cause problems. Is it not enough to include a link to the index.jsonld in the index.html?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Currently, embed parses the index.html to generate a JSON-LD of the metadata - and stores this in the separate file index.jsonld and embeds a copy into index.html plus a link to the index.jsonld. Then generate-dois adds attributes to index.jsonld - but not to the copy in index.html. Using generate a new index.html is generated with the up to date copy of the metadata.
Question: Do we really need the two copies? This surely will cause problems. Is it not enough to include a link to the index.jsonld in the index.html?
All reactions