Joan,

I saw your email to me earlier, sorry I've been a bit swamped to
respond quickly.  I will try to give you the quick answer. caution,
this is not a stable addon for dspace and so its installation may
require some further "back and forth" to get right.

On Thu, Jul 2, 2009 at 11:42 PM, Joan Caparros<[email protected]> wrote:
> Dspace-rdf is an addon that generates ORE RDF.
> I want to use this feature in my Dspace, Anyone know the steps to install it?
> in another post the developer comment that is needed to add some lines in the 
> sitemap.xmap file... but I think that's not all to make it works.
> Did you add this feature and can write the steps to add it? How did you 
> config your sitemap.xmap?

There are two addons that are neccessary, dspace-rdf and
dspace-xmlui-rdf-aspect the first just produces the rdf using OpenRDF
libraries, the second wires dspace-redf into the XMLUI Cocoon pipeline
so the rdf/xml can be resolved in the webapplication. You shouldn't
really need to check these out, but here are the sources.

http://scm.dspace.org/svn/repo/modules/dspace-rdf/trunk/
http://scm.dspace.org/svn/repo/modules/dspace-xmlui-rdf-aspect/trunk/

You are correct that currently they require configuring the sitemap and pom.xml

You will want to try the following configuration which should allow
your xmlui to be built with the supporting libraries:

1.) add the following dependencies to your /dspace/modules/xmlui/pom.xml

     <dependency>
         <groupId>org.dspace</groupId>
         <artifactId>dspace-xmlui-rdf-aspect</artifactId>
         <version>1.5.1-SNAPSHOT</version>
      </dependency>

      <dependency>
         <groupId>org.dspace</groupId>
         <artifactId>dspace-rdf</artifactId>
         <version>1.5.1-SNAPSHOT</version>
      </dependency>

2.) add the following lines to your
/dspace/modules/xmlui/src/main/webapp/WEB-INF/sitemap.xmap which you
will need to copy out of your
/dspace/target/dspace-1.5.1-...dir/webapps/xmlui/WEB-INF/sitemap.xmap

Under the "DRI matcher" you'll want to add the following:

                  <!-- Theme pipeline -->
                        <map:match pattern="DRI/**">
                                <map:mount check-reload="no" 
src="aspects/aspects.xmap" uri-prefix="DRI/"/>
                        </map:match>
                        
                        
                        <map:match pattern="metadata/**">

         <!-- Add this: Semantic Web RDF Generation for a specific
community/collection/item  -->
         <map:match pattern="metadata/handle/*/*/rdf.xml">
            <map:generate type="DSpaceObjectRDFGenerator">
               <map:parameter name="handle" value="{1}/{2}" />
            </map:generate>
            <map:serialize type="rdf" />
         </map:match>



I havn't had anyone want to install this on their site so I havn't
been improving its installation.  But, in dspace 1.5.2 and later, we
can deploy this without all the above sitemap.xmap work

Good luck and I'll be glad to answer any questions you may have about
this as your installing it.

Note, there are some other projects out there that produce ORE, the
TAMU harvester project provides a ORE crosswalk fro the OAI Gateway
you may have an interest in.

Cheers,
Mark
-- 
Mark R. Diggory
@mire - http://www.atmire.com

------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to