Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Evoc imports the entire vocab to the database. This is unnecessary for many use cases. As scor and I talked about last week, we should have a UI that doesn't require import. This would ensure that the namespace mappings would be included in the head of the page.
Comment | File | Size | Author |
---|---|---|---|
#8 | 1114096_8_rdfx_ns.patch | 5.38 KB | scor |
#7 | 1114096_7_rdfx_ns.patch | 5.31 KB | scor |
#2 | 1114096_1_ns_form.patch | 6.34 KB | scor |
Comments
Comment #1
milesw CreditAttribution: milesw commentedAre you thinking just a simple form to manage the list of namespaces? Something that allows you to add custom namespaces and prefixes?
Looks like this should live under the new config section described in #1106662: Provide all RDF configuration options in one section in Configuration
Comment #2
scor CreditAttribution: scor commentedComment #3
milesw CreditAttribution: milesw commentedI was going to offer to take care of this one, but you're all over it :)
Tested on my copy and works as expected. Namespace appears in the head of pages.
Comment #4
scor CreditAttribution: scor commentedthanks @milesw for testing! and there are plenty of other issues in the queue, please feel free to assign one to yourself and work on it. if you need help to find the most important or low hanging issue let me know and I'll send you some links ;)
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedThe patch is a little dirty, it includes the patch from the Configuration issue which has the options in the Services section of configuration.... which I guess just points to the need for us to finish off #1106662: Provide all RDF configuration options in one section in Configuration. Once we get the config one committed, we can clean that up.
Other than that, it looks good. It would be super fracking cool if we could have a 'fetch from prefix.cc' option if you want to be lazy and just get whatever is defined there (and I so want to be lazy). I'll just add that as a feature request later though.
Comment #6
scor CreditAttribution: scor commentedyes, forgot to say that I was using the patch from #1106662: Provide all RDF configuration options in one section in Configuration as a base to write the namespace form.
Comment #7
scor CreditAttribution: scor commentedthere is a cleaner, up to date patch.
Comment #8
scor CreditAttribution: scor commentedfix a couple of typos
Comment #9
Anonymous (not verified) CreditAttribution: Anonymous commentedCool, I just made the itsy-bitsiest change to wording. I changed "finishes by / or #" to "end with / or #".
I think we can make a few improvements to make the form easier, but I'll open up a new issue for those.
Fixed with commit http://drupalcode.org/project/rdf.git/commit/2937319
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedMiles caught a few missing t() functions and fixed some wording, committed in http://drupalcode.org/project/rdf.git/commit/255a665
Comment #12
milesw CreditAttribution: milesw commented