Re-Posting my answer on dspace-commuity forum here just to give my final 
solution.

Based on your answers i've discovered that ORE is nothing more than a 
special XML bitstream, that define bitstreams as links. So i decided to 
write a Python class to create a "Simple Format Archive" packager using 
OAI. The packager receives a base URL and a handle and then make requests 
to OAI to gather item's metadata (DIM) and item's ORE information (ORE) and 
create a ZipFile with those infos. This ZipFile is ready to be uploaded to 
a repository using "Batch Import (ZIP)" option.

The code is in very early-development stage but it already does the job. 
Later it can become a real python extension, to accept a list of handles 
and different base url at once.

I've deployed it on heroku free plan just to test it. It can be accessed at:
https://dcorepackager.herokuapp.com/

And the source-code is stored at:
https://github.com/BrunoNZ/dc-ore-packager

Feel free to test it, and please let me know of any bug or suggestions.


Em sexta-feira, 20 de setembro de 2019 20:57:04 UTC-3, Bruno Nocera Zanette 
escreveu:
>
> Hey, também sou brasileiro!
> Eu ajudo na manutenção do repositório digital da UFPR.
> Só vou responder em inglês para respeitar as regras da comunidade.
>
> Thanks for the answer!
> I'm trying to find a way to that without changing the theme, because it's 
> necessary only for one small community in our repository. But if i can't 
> find how to do that i'll study your modifications to do the same. It seems 
> to work pretty well!! 
>
> Em quinta-feira, 19 de setembro de 2019 23:12:22 UTC-3, Fabricio Costa 
> escreveu:
>>
>> Hi, Bruno.
>>
>> We did that in JusLaboris (Brazil) by adding a new condition to Mirage2 
>> theme, item-view.xsl
>>
>> For example, if an item doesn't have a bitstream, the thumbnail gets its 
>> link from a given metadata. In our case, first "dc.relation.uri". 
>> Additionally, a message with the same link appears below thumbnail, where 
>> bitstream link usually is:
>>
>> https://hdl.handle.net/20.500.12178/32260
>>
>> Fabricio Costa
>>
>>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/d017c259-e71c-4d1e-a33b-3799e26f77e8%40googlegroups.com.

Reply via email to