hbz / lobid-organisations

Transformation, web frontend, and API for lobid-organisations
http://lobid.org/organisations
Eclipse Public License 2.0
13 stars 3 forks source link

Embed JSON-LD in HTML #391

Open acka47 opened 6 years ago

acka47 commented 6 years ago

using <script type="application/ld+json">

fsteeg commented 6 years ago

For single hits, i.e. detail pages? The full, original JSON-LD?

We don't do this for the other services yet either. We have something like this in NWBib, but we don't add our normal, full JSON-LD, but a custom snippet, see e.g. https://nwbib.de/HT019298181.

acka47 commented 6 years ago

For single hits, i.e. detail pages? The full, original JSON-LD?

Yes and yes.

We don't do this for the other services yet either. We have something like this in NWBib, but we don't add our normal, full JSON-LD, but a custom snippet, see e.g. https://nwbib.de/HT019298181.

The thing is that we want to embed schema.org JSON-LD for Google and other search engines. In lobid-organisations we are using schema.org wherever possible while we have to transform the lobid-resources JSON-LD to schema.org first (see https://github.com/hbz/lobid-resources-web/issues/25).