[dspace-tech] How can I migrate data to DSpace

2016-06-09 Thread Bobbi Prathama
Hai, i have a biblography file export from slims wit format csv. How do i 
import this file to DSpace?

Please Answer, Thanks




Best Regard, 



Bobby Pratama

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Dspace 5 - is there a cross reference where NAME went? Collection name, bitstream name, etc?

2016-06-09 Thread Tom Avino
Since the Dspace upgrade from 3.3 to 5.5, I can no longer find some of the 
"name" fields.  I have some custom SQL that needs to reference these. 
 Specifically BITSTREAM.NAME, COLLECTION.NAME, COMMUNITY.NAME.  Are there 
by chance any VIEWS created for these to simplify some of my SQL scritps?

Thanks,

Tom Avino 

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Insert "type" on the facet search

2016-06-09 Thread genevieve . turner
Hi Lucas,

I'm not entirely sure where you are trying to insert the facet but in our 
configuration for the searchFilterType we have 
org.dspace.discovery.configuration.DiscoverySearchFilterFacet for the class 
property instead of DiscoverySearchFilter.  We have also the set the 
following properties in addition to what you have in this section




If you want it to be one of the 'Discovery' boxes on a page you will need 
to add it to the 'sidebarFacets' for that sections configuration.

We also have configured:
webui.browse.index.5 = type:metadata:dc.type:text

Though I can't remember if this was to display it in the 'Browse items by', 
or to add it to the drop down list on the browse page.

On Thursday, 9 June 2016 23:22:37 UTC+10, Lucas angelo wrote:
>
> Hi, I am having trouble inserting "type" on the facet search. I am using 
> version 5.3 and jspui interface. Até o momento e fiz o seguinte no 
> discovery.xml:
>
>
>
>
>
> 
>  ref="defaultTagCloudFacetConfiguration"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
>
>
>
>  
>  ref="homepageTagCloudFacetConfiguration"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>
>
>
>
>  class="org.dspace.discovery.configuration.DiscoverySearchFilter">
> 
> 
> 
> dc.type
> 
> 
> 
>
>
>
> After, I run ./dspace index-discovery -f, but did not work. Can anyone 
> tell if what I did  above in discovery.xml is correct or if it can be made 
> easier. 
>
> Thanks in advance.
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Is this the correct command to update item metadata through REST API?

2016-06-09 Thread Tao Zhao
Thank you very much! This is very helpful.

On Thursday, June 9, 2016 at 1:56:32 PM UTC-5, helix84 wrote:
>
> Seems like you're running into this issue because you're running DSpace 
> 5.3:
>
> https://jira.duraspace.org/browse/DS-2692
>
> It is described here in comments:
>
> https://github.com/DSpace/DSpace/pull/1007
>
> The solution would be to upgrade to 5.4 (or better, to 5.5 which includes 
> a critical security fix for XMLUI).
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
>
> On Thu, Jun 9, 2016 at 6:40 PM, Tao Zhao  > wrote:
>
>> Just found out what happened:
>>
>> The actual metadata has been changed after the command was executed. I 
>> can see the updated metadata if I open the web page with the browser with 
>> the handle ID.
>>
>> However, if I execute the command curl 
>> https://abcd.org/rest/items/39850/metadata I still get the old metadata 
>> information.
>>
>> Anyone can help me?
>>
>> Thanks.
>>
>>
>> On Thursday, June 9, 2016 at 10:15:44 AM UTC-5, Tao Zhao wrote:
>>>
>>> curl -X PUT -H "Content-Type: application/json" -H "Accept: 
>>> application/json" -H "rest-dspace-token: 
>>> b2fcc846-64fa-42b4-a21a-040caac986db" --data '[{"key":"dwc.npdg.homestate", 
>>> "value":"OK", "language":""}]' 
>>> https://abcd.org/rest/items/39850/metadata
>>>
>>> I tried this but it did not give me any response information and either 
>>> change the metadata.
>>>
>>> Thanks a lot,
>>>
>>> Tao
>>>
>> -- 
>> 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 dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Bad Characters making OAI returning mal formed XML

2016-06-09 Thread Stuart A. Yeates
The issue may be that the code blocks in question are not supported by the
version of java in use. Different versions of java support different
versions of unicode which include different sets of code blocks. Please
include the exact version of java and the code point / code block in any
bug reports.

For example, for a long time 'Linear B' was a problem for us, but now it's
not.

cheers
stuart

--
...let us be heard from red core to black sky

On Thu, Jun 9, 2016 at 11:09 PM, Tiago Guimarães <
tiagommguimarae...@gmail.com> wrote:

> DB is in UTF.
> Note that there is no error while using the JSPUI, only when trying to
> harvest the OAI, does that error appear.
>
> The log has that line that i posted:
> com.ctc.wstx.exc.WstxParsingException: Illegal character entity:
> expansion character (code 0xdbc0) not a valid XML character
>
> The really weird thing is that char code is not on the interval for
> invalid xml chars in the w3c documentation.
>
> From my understanding, this errors appear when somebody copy and pastes
> the the abstract from some pdf and carry over some weird chars.
>
>
> Em quinta-feira, 9 de junho de 2016 12:02:17 UTC+1, Luiz dos Santos
> escreveu:
>>
>> Hi,
>>
>>To me it seems a charset problem, are you sure that the database is
>> UTF-8? Do you see any error in the log?
>>
>> Best
>> Luiz
>>
>> On Thursday, June 9, 2016, Tiago Guimarães 
>> wrote:
>>
>>> Hi all,
>>>
>>>
>>> I'm having problems with bad characters in OAI.
>>>
>>>
>>> It's the same as this JIRA ticket:
>>> https://jira.duraspace.org/projects/DS/issues/DS-2806
>>>
>>>
>>> this is a problem that is appearing here, basicaly, OAI returns
>>> mal-formed XML because of weird chars
>>>
>>> Example:  https://i.gyazo.com/22b7f355b0e71b830ec08378a9076c34.png
>>>
>>> Shouldn't dspace take care of that? At least warn the User when he
>>> pastes invalid chars when deposit an item.
>>>
>>>
>>> DSpace should probably have a feature that detects characters that break
>>> the OAI XML. I'm up to creating a PR that does that, but i need guidance.
>>>
>>>
>>>
>>> Also, according to this https://www.w3.org/TR/REC-xml/#NT-Char the char
>>> 0xdbc0 should be valid to XML, but OAI is giving me this:
>>> com.ctc.wstx.exc.WstxParsingException: Illegal character entity: expansion
>>> character (code 0xdbc0) not a valid XML character
>>>
>>> --
>>> 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 dspace-tech+unsubscr...@googlegroups.com.
>>> To post to this group, send email to dspace-tech@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: trouble with a patch

2016-06-09 Thread Tim Donohue

Hi Jose,

One other thing to check. You haven't mentioned what version of DSpace 
you are using. That bug fix is *only* applicable to DSpace 5.x, as it 
fixes a *new bug* that was accidentally introduced in 5.0.  So, if you 
are not yet on 5.0, then there's no need to apply this fix.


- Tim


On 6/9/2016 2:30 PM, Peter Dietz wrote:

Jose,

Not sure what the issue is. But this PR was against master at some 
point, which might be different than your current branch, so there 
could be some other semi-relevant changes that you are missing. Also, 
this PR's commit activity shows something weird of commits reverting 
commits. You might need to investigate that.


One doesn't usually use the word patch when using GitHub.

Though, you can obtain the "patch", by appending ".patch" to the pull 
request.

https://github.com/DSpace/DSpace/pull/999.patch

There is also cherry-picking, and there is no way to cherry-pick a PR, 
but instead you have to cherry-pick commits. This PR has some weird 
history of it, as there are three commits, which one reverts things... 
Maybe you need all three commits ?

Something like:
git cherry-pick b7727a0
git cherry-pick 5010d7f
git cherry-pick 88ed31d

I would also compare your current file with: 
https://github.com/christian-scheible/DSpace/blob/88ed31d1470049cfd325b9fb7298f3d9aa1802fb/dspace-api/src/main/java/org/dspace/app/util/GoogleMetadata.java


(diff, diffmerge, meld, ...)

And/or open your GoogleMetadata.java in an IDE to help determine 
missing imports.




Peter Dietz
Longsight
www.longsight.com 
pe...@longsight.com 
p: 740-599-5005 x809

On Thu, Jun 9, 2016 at 2:43 PM, Jose Blanco > wrote:


I'm still stuck on this one.  I wonder what happens with the code
in dspace-api?  GoogleMetadata.java is there.  I keep thinking
that something needs to be cleared.

-Jose

On Wed, Jun 8, 2016 at 2:21 PM, Jose Blanco mailto:blan...@umich.edu>> wrote:

I wonder if I have to clear the java memory?  It seems like
it's looking for Set when it should be looking for Collection?

On Wed, Jun 8, 2016 at 2:00 PM, Jose Blanco mailto:blan...@umich.edu>> wrote:

I'm working on incorporating this patch:

https://github.com/DSpace/DSpace/pull/999

I changed the file indicated in the patch in my
development environment, then  I did a build and update,
and I was getting this error:

2016-06-07 10:31:12,110 ERROR
org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter @
Serious Error Occurred Processing Request!

org.springframework.web.util.NestedServletException:
Handler processing failed; nested exception is
java.lang.NoSuchMethodError:
org.dspace.app.util.GoogleMetadata.getMappings()Ljava/util/Set;


which I think originated from:

Caused by: java.lang.NoSuchMethodError:
org.dspace.app.util.GoogleMetadata.getMappings()Ljava/util/Set;

at

org.dspace.app.xmlui.aspect.artifactbrowser.ItemViewer.addPageMeta(ItemViewer.java:329)


I was uncertain whether I had to change anything else,
other than the file indicated on the PR, but Tim assured
me that was it, so I did a rebuild just to try it again
and then the error went away and it's working great. 
Today I went to release the prod with the same code and

I'm getting the same error I was initially getting. I'm
confused why it did not work. I guess if I knew why it did
not work the after the 1st built, and then it worked in
dev, I would have a better handle on the problem.  Any
guesses?


Thank you!  Jose



-- 
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 dspace-tech+unsubscr...@googlegroups.com
.
To post to this group, send email to dspace-tech@googlegroups.com
.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
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 dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
Tim Do

Re: [dspace-tech] Re: trouble with a patch

2016-06-09 Thread Peter Dietz
Jose,

Not sure what the issue is. But this PR was against master at some point,
which might be different than your current branch, so there could be some
other semi-relevant changes that you are missing. Also, this PR's commit
activity shows something weird of commits reverting commits. You might need
to investigate that.

One doesn't usually use the word patch when using GitHub.

Though, you can obtain the "patch", by appending ".patch" to the pull
request.
https://github.com/DSpace/DSpace/pull/999.patch

There is also cherry-picking, and there is no way to cherry-pick a PR, but
instead you have to cherry-pick commits. This PR has some weird history of
it, as there are three commits, which one reverts things... Maybe you need
all three commits ?
Something like:
git cherry-pick b7727a0
git cherry-pick 5010d7f
git cherry-pick 88ed31d

I would also compare your current file with:
https://github.com/christian-scheible/DSpace/blob/88ed31d1470049cfd325b9fb7298f3d9aa1802fb/dspace-api/src/main/java/org/dspace/app/util/GoogleMetadata.java

(diff, diffmerge, meld, ...)

And/or open your GoogleMetadata.java in an IDE to help determine missing
imports.



Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Thu, Jun 9, 2016 at 2:43 PM, Jose Blanco  wrote:

> I'm still stuck on this one.  I wonder what happens with the code in
> dspace-api?  GoogleMetadata.java is there.  I keep thinking that something
> needs to be cleared.
>
> -Jose
>
> On Wed, Jun 8, 2016 at 2:21 PM, Jose Blanco  wrote:
>
>> I wonder if I have to clear the java memory?  It seems like it's looking
>> for Set when it should be looking for Collection?
>>
>> On Wed, Jun 8, 2016 at 2:00 PM, Jose Blanco  wrote:
>>
>>> I'm working on incorporating this patch:
>>>
>>> https://github.com/DSpace/DSpace/pull/999
>>>
>>> I changed the file indicated in the patch in my development environment,
>>> then  I did a build and update, and I was getting this error:
>>>
>>> 2016-06-07 10:31:12,110 ERROR
>>> org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter @ Serious Error
>>> Occurred Processing Request!
>>>
>>> org.springframework.web.util.NestedServletException: Handler processing
>>> failed; nested exception is java.lang.NoSuchMethodError:
>>> org.dspace.app.util.GoogleMetadata.getMappings()Ljava/util/Set;
>>>
>>>
>>> which I think originated from:
>>>
>>> Caused by: java.lang.NoSuchMethodError:
>>> org.dspace.app.util.GoogleMetadata.getMappings()Ljava/util/Set;
>>>
>>> at
>>> org.dspace.app.xmlui.aspect.artifactbrowser.ItemViewer.addPageMeta(ItemViewer.java:329)
>>>
>>>
>>> I was uncertain whether I had to change anything else, other than the
>>> file indicated on the PR, but Tim assured me that was it, so I did a
>>> rebuild just to try it again and then the error went away and it's working
>>> great.  Today I went to release the prod with the same code and I'm getting
>>> the same error I was initially getting.  I'm confused why it did not work.
>>> I guess if I knew why it did not work the after the 1st built, and then it
>>> worked in dev, I would have a better handle on the problem.  Any guesses?
>>>
>>>
>>> Thank you!  Jose
>>>
>>
>>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Customize Item submission form

2016-06-09 Thread Nada Abo-Eita

Dear DSpace Community, 

I am looking for a way to customize the item submission workflow steps based on 
two parameters , the collection handle and a question that answered by end user 
( yes/no) before starting the workflow steps. For example if the user answer 
this question with NO and coll handle = X then render and use the customized 
workflow steps . 

Could you please help me on how can I add additional conditional parameter ( 
question answer ) and based on that do the correct rendering of the steps  ? 

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Is this the correct command to update item metadata through REST API?

2016-06-09 Thread helix84
Seems like you're running into this issue because you're running DSpace 5.3:

https://jira.duraspace.org/browse/DS-2692

It is described here in comments:

https://github.com/DSpace/DSpace/pull/1007

The solution would be to upgrade to 5.4 (or better, to 5.5 which includes a
critical security fix for XMLUI).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



On Thu, Jun 9, 2016 at 6:40 PM, Tao Zhao  wrote:

> Just found out what happened:
>
> The actual metadata has been changed after the command was executed. I can
> see the updated metadata if I open the web page with the browser with the
> handle ID.
>
> However, if I execute the command curl
> https://abcd.org/rest/items/39850/metadata I still get the old metadata
> information.
>
> Anyone can help me?
>
> Thanks.
>
>
> On Thursday, June 9, 2016 at 10:15:44 AM UTC-5, Tao Zhao wrote:
>>
>> curl -X PUT -H "Content-Type: application/json" -H "Accept:
>> application/json" -H "rest-dspace-token:
>> b2fcc846-64fa-42b4-a21a-040caac986db" --data '[{"key":"dwc.npdg.homestate",
>> "value":"OK", "language":""}]' https://abcd.org/rest/items/39850/metadata
>>
>> I tried this but it did not give me any response information and either
>> change the metadata.
>>
>> Thanks a lot,
>>
>> Tao
>>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: trouble with a patch

2016-06-09 Thread Jose Blanco
I'm still stuck on this one.  I wonder what happens with the code in
dspace-api?  GoogleMetadata.java is there.  I keep thinking that something
needs to be cleared.

-Jose

On Wed, Jun 8, 2016 at 2:21 PM, Jose Blanco  wrote:

> I wonder if I have to clear the java memory?  It seems like it's looking
> for Set when it should be looking for Collection?
>
> On Wed, Jun 8, 2016 at 2:00 PM, Jose Blanco  wrote:
>
>> I'm working on incorporating this patch:
>>
>> https://github.com/DSpace/DSpace/pull/999
>>
>> I changed the file indicated in the patch in my development environment,
>> then  I did a build and update, and I was getting this error:
>>
>> 2016-06-07 10:31:12,110 ERROR
>> org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter @ Serious Error
>> Occurred Processing Request!
>>
>> org.springframework.web.util.NestedServletException: Handler processing
>> failed; nested exception is java.lang.NoSuchMethodError:
>> org.dspace.app.util.GoogleMetadata.getMappings()Ljava/util/Set;
>>
>>
>> which I think originated from:
>>
>> Caused by: java.lang.NoSuchMethodError:
>> org.dspace.app.util.GoogleMetadata.getMappings()Ljava/util/Set;
>>
>> at
>> org.dspace.app.xmlui.aspect.artifactbrowser.ItemViewer.addPageMeta(ItemViewer.java:329)
>>
>>
>> I was uncertain whether I had to change anything else, other than the
>> file indicated on the PR, but Tim assured me that was it, so I did a
>> rebuild just to try it again and then the error went away and it's working
>> great.  Today I went to release the prod with the same code and I'm getting
>> the same error I was initially getting.  I'm confused why it did not work.
>> I guess if I knew why it did not work the after the 1st built, and then it
>> worked in dev, I would have a better handle on the problem.  Any guesses?
>>
>>
>> Thank you!  Jose
>>
>
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Is this the correct command to update item metadata through REST API?

2016-06-09 Thread Tao Zhao
Just found out what happened:

The actual metadata has been changed after the command was executed. I can 
see the updated metadata if I open the web page with the browser with the 
handle ID.

However, if I execute the command curl 
https://abcd.org/rest/items/39850/metadata I still get the old metadata 
information.

Anyone can help me?

Thanks.

On Thursday, June 9, 2016 at 10:15:44 AM UTC-5, Tao Zhao wrote:
>
> curl -X PUT -H "Content-Type: application/json" -H "Accept: 
> application/json" -H "rest-dspace-token: 
> b2fcc846-64fa-42b4-a21a-040caac986db" --data '[{"key":"dwc.npdg.homestate", 
> "value":"OK", "language":""}]' https://abcd.org/rest/items/39850/metadata
>
> I tried this but it did not give me any response information and either 
> change the metadata.
>
> Thanks a lot,
>
> Tao
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Is this the correct command to update item metadata through REST API?

2016-06-09 Thread Tao Zhao
curl -X PUT -H "Content-Type: application/json" -H "Accept: 
application/json" -H "rest-dspace-token: 
b2fcc846-64fa-42b4-a21a-040caac986db" --data '[{"key":"dwc.npdg.homestate", 
"value":"OK", "language":""}]' https://abcd.org/rest/items/39850/metadata

I tried this but it did not give me any response information and either 
change the metadata.

Thanks a lot,

Tao

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Error Dspace 5.5 when I browse by Titles, Author, and others.

2016-06-09 Thread pekynov . egpp
Hi,

I installed dspace 5.5 in ubuntu server 14.04, all is fine but when I 
browse the articles and books by Title, Author, and other filter, I have 
this message:

Expected mime type application/octet-stream but got text/html.HTTP Status 
403 -
--

*type* Status report

*message*

*description* *Access to the specified resource has been forbidden.*
--
Apache Tomcat/7.0.52 (Ubuntu)


Can you help me please.

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: DSpace 5.2 Add filter to search and facet

2016-06-09 Thread Lucas angelo
How I do to JSPUI Euler???

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Batch loading unicode metdata data

2016-06-09 Thread George Kozak
Stuart, et al:
It turns out the problem wasn't in DSpace.  I asked some additional
questions of the person who reported the problem to me and discovered that
it was* MY* code that was having a problem.  I had written a batch upload
script for our sys admins so they didn't have to execute the import script
from the command line.  It is* my *script that is failing on processing the
Unicode and creating the dublin_core.xml for uploading.  Sorry to bother
everyone.
George Kozak
Cornell University

On Wed, Jun 8, 2016 at 4:57 PM, Stuart A. Yeates  wrote:

> The documented batch uploading method works with unicode for us.
> Is Nepali a relatively recent addition to the Unicode standard? Unicode
> support is provided by the underlying java implementation and some of the
> more recently added scripts aren't supported. We've have issues with Linear
> B, for example.
>
> We validate files before uploading with  'xmllint'.  A commandline such as
>
> xmllint --noout dublin_core.xml
>
> will complete silently if dublin_core.xml is good XML and proper
> encoding, or complain if problems are seen.
>
> cheers
> stuart
>
> --
> ...let us be heard from red core to black sky
>
> On Thu, Jun 9, 2016 at 7:52 AM, George Kozak  wrote:
>
>> Hi...
>> I am using DSpace 5.5 (XMLUI - modified Mirage 2).  One of our Sys Admins
>> was given a bunch of files to upload using the batch loader (dspace
>> import).  The metadata is UNICODE formatted Nepali, and the batch loader
>> errors out processing the dublin_core.xml file with the UNICODE.  Is there
>> a way to upload UNICODE using the batch loader?
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924
>> g...@cornell.edu
>>
>> --
>> 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 dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Insert "type" on the facet search

2016-06-09 Thread Lucas angelo
Hi, I am having trouble inserting "type" on the facet search. I am using 
version 5.3 and jspui interface. Até o momento e fiz o seguinte no 
discovery.xml:
















   





 





















dc.type






After, I run ./dspace index-discovery -f, but did not work. Can anyone tell 
if what I did  above in discovery.xml is correct or if it can be made 
easier. 

Thanks in advance.

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Setting thumbnail

2016-06-09 Thread Lucas angelo
problem solved, to help other colleagues, I am posting the solution that 
was sent to me by a colleague in another group,  link:  
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Media_Filters/Thumbnails

Thank you all.

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Bad Characters making OAI returning mal formed XML

2016-06-09 Thread Tiago Guimarães
DB is in UTF.
Note that there is no error while using the JSPUI, only when trying to 
harvest the OAI, does that error appear.

The log has that line that i posted:  
com.ctc.wstx.exc.WstxParsingException: Illegal character entity: expansion 
character (code 0xdbc0) not a valid XML character

The really weird thing is that char code is not on the interval for invalid 
xml chars in the w3c documentation.

>From my understanding, this errors appear when somebody copy and pastes the 
the abstract from some pdf and carry over some weird chars.


Em quinta-feira, 9 de junho de 2016 12:02:17 UTC+1, Luiz dos Santos 
escreveu:
>
> Hi, 
>
>To me it seems a charset problem, are you sure that the database is 
> UTF-8? Do you see any error in the log?
>
> Best
> Luiz
>
> On Thursday, June 9, 2016, Tiago Guimarães  > wrote:
>
>> Hi all,
>>
>>
>> I'm having problems with bad characters in OAI.
>>
>>
>> It's the same as this JIRA ticket:  
>> https://jira.duraspace.org/projects/DS/issues/DS-2806
>>
>>
>> this is a problem that is appearing here, basicaly, OAI returns 
>> mal-formed XML because of weird chars
>>
>> Example:  https://i.gyazo.com/22b7f355b0e71b830ec08378a9076c34.png
>>
>> Shouldn't dspace take care of that? At least warn the User when he 
>> pastes invalid chars when deposit an item.
>>
>>
>> DSpace should probably have a feature that detects characters that break 
>> the OAI XML. I'm up to creating a PR that does that, but i need guidance.
>>
>>
>>
>> Also, according to this https://www.w3.org/TR/REC-xml/#NT-Char the char 
>> 0xdbc0 should be valid to XML, but OAI is giving me this: 
>> com.ctc.wstx.exc.WstxParsingException: Illegal character entity: expansion 
>> character (code 0xdbc0) not a valid XML character
>>
>> -- 
>> 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 dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Bad Characters making OAI returning mal formed XML

2016-06-09 Thread Luiz dos Santos
Hi,

   To me it seems a charset problem, are you sure that the database is
UTF-8? Do you see any error in the log?

Best
Luiz

On Thursday, June 9, 2016, Tiago Guimarães 
wrote:

> Hi all,
>
>
> I'm having problems with bad characters in OAI.
>
>
> It's the same as this JIRA ticket:
> https://jira.duraspace.org/projects/DS/issues/DS-2806
>
>
> this is a problem that is appearing here, basicaly, OAI returns
> mal-formed XML because of weird chars
>
> Example:  https://i.gyazo.com/22b7f355b0e71b830ec08378a9076c34.png
>
> Shouldn't dspace take care of that? At least warn the User when he pastes
> invalid chars when deposit an item.
>
>
> DSpace should probably have a feature that detects characters that break
> the OAI XML. I'm up to creating a PR that does that, but i need guidance.
>
>
>
> Also, according to this https://www.w3.org/TR/REC-xml/#NT-Char the char
> 0xdbc0 should be valid to XML, but OAI is giving me this:
> com.ctc.wstx.exc.WstxParsingException: Illegal character entity: expansion
> character (code 0xdbc0) not a valid XML character
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com
> 
> .
> To post to this group, send email to dspace-tech@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Embargo and metadata dc.rights.accesRights in DSpace 5.5

2016-06-09 Thread Franziska Ackermann

Hi,

If the information is just needed for OpenAIRE, could you use the 
crosswalk to fetch it dynamically ?


I have seen this for various information on bitstreams in ore.xsl and 
mets.xsl, e.g. format, URL, size, checksum, ...
Could this be done for the access condition as well or is it stored 
differently ?


Best regards,
Franziska//Ackermann/
/


Am 09.06.2016 um 10:47 schrieb emilio lorenzo:


Hola Mariaangels

The best way is to program a curation task that reviews 
file-permisions, and suggest (or do) such change when that condition 
is detected.


Best luck

Emilio




El 09/06/2016 a las 10:27, Mariangels escribió:

Hola,

I'm working with DSPace 5.5 and xmlui Mirage theme.

In our repository we need always to fill the metadata:

/*dc.rights.accesRights*/

with this value:

/info:eu-repo/semantics/embargoedAccess/

when an item is embargoed.

When the embargoed is finished//I need to change this value and put:

/info:eu-repo/semantics/openAccess

/can DSpace 5.5 do this automatically when an embargo is finished?

Thanks in advance.










--
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 dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
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 dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Embargo and metadata dc.rights.accesRights in DSpace 5.5

2016-06-09 Thread emilio lorenzo

Hola Mariaangels

The best way is to program a curation task that reviews file-permisions, 
and suggest (or do) such change when that condition is detected.


Best luck

Emilio




El 09/06/2016 a las 10:27, Mariangels escribió:

Hola,

I'm working with DSPace 5.5 and xmlui Mirage theme.

In our repository we need always to fill the metadata:

/*dc.rights.accesRights*/

with this value:

/info:eu-repo/semantics/embargoedAccess/

when an item is embargoed.

When the embargoed is finished//I need to change this value and put:

/info:eu-repo/semantics/openAccess

/can DSpace 5.5 do this automatically when an embargo is finished?

Thanks in advance.










--
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 dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Bad Characters making OAI returning mal formed XML

2016-06-09 Thread Tiago Guimarães


Hi all,


I'm having problems with bad characters in OAI.


It's the same as this JIRA ticket:  
https://jira.duraspace.org/projects/DS/issues/DS-2806


this is a problem that is appearing here, basicaly, OAI returns mal-formed 
XML because of weird chars

Example:  https://i.gyazo.com/22b7f355b0e71b830ec08378a9076c34.png

Shouldn't dspace take care of that? At least warn the User when he pastes 
invalid chars when deposit an item.


DSpace should probably have a feature that detects characters that break 
the OAI XML. I'm up to creating a PR that does that, but i need guidance.



Also, according to this https://www.w3.org/TR/REC-xml/#NT-Char the char 
0xdbc0 should be valid to XML, but OAI is giving me this: 
com.ctc.wstx.exc.WstxParsingException: Illegal character entity: expansion 
character (code 0xdbc0) not a valid XML character

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Additional button in sidebar

2016-06-09 Thread Franziska Ackermann

Hi,

Thanks for your code. I'd like the button to be displayed in the sidebar 
on every(!) page.
How would I change the code to achieve this (leaving out @n=... doesn't 
have the desired effect) ?


Best regards,
Franziska Ackermann



Am 08.06.2016 um 12:22 schrieb ORIOL OLIVÉ COMADIRA:

Sorry, I make a mistake!
I forgot the @:






-- Original Message --
From: "ORIOL OLIVÉ COMADIRA" >
To: "Franziska Ackermann" >; "DSpace Technical Support" 
mailto:dspace-tech@googlegroups.com>>

Sent: 08/06/2016 12:01:14
Subject: Re: [dspace-tech] Additional button in sidebar

Hi Franziska,
you can do it by adding some code in navigation.xsl
for example something like this:

 

Best,
-- Original Message --
From: "Franziska Ackermann" >
To: "DSpace Technical Support" >

Sent: 08/06/2016 10:14:28
Subject: [dspace-tech] Additional button in sidebar

Hi,
To make it easier for users to start a new submission, I'd like to add
a
button in the sidebar before the "BROWSE" block (Mirage2).
Here a examples of what I mean:
https://mcstor.library.milligan.edu/
http://repositorioseea.es/
I'd be happy about hints on how to proceed.
Best regards,
Franziska Ackermann
--
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 dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

--
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 dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Embargo and metadata dc.rights.accesRights in DSpace 5.5

2016-06-09 Thread Mariangels
Hola,

I'm working with DSPace 5.5 and xmlui Mirage theme.

In our repository we need always to fill the metadata: 

*dc.rights.accesRights*

with this value:

*info:eu-repo/semantics/embargoedAccess*

when an item is embargoed.

When the embargoed is finished I need to change this value and put:



*info:eu-repo/semantics/openAccess*can DSpace 5.5 do this automatically 
when an embargo is finished?

Thanks in advance.







-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.