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 basically,
you'll need to change the order of the list of sets, populating it firstly
with virtual sets (also called static sets) leaving the dynamic sets
(DSpace sets at the end).

Then you'll need to change the dspace-oai/dspace-oai-api/pom.xml in order
to use your overridden implementation. You can also propose a change(pull
request) to the official library (https://github.com/lyncode/xoai), it
could support a Sortable list of sets, by default it would do nothing, but
each data source implementation could provide a sortable implementation.

Another solution would be a XSL proxy.

On 20 August 2012 14:16, helix84 <[email protected]> wrote:

> On Mon, Aug 20, 2012 at 12:22 PM, Jacob Andersson
> <[email protected]> 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 mention of the item header, so I'm assuming it is generated elsewhere?
>
> OK, my mistake. I actually tried it now. It seems the metadataFormats
> templates simply do not get the header at their input, only metadata.
> I'm sure Lyncode will be able to advise you what you should do
> instead.
>
> Regards,
> ~~helix84
>



-- 
Thanks,
DSpace Department
*Lyncode*: Official
website<http://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2F&sa=D&sntz=1&usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ>

[image: Follow us on
Facebook]<http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncode&sa=D&sntz=1&usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q>
<http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncode&sa=D&sntz=1&usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to