I need to add JSON-LD to our backdrop site. We are already using Metatag, so one approach would be to use the Schema Metatag module.
However, it looks like that module has not been ported yet(?)
Has any work been done so far to add JSON-LD to Backdrop?
I've never ported a module, so I'm not sure how much work it would be to port Schema Metatag, and I'm hesitant to jump into a difficult project. There is also a simple D8 module called JSON LD Schema API that would be fine as well since I like the code first approach.
Any ideas on the best way to approach this project?
Here are a few links for reference:
OK, I have provided a fix for the problem with metatag. Who knows when it will be merged, but you can patch metatag manually. If you don't know how to do that, let me know.
https://github.com/backdrop-contrib/metatag/issues/110
Schema.org Metatags is now ported, and has an alpha release. I've done limited testing with "Book". Please test other submodules, and post in the issue queue if you find problems:
https://github.com/backdrop-contrib/schema_metatag
Metatag tokens don't work in the main module. I will open another issue for that. Metatag is pretty complex, and it was pretty much abandoned for a long time. Fortunately, maintainers are now fixing things again, but there are some bugs still in that module.