Thanks, Terry!

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 sábado, 21 de setembro de 2019 15:01:36 UTC-3, Terry Brady escreveu:
>
> In our local theme, we have customized the item display page to present 
> external links that we place in dc.relation.uri.
>
> We use this approach for simple links to documents and to trigger the 
> embedding of our streaming media player.
>
> We also allow for simple markdown to be embedded in dc.description.
>
> Terry
>
> On Fri, Sep 20, 2019 at 5:02 PM Bruno Nocera Zanette <[email protected] 
> <javascript:>> wrote:
>
>> Thanks for the answer, Karlen.
>> That's a very interesting solution, especially because it doesn't require 
>> any modification in the src. I'll try it out to check if it fits my case.
>>
>> Em quinta-feira, 19 de setembro de 2019 10:09:09 UTC-3, Karlen Chase 
>> escreveu:
>>>
>>> Hello, Bruno:
>>>
>>> For this specific use case, I upload an .html file that contains a 
>>> redirect to the full DOI (or other persistent URL).
>>>
>>> I create this in a plain-text editor and save it with the .html file 
>>> extension: 2018-05-23-articlelink_chase_001.html
>>>
>>> <html><head>
>>> <title>UBIR to publisher redirect</title>
>>> <META http-equiv="refresh" content="0;URL=
>>> https://doi.org/10.1080/15398285.2012.674000";>
>>> </head>
>>> <body bgcolor=#ffffff>
>>> <center> one moment please
>>> </center>
>>> </body>
>>>
>>> Just replace "UBIR" with the name of your repository, and of course, 
>>> replace the persistent URL.
>>>
>>> Thanks,
>>> Karlen Chase
>>> UB Institutional Repository administrator
>>> Scholarly Publishing Specialist
>>> University Libraries
>>> University at Buffalo
>>>
>>>
>>>
>>> On Wednesday, September 18, 2019 at 1:44:53 PM UTC-4, Bruno Nocera 
>>> Zanette wrote:
>>>>
>>>> Going a bit further, how can i manually add external links instead of 
>>>> uploading files?
>>>> For instance, just as it happens when using OAI Harvester with 
>>>> metadata-only option activated. Is it possible?
>>>> Thanks!
>>>>
>>>> Em quarta-feira, 4 de setembro de 2019 19:00:04 UTC-3, Diego Spano 
>>>> escreveu:
>>>>>
>>>>> Hi David, you have to configure this option in dspace.cfg or local.cfg 
>>>>> file:
>>>>>
>>>>> # Whether or not we REQUIRE that a file be uploaded
>>>>> # during the 'Upload' step in the submission process
>>>>> # Defaults to true; If set to 'false', submitter has option to skip 
>>>>> upload
>>>>> webui.submit.upload.required = false
>>>>>
>>>>> Hope this helps.
>>>>> Diego
>>>>>
>>>>>
>>>>> *Diego Spano* *Director de Proyectos, Prodigio Consultores*
>>>>> Tel: (54 11) 5274-8413 
>>>>>
>>>>> Argentina
>>>>> [email protected] | www.prodigioconsultores.com
>>>>> Contact me: [image: Skype] diegospano
>>>>> <http://www.linkedin.com/in/diegospano>
>>>>>
>>>>>
>>>>>
>>>>> El mié., 4 de sep. de 2019 a la(s) 18:42, David Bigwood (
>>>>> [email protected]) escribió:
>>>>>
>>>>>> I'd like to enter only the metadata for one of our publications, it 
>>>>>> contains copyrighted materials. However, when I go through the steps if 
>>>>>> I 
>>>>>> try to skip the Upload Files I get the message "* The item must 
>>>>>> contain at least one file." 
>>>>>>
>>>>>>   
>>>>>>
>>>>>> Is there a way around this?
>>>>>>
>>>>>>   
>>>>>>
>>>>>> Thanks, 
>>>>>>
>>>>>> David Bigwood 
>>>>>>
>>>>>> [email protected] 
>>>>>>
>>>>>> Regional Planetary Image Facility/Library 
>>>>>>
>>>>>> Lunar and Planetary Institute 
>>>>>>
>>>>>> https://www.facebook.com/RPIFN/ 
>>>>>>
>>>>>> https://repository.hou.usra.edu/
>>>>>>
>>>>>> -- 
>>>>>> 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 Community" 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-community/d73f835f-f643-4e0c-927a-fdacb8bf0ae3%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/dspace-community/d73f835f-f643-4e0c-927a-fdacb8bf0ae3%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>> 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 Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dspace-community/6adbc988-6f3b-4462-afb1-30090cfa8ea8%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/dspace-community/6adbc988-6f3b-4462-afb1-30090cfa8ea8%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> -- 
> Sent from Gmail Mobile
>

-- 
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 Community" 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-community/55bd41ee-4c04-4eab-a4fe-8eddc74a1f30%40googlegroups.com.

Reply via email to