Needs work
Project:
RDF Extensions
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2011 at 18:24 UTC
Updated:
8 Sep 2011 at 18:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
scor commentedThis patch adds the 'url' key in the EntityStructureWrapper case of rdfx_get_rdf_model(). It feels like a hack, and I'm not sure at this point if there is a better way of doing this. A caveat is that the link value is added as a literal in rdfx_add_statement() because entity API types it as a EntityValueWrapper. EntityDrupalWrapper would yield a proper RDF resource, maybe we can convince the Entity maintainers to fix that. Still, a literal is better than no link at all for now...
It's probably best to wait until there is a proper support for Entity API before looking for the ideal solution.