Hi Kevin, Yes, I misunderstood. I now see what you mean..
It looks like, unfortunately, in both DSpace 3.0 and 3.1 this "Identify" response <description> value is hardcoded. It's actually not the DSpace source code itself, but rather in the "com.lyncode.xoai" library that DSpace uses. This library's source is not distributed with DSpace, but is available on GitHub. Here's the exact place where the Description value is hardcoded: https://github.com/lyncode/xoai/blob/master/src/main/java/com/lyncode/xoai/dataprovider/OAIDataProvider.java#L105 It's then used later on at: https://github.com/lyncode/xoai/blob/master/src/main/java/com/lyncode/xoai/dataprovider/OAIDataProvider.java#L298 I've copied in João Melo from Lyncode, to see if he has any ideas on how best to either override this default value, or possibly make it configurable. (It's also possible this could be something we could try to fix in a future 3.2 release. But, as of yet, we don't have a 3.2 release scheduled, as we're still waiting to see what additional bugs / issues may be reported in 3.0 or 3.1) - Tim On 2/5/2013 11:35 AM, Kevin Beswick wrote: > Hi Tim, > > Thanks for the reply. I don't think this is what I'm looking for though > - as per the requirements of Theses Canada, the description element must > be included in the OAI-PMH "Identify" response. Currently, the default > value of the description element that I get when making an "Identify" > request from the following address - > http://biblio-dev.laurentian.ca:8080/dspace-oai/request?verb=Identify - is: > > <description> > <XOAIDescription xmlns="http://www.lyncode.com/XOAIConfiguration">XOAI: > OAI-PMH Java Toolkit</XOAIDescription> > </description> > > Basically I am looking to change the value of that description element, > or add a second one. From my understanding, the output received from > issuing an "Identify" request does not depend on any particular crosswalk. > > Thanks, > Kevin > > > On Tue, Feb 5, 2013 at 12:00 PM, Tim Donohue <[email protected] > <mailto:[email protected]>> wrote: > > Hi Kevin, > > To add or change the OAI-PMH elements in the new DSpace 3.x OAI > interface (aka XOAI), you can just modify the proper "crosswalk". > > XOAI uses a variety of metadataFormat crosswalks which all exist in: > > [dspace]/config/crosswalks/__oai/metadataFormats/ > > In this case, it sounds like you just want to add an element to the > default "oai_dc" metadata format. To do so, you'd modify the > "oai_dc.xsl" in the above folder: > > > https://github.com/DSpace/__DSpace/blob/master/dspace/__config/crosswalks/oai/__metadataFormats/oai_dc.xsl > > <https://github.com/DSpace/DSpace/blob/master/dspace/config/crosswalks/oai/metadataFormats/oai_dc.xsl> > > In this case, you'd likely want to add a new "<dc:decription>" > element into the body of the "<oai_dc:dc>" element (starting on line > #22). > > If you needed to modify any of the other OAI-PMH metadata formats, > they all have similar XSLTs in that "metadataFormat/" folder. > > Some additional information regarding how XOAI uses these various > metadataFormat XSLTs is available at: > https://wiki.duraspace.org/__display/DSDOC3x/OAI+2.0+Server > <https://wiki.duraspace.org/display/DSDOC3x/OAI+2.0+Server> > > Let us know if you have any other questions. > > - Tim > > > On 2/5/2013 9:49 AM, Kevin Beswick wrote: > > Hi, > > We are in the process of upgrading from DSpace 1.8.2 -> 3.0. We > currently participate in a national ETD harvesting program (Theses > Canada), and one of their requirements in order to harvest our > content > is that we must include a description element that contains specific > information in our OAI identify response (detailed here: > > http://www.collectionscanada.__gc.ca/thesescanada/027007-__9200-e.html#a13 > > <http://www.collectionscanada.gc.ca/thesescanada/027007-9200-e.html#a13>). > > Prior to 3.0, we achieved this by adding a configuration entry to > oaicat.properties containing the description information: > > Identify.description.0=<__description>...</description> > > I'm wondering if there is an easy way to achieve the same result > using > the new XOAI system in DSpace 3.0, or if someone can point me in the > right direction? > > Thanks, > Kevin Beswick > Laurentian University > > > > ------------------------------__------------------------------__------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-__d2d-feb > <http://p.sf.net/sfu/sophos-d2d-feb> > > > > _________________________________________________ > DSpace-tech mailing list > [email protected].__net > <mailto:[email protected]> > https://lists.sourceforge.net/__lists/listinfo/dspace-tech > <https://lists.sourceforge.net/lists/listinfo/dspace-tech> > List Etiquette: > https://wiki.duraspace.org/__display/DSPACE/Mailing+List+__Etiquette > <https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette> > > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

