[Dspace-tech] OAI output

2015-03-11 Thread Benjamin Ryan
Hi, Can anyone tell me where to look to resolve the following issue: Requests to http://dspace.jorum.ac.uk/oai/request?verb=ListRecordsmetadataPrefix=oai_dc Return as source: ?xml-stylesheet type=text/xsl href=static/style.xsl?

Re: [Dspace-tech] OAI output

2015-03-11 Thread Claudia Jürgen
Hello Ben, ran into the same issue resulting in an invalid baseUrl which is got here: https://github.com/DSpace/DSpace/blob/dspace-4.2/dspace-oai/src/main/java/org/dspace/xoai/data/DSpaceIdentify.java#L76-85 and as static determined only once. The results are cached as configured in

Re: [Dspace-tech] OAI output item header

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 11:12 AM, Jacob Andersson jacob.anders...@mah.se wrote: Hi, Ivan, could you please show me an example of an XOAI XSLT-transformation that changes the contents of the XML-output's item-header? I haven't been able to figure it out, looking at the XOAI addon files

Re: [Dspace-tech] OAI output item header

2012-08-20 Thread Jacob Andersson
Hi, Thanks. I've looked at all the included files in both the metadataFormats and transformers folders, but I can't find any code that changes the item header. The XSLT-files in the metadataFormats folder make no mention of the item header, so I'm assuming it is generated elsewhere? Yours,

Re: [Dspace-tech] OAI output item header

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 12:22 PM, Jacob Andersson jacob.anders...@mah.se wrote: Thanks. I've looked at all the included files in both the metadataFormats and transformers folders, but I can't find any code that changes the item header. The XSLT-files in the metadataFormats folder make no

Re: [Dspace-tech] OAI output item header

2012-08-20 Thread DSpace @ Lyncode
Hi Jacob, in order to have control over the list of sets you will need to override the default XOAI behaviour. https://github.com/lyncode/xoai/blob/master/src/main/java/com/lyncode/xoai/dataprovider/data/AbstractItemIdentifier.java I think you need a virtual set, listed on top the the list. So

[Dspace-tech] OAI output item header

2012-08-14 Thread Jacob Andersson
Hi. We're running 1.8.2 with XMLUI. I'm having trouble finding where I can define the item header in the XML output for OAI-PMH harvesting. I've worked with the crosswalk XSLT files but in these I can't find any reference to the headers. This is a snippet of the XML-file: record header

Re: [Dspace-tech] OAI output item header

2012-08-14 Thread helix84
Hi Jacob, the header generation is buried in the OAICat library [1] which DSpace uses for this. It's not a simple XSLT transformation there, you would need to modify some Java code of OAICat, rebuild OAICat, update the oaicat dependency in DSpace and rebuild DSpace. However, there's now OAI 2.0