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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

milesw’s picture

Are 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

scor’s picture

Status: Active » Needs review
FileSize
6.34 KB
milesw’s picture

I 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.

scor’s picture

thanks @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 ;)

Anonymous’s picture

Status: Needs review » Needs work

The 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.

scor’s picture

yes, 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.

scor’s picture

Status: Needs work » Needs review
FileSize
5.31 KB

there is a cleaner, up to date patch.

scor’s picture

FileSize
5.38 KB

fix a couple of typos

Anonymous’s picture

Status: Needs review » Fixed

Cool, 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

Anonymous’s picture

Miles caught a few missing t() functions and fixed some wording, committed in http://drupalcode.org/project/rdf.git/commit/255a665

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

milesw’s picture

Project: Resource Description Framework (RDF) » RDF Extensions