[dspace-tech] DSpace 5.5 XMLUI customizing

2016-08-08 Thread Aldo
Hi all,
I'm new to DSpace and DSpace XMLUI. How do I get rid of the right hand side 
menu (*Browse, My Account, Discover and RSS Feeds*?
Any help will be appreciated.

Regards,
Aldo


-- 
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 XMLUI - Add text and email to footer

2016-08-08 Thread Tom Avino
I am new to XMLUI.  We have been using JSPUI for years.  I am trying to 
simply add one line of text and 2 names and email addresses.  Does anyone 
know how I can do this?
I know XMLUI is very different, but this should not be rocket science.

Tom

-- 
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] Displaying manually-added thumbnails

2016-08-08 Thread Andrea Bollini

Hi John,

are the manually added thumbnails named as the original file + an 
additional ".jpg" ?


Are the existent thumbnails bitstreams in the bundle named "THUMBNAIL"?

can you share a screen of an item that shows such behavior?

Andrea


Il 08/08/2016 19:25, jdin...@brocku.ca ha scritto:

Hi there,

We run DSpace 5.0 with the XMLUI interface and a custom theme based on 
Mirage2. We use |org.dspace.app.mediafilter.JPEGFilter| as a scheduled 
task to automatically generate thumbnails


Recently, we added a new collection which already contains manually 
added thumbnails. We would like these existing thumbnails to display 
for items in this collection rather than automatically generated ones. 
However, when DSpace generates an automatic thumbnail, it displays in 
place of the existing thumbnail. The existing thumbnail does still 
remain a part of the item's thumbnail: bundle.


Is there any way to tell DSpace to prefer manually-added thumbnails 
where they exist? Or would it be better to use the "skip mode" 
of 
the media filter to tell DSpace not to generate any new thumbnails for 
this particular collection?


Thanks very much for any suggestions,
John

John Dingle
Digital Services and Liaison Librarian
Brock University

--
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.


--
Andrea Bollini
Chief Technology Innovation Officer

4Science,  www.4science.it
office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
mobile: +39 333 934 1808
skype: a.bollini
linkedin: andreabollini
orcid: -0002-9029-1854

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates

--
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] Displaying manually-added thumbnails

2016-08-08 Thread Alan Orth
Hi, John.

I'm only familiar with specifying thumbnails during batch upload using
SAFBuilder (ie, in the CSV, see the wiki below for how to specify the
bundle):

https://github.com/DSpace-Labs/SAFBuilder
https://github.com/DSpace-Labs/SAFBuilder/wiki

Otherwise, I usually just manually delete the "thumbnail of a
thumbnail" that is created when a user has uploaded a thumbnail into
the ORIGINAL bundle during item submission. I've got a note on my todo
list to find a way to batch delete all of these somehow some day.

On Mon, Aug 8, 2016 at 8:25 PM,   wrote:
> Hi there,
>
> We run DSpace 5.0 with the XMLUI interface and a custom theme based on
> Mirage2. We use org.dspace.app.mediafilter.JPEGFilter as a scheduled task to
> automatically generate thumbnails
>
> Recently, we added a new collection which already contains manually added
> thumbnails. We would like these existing thumbnails to display for items in
> this collection rather than automatically generated ones. However, when
> DSpace generates an automatic thumbnail, it displays in place of the
> existing thumbnail. The existing thumbnail does still remain a part of the
> item's thumbnail: bundle.
>
> Is there any way to tell DSpace to prefer manually-added thumbnails where
> they exist? Or would it be better to use the "skip mode" of the media filter
> to tell DSpace not to generate any new thumbnails for this particular
> collection?
>
> Thanks very much for any suggestions,
> John
>
> John Dingle
> Digital Services and Liaison Librarian
> Brock University
>
> --
> 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.



-- 
Alan Orth
alan.o...@gmail.com
https://englishbulgaria.net
https://alaninkenya.org
https://mjanja.ch
"In heaven all the interesting people are missing." ―Friedrich Nietzsche
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0

-- 
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: Setting a ResourcePolicy via REST API?

2016-08-08 Thread Creel, James Silas
Dear Holly,

We have had success updating the bitstream policies at the bitstream endpoint 
rather than the policy endpoint.  You can just embed the policy JSON in the 
bistream JSON as for example:

{"id":235,"name":"dissertation_0.pdf.txt","handle":null,"type":"bitstream","link":"/rest/bitstreams/235","expand":["parent","policies","all"],"bundleName":"TEXT","description":"ocr_text","format":"Text","mimeType":"text/plain","sizeBytes":43,"parentObject":null,"retrieveLink":"/bitstreams/235/retrieve","checkSum":{"value":"2b0144d81300a4a8c4f2a2a891280a84","checkSumAlgorithm":"MD5"},"sequenceId":-1,"policies":[{"action":"READ","groupId":"5","rpType":"TYPE_CUSTOM"}]}

That worked on my localhost at the /rest/bitstreams/{bitstream id} endpoint.

Best of luck,

James



From:  on behalf of Holly Becker 

Date: Thursday, August 4, 2016 at 3:58 PM
To: DSpace Technical Support 
Subject: [dspace-tech] Re: Setting a ResourcePolicy via REST API?

Hi,

That endpoint gives me item information, but doesn't include anything about 
bitstreams or policies.  Can you clarify your suggestion?

Thanks,
-Holly

On Tuesday, July 12, 2016 at 7:38:40 AM UTC-7, Evgeni Dimitrov wrote:
I think with curl you should do something like this:

curl -X GET -H "Content-Type: application/json" -H "rest-dspace-token: 
d4020530-ce01-471d-a474-5fb0cea04661" 
http://localhost:8080/rest/items/2


On Tuesday, July 12, 2016 at 1:46:18 AM UTC+3, Holly Becker wrote:
Hello all,

I'm trying to post bitstream policies to the REST API, and having trouble 
finding what the correct format for the ResourcePolicy is.  The documentation 
[1] says a ResourcePolicy is  
[{"id":317127,"action":"READ","epersonId":-1,"groupId":0,"resourceId":47166,"resourceType":"bitstream","rpDescription":null,"rpName":null,"rpType":"TYPE_INHERITED","startDate":null,"endDate":null}]
  This looks like the policies returned by /rest/bitstreams/?expand=policies  
However, when I post that policy or policies that look similar I get a 500 
server error [3] on a local install of DSpace 5.

On 
demo.dspace.org
 none of the bitstreams have policies, even when I add one in the GUI, and I 
get a 500 when querying 
https://demo.dspace.org/rest/bitstreams/?expand=policies
 When posting a policy, I get different behavior on 
demo.dspace.org.
  It gives a 400 error, but the same exception. [2]

Can someone point me towards more detailed documentation, or provide an 
explanation of what a ResourcePolicy is supposed to look like?  Is there a 
better or different way to set bitstream policies through the REST API or 
SWORD2 API?

Thanks,
-Holly Becker
Archivematica developer

[1] 
https://wiki.duraspace.org/display/DSDOC5x/REST+API

[2] To reproduce
curl -X POST 
https://demo.dspace.org/rest/bitstreams/ea41e143-0b2c-447a-a46d-681282c6ff9a/policy
 --data 
'[{"id":317127,"action":"READ","epersonId":-1,"groupId":0,"resourceId":47166,"resourceType":"bitstream","rpDescription":null,"rpName":null,"rpType":"TYPE_INHERITED","startDate":null,"endDate":null}]'
 -u 'dspacedemo+ad...@gmail.com:dspace' -H 'Content-type: application/json' -k
Response:
Can not deserialize instance of org.dspace.rest.common.ResourcePolicy out of 
START_ARRAY token
 at [Source: 
org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@43a44ac9;
 line: 1, column: 1]

Or (in Python2, requires 'requests' library):
import

[dspace-tech] Displaying manually-added thumbnails

2016-08-08 Thread jdingle
Hi there,

We run DSpace 5.0 with the XMLUI interface and a custom theme based on 
Mirage2. We use org.dspace.app.mediafilter.JPEGFilter as a scheduled task 
to automatically generate thumbnails

Recently, we added a new collection which already contains manually added 
thumbnails. We would like these existing thumbnails to display for items in 
this collection rather than automatically generated ones. However, when 
DSpace generates an automatic thumbnail, it displays in place of the 
existing thumbnail. The existing thumbnail does still remain a part of the 
item's thumbnail: bundle.

Is there any way to tell DSpace to prefer manually-added thumbnails where 
they exist? Or would it be better to use the "skip mode" 
of
 
the media filter to tell DSpace not to generate any new thumbnails for this 
particular collection?

Thanks very much for any suggestions,
John

John Dingle
Digital Services and Liaison Librarian
Brock University

-- 
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] Internal System Error

2016-08-08 Thread Claudia Jürgen

Hello Nor,

here are more infos about Troubleshooting
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error
especially how you can find the errors in the log files and thus provide
more information which will enable us to help you.

Check your database and email settings.
You can test them by running
[dspace]/bin/dspace test-email
[dspace]/bin/dspace database test

Hope this helps

Claudia Jürgen



Am 08.08.2016 um 03:39 schrieb Nor Hazira Mat Noh (HQ):

Hello,
How i can resolve this problem after installing Dspace? Sign-up new user
also didn't function..Hope someone can guide me to solve this problem

Internal System Error

The system has experienced an internal error. Please try to do what you
were doing again, and if the problem persists, please contact us so we can
fix the problem.



--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform 
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen 
Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is 
solely intended for the recipient. If you are not the intended recipient of 
this e-mail please contact the sender and delete this message. Thank you. 
Without prejudice of e-mail correspondence, our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.

--
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] File visits during workflow / usage statistics

2016-08-08 Thread Franziska Ackermann

Dear list,

It seems that the "file visits" section in the XMLUI Usage Statistics 
takes visits into account that were done before(!) an ITEM was approved 
for entry into the archive. (DSpace 5.5, Mirage2).


This can lead to empty entries when files were substituted during the 
workflow. Example:



The empty entries stand for the names of the files that were opened 
during the workflow, and substituted by the user after his submission 
was rejected.


Do you agree that file visits should be counted from the point when the 
item is accepted into the archive? Otherwise this would mean a lot of 
empty entries when items are regularly rejected and its files 
substituted. These entries unfortunately don't have a meaning to users 
who visit the Usage Statistics Page.


Another matter is how to deal with files who are deleted at a later 
stage, after the approval of the item. At the moment DSpace displays an 
empty entry for deleted files too. In this second case it could make 
sense to keep track of the deleted file, because it used to be public. 
Some meaning could be added to help users understand the usage 
statistics better, e.g. [deprecated file].


I am looking forward to your views on this.

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.