Active
Project:
Neologism
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2011 at 16:40 UTC
Updated:
16 Aug 2011 at 19:12 UTC
Jump to comment: Most recent file
Next task is to provide the feature for getting the RDF output for the vocabularies. There would be a link on the workspace page which would display the vocabulary in RDF Syntax on click.
if the URI of the vocabualary is http://{some_path}/testvoc# , then the URI of the RDF output will be http://{some_path}/testvoc.rdf
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | rdfxml-author-1242076-7.patch | 30.16 KB | mayankkandpal |
| #6 | rdfxml-clean-1242076-6.patch | 29.2 KB | mayankkandpal |
| #5 | rdfxml-1242076-5.patch | 29.2 KB | mayankkandpal |
Comments
Comment #1
cygri commentedHere are some pointers into the D6 code that might be useful. Here's probably a situation where copying a lot of the D6 code is a good idea.
Hope that helps…
Comment #2
mayankkandpal commentedWill try to roll a patch within another day.
Comment #3
mayankkandpal commentedSome issues :
1. In drupal-7, the " node/%id/rdf " page for is reserved for the automatically generated RDFa output, and I have not been able to override the callback. So, for now, I am displaying the RDF/XML on " node/%neologism_vocabulary/rdf-export ".
2. vann is not imported as a namespace by default, so for now, I have hard-coded registration of vann while generating RDF/XML output
Comment #4
cygri commented1. How about "node/%neologism_vocabulary/rdfxml"?
2. Ok, we can sort that out later.
Comment #5
mayankkandpal commentedPatch for displaying RDF/XML output at node/%neologism_vocabulary/rdfxml
There are a couple of whitespace errors in the neologism.rdfwriter.inc I will have to manually remove them since coder-format script doesnt work properly on it and does some unwanted editing which results in errors.
Comment #6
mayankkandpal commentedCleaned up whitespace manually.
Comment #7
mayankkandpal commentedPatch for adding Workspace author information to the RDF/XML output. No issues.
Probably we should commit this to the branch else the patches will keep getting bigger :)