I almost have the solution to the question below:
In the Create view Import Options (in Expert mode) set OAItype to
"assigned" and OAImetadata to ex.File.FileName.
Now when you download from this collection through OAI-PMH, the
filenames are the same as in the original collection except for a "-1"
at the end (e.g. xxx.pdf becomes xxx-1.pdf).
This is much better as the user can understand the name, but it would be
still better if the "-1" could be optionally taken off.
Best regards, John
On 26/08/2011 14:23, John Rose wrote:
> Fine Anupama, but please see below:
> On 23/08/2011 04:25, Greenstone Team wrote:
>> > P.S. One annoyance is that the files served by OAI server have a hash
>> code as a name rather than the original name. I guess that this can be
>> fixed by either the build parameters and/or the OAI mapping - I will
>> experiment but would appreciate a hint from your side.
>> I don't know how this may be done. I'll try to remember to ask Dr
>> Bainbridge about it. He may know.
> OK, waiting.
>> In the meantime, try using GLI's Design panel to Configure the various
>> plugins you use in your plugin pipeline to set all their "OIDType"
>> properties to "dirname". Be aware that the message reads in order for
>> the dirname (preceded by "J") to be used, each directory must contain
>> only a single document, so as to make its OID unique. Then check to see
>> whether the GS OAI server honours the doc IDs thus generated. (I suspect
>> it will.)
> I have my files in the import folder without directories for the files.
> Your method may well work fine, but many users may find it complicated
> and tedious? Thanks and best regards, John
>> John Rose wrote:
>>> OK Anupama, I have done a bit of testing with the Caveat-Emptor of
>>> What do you think of the above? Best regards, John
>>> P.S. One annoyance is that the files served by OAI server have a hash
>>> code as a name rather than the original name. I guess that this can be
>>> fixed by either the build parameters and/or the OAI mapping - I will
>>> experiment but would appreciate a hint from your side.
John B. Rose
1 Bis rue des Ch□tre-Sacs
92310 S□vres, France
Alternate email: email@example.com