Title: Message Title
|
|
In DSpace versions 3.X, and João Melo may correct me if I'm wrong, without patching XOAI library it won't be possible to achieve what you want. And the reason is simple: all the magic, i.e. resumption token building, is done in the XOAI library code and it isn't accessible (e.g. to set the expirationDate) through DSpace code. A simple egrep "resumptiontoken" -Ri * in the dspace-3_x branch will show you the few occurrances of the resumptiontoken string and none of them are related to the OAI Data Provider. But a closer look to com.lyncode.xoai.dataprovider.OAIDataProvider will surface a lot of ResumptionToken related code. In DSpace 4.X it seems fairly easy to achieve, as org.dspace.xoai.services.impl.xoai.DSpaceResumptionTokenFormatter belongs to DSpace code and it looks like the default ResumptionToken formatter (and perhaps the only one). Hope this will help you.
|
|
|
|
|
Hi all, I need to put expirationDate attribute in resumptionToken tag in OAI request but now it's impossible. In previous versions it is possible to change in configuration attribute AbstractCatalog.secondsToLive=86400. Somebody can help me? Best regards Raul Ruiz
|
|
|
|
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel