Closed (outdated)
Project:
RDF CCK
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2009 at 15:46 UTC
Updated:
17 May 2023 at 13:12 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pvhee commentedIs the patch going to be submitted to CCK as well? I'd rather roll out a dev version of CCK than patching it myself :)
Comment #2
scor commentedthis won't be committed to CCK for now. It is here for those who want to try RDFa with RDF CCK.
Comment #3
Anonymous (not verified) commentedI'm relatively new to RDF and RDFa, so please excuse if this is an uninformed question.
When I used this patch, the local term for the CCK field was assigned to the property attribute instead of the external vocabulary term that I had mapped to the CCK field.
For instance, my 'name' field was using the local term("site:field_name") instead of the external vocabulary term("foaf:name").
I tweaked the content.module file to use the external vocabulary term instead, but wasn't sure whether this was the right way to do it.
Should RDFa use the local terms or the external vocab terms?
Comment #4
scor commentedthanks Linclark, you are right, it should include both. attached a new patch.
Comment #5
karens commentedIf you could re-write the CCK patch to be less specific to RDF, it could have a chance of being incorporated into CCK. I would think about using drupal_alter() or something like that to create a generic hook so that all the RDF-specific stuff is done by this module when it implements the hook. Since there are only a couple places you need to jump in, this may not be too hard to do.
Comment #6
pyxio commentedHello,
I don't suppose somebody would be kinda enough to post the already patched file? I'm not very experienced at command line tasks. I did try using WinMerge and had to revert back to the original cck file due to errors. I would just wait for a ckk release but it looks like this is not on the agenda so guess one way or another i have to use the patch. Thanks. Kevin
Comment #7
mchelen@6 Here are the two modified files, content-field.tpl.php and content.module. It is better to use the patch though, because they might be updated in newer version of CCK, these are based on 6.x-2.5.
EDIT: The modified versions seem to be causing errors, although the patch was applied ok.
Comment #8
mathieu commentedsubscribe.
Comment #9
rup3rt commentedSubscribe
Comment #10
hungle commentedHi scor,
How can I render RDF property for default fields of node such as Title field and Body field ? After using patch2 , I can see RDF property for CCK fields, but I can not see RDF property for default fields (Text, Body) . I attached Mapping screenshot in this comment.
Comment #11
avpadernoI am closing this issue, since it is for a Drupal version that now is not supported.
Please re-open it if the issue is also relevant for other project branches that require a supported Drupal version.