-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide CRUD forms for editing RDF mappings? #1529
Comments
It is totally do-able. We've chatted about it before on #862. There is the existing rdfui module although it hasn't been updated in 3 years. I think the limitation on that module was that it was Schema.org centric. I suppose someone (not me) could volunteer to take over that project and bring it up to where we need it to be? |
@seth-shaw-unlv thanks for the reminder about that discussion. I just tried to enable the rdfui module via drush and it 'sploded:
Given that it hasn't been updated in almost 4 years, I wonder if anyone has ever been able to enable it. |
I enabled it a looooong time ago but not for very long. So it kinda worked at some point? Ah, the age old question of refurbishing a fixer-upper or building a-new..... |
It did totally work at some point in time. Though I've long forgotten the UI/UX. Would be nice to poke at it and see. We've talked about this a lot. There's even a labs project with a bunch of community use cases: https://github.com/Islandora-Labs/rdfux It'd be worth exploring these again and seeing what's relevant and what's a moonshot. I've certainly gone down a few paths looking at this at various points in time. It's not a super complicated config entity, but the different bits come in many different shapes. Last time I gave up I told myself next time I'd try doing it with |
I was imagining that we could alter a content type field's "Edit" form to include a widget containing the RDF mapping and then persist whatever is in that field to the mapping config entity. But that's probably overly simplistic. |
Notes from I8 Call: resurrecting the rdfui may not be worth it? Look at the linked_data_field for an example of a pluggable config |
RDF mappings are stored as configuration entities. Therefore, it should be possible to write a module that allow site admins to perform CRUD tasks on them. https://www.drupal.org/docs/drupal-apis/configuration-api/creating-a-configuration-entity-type describes how to create an edit controller for doing that. Anybody suggest why we shouldn't provide user-facing tools for managing RDF mappings?
The text was updated successfully, but these errors were encountered: