hbz / lobid

Linking Open Bibliographic Data
https://lobid.org/
Eclipse Public License 2.0
15 stars 4 forks source link

Embed JSON-LD in HTML with <script> tag and remove RDFa #256

Closed acka47 closed 7 years ago

acka47 commented 8 years ago

Currently, the JSON-LD is also part of the HTML in lobid.org. I suggest, simultaneously publishing it within the <script type="application/ld+json"> tag and removing the buggy RDFa. What do you think?

fsteeg commented 8 years ago

+1

akuckartz commented 8 years ago

Non-buggy JSON-LD is better than buggy RDFa.

acka47 commented 8 years ago

We should best embed schema.org JSON-LD, see also https://github.com/hbz/nwbib/issues/99.

acka47 commented 7 years ago

Won't fix in API 1.0. The upcoming version (http://lobid.org/resources) will get some embedded schema.org JSON-LD (from the start or later, see https://github.com/hbz/lobid-resources-web/issues/25#issuecomment-274093946). It already supports content negotiation for application/json+ld and application/json from the start. Closing.