| 1 |
// $Id: README.txt,v 1.12.2.4 2008/10/28 01:42:48 yched Exp $
|
| 2 |
|
| 3 |
RDF CCK
|
| 4 |
=======
|
| 5 |
|
| 6 |
The RDF CCK module allows site administrators to map each content type, node title, node body and CCK field to an RDF term (class or property).
|
| 7 |
|
| 8 |
RDF CCK requires the modules:
|
| 9 |
* RDF - http://drupal.org/project/rdf
|
| 10 |
* CCK 2.x - http://drupal.org/project/cck
|
| 11 |
* RDF external vocabulary importer (evoc) - http://drupal.org/project/evoc
|
| 12 |
|
| 13 |
To install RDF CCK, place the entire rdfcck folder into your modules directory.
|
| 14 |
Go to Administer -> Site building -> Modules and enable the RDF CCK module.
|
| 15 |
|
| 16 |
By default, RDF CCK will create local classes and properties for all your content types and fields which will be exported at node/*/rdf.
|
| 17 |
|
| 18 |
|
| 19 |
Mappings to external vocabularies
|
| 20 |
=================================
|
| 21 |
|
| 22 |
This version 2.x of RDF CCK uses the RDF external vocabulary importer module (evoc) to map your local Drupal data model to external RDF terms. First make sure to import at least one vocabulary with the form available at evoc/import. See the evoc module documentation for more details. Common vocabularies are:
|
| 23 |
|
| 24 |
dc : http://purl.org/dc/elements/1.1/
|
| 25 |
foaf : http://xmlns.com/foaf/0.1/
|
| 26 |
sioc: http://rdfs.org/sioc/ns#
|
| 27 |
|
| 28 |
Go to Administer -> Content management -> Content types. Choose an existing content type and click on the tab "Manage RDF mappings". This page will give you an overview of the current mappings on your site. Assign the mappings to your content type and fields. Finally browse to node/{nid}/rdf where {nid} corresponds to a node of the type you just edited.
|
| 29 |
|
| 30 |
|
| 31 |
AUTHOR/MAINTAINER
|
| 32 |
======================
|
| 33 |
scor (Stéphane Corlosquet) http://drupal.org/user/52142
|