esmero / webform_strawberryfield

Provides Webform integrations to feed a field of Strawberries. Mr. Wizard of WebOz
GNU Lesser General Public License v3.0
2 stars 6 forks source link

Support JSON-LD output please #170

Open fishfree opened 6 months ago

fishfree commented 6 months ago

Since we can use several metadata components contributed by this module, it would be great if further expose them as the format of JSON-LD in the HTML source.

DiegoPino commented 6 months ago

@fishfree can you elaborate a bit more about this? Exposed endpoints via twig templates can output JSON-LD and JSON-LD is already one of the output formats for Twig templates. What is missing in your opinion to have better JSON-LD support?

DiegoPino commented 6 months ago

Also. Not sure this issue belongs in this module, except if you think JSON-LD is something that webform should support somehow? Please let me know and I can move it to format_strawberryfield. Thanks

fishfree commented 6 months ago

@DiegoPino Deigo, here is a relevant issue. I mostly hope our module can output JSON-LD on a digital object view page. Thanks!

DiegoPino commented 6 months ago

Ok, so that is already possible so any chance you can share an example/attempt of doing this that does not work for you? What have you tried?

fishfree commented 5 months ago

@DiegoPino Sorry, I forgot adding the relevent issue link.