Re: [dspace-tech] full item view mirage 2

2019-06-14 Thread Michael Plate

Hi Massimiliano,

Am 13.06.19 um 20:45 schrieb Massimiliano CILURZO:

Hi Michael,
       There is somthing very strange with the same messages.xml of my 
previous version 5.6 we can't see the correct label
I tried the original messages.xml and messages_lang,xml of the mirage2 
theme and we have the same error.
Another strange thing is that In the short view we see the correct label 
for Author.

In dspace 6.3 we have to do a different configuation?

[…]

I'm  out of inspiration now.
We upgraded from 1.7.2 to 5.10 ½ year ago, and also tested 6.x - but we 
felt not satisfied, we had much of performance problems, so we used 5.10 
instead.

But I can't remember any problems with the message files, so.

Michael


--
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/85be21c4-ab60-7ea1-4708-f99f0e7280a8%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Re: Display Title in Discovery jspui

2019-06-14 Thread Claudia Jürgen

Hello,

there are 2 message catalogues one for the JSPUI and API
(Messages.properties) and one for the XMLUI (messages.xml)
If you want the change for the jspui you got to adjust the
Messages.properties file.

Hope this helps

Claudia Jürgen


Am 12.06.2019 um 09:37 schrieb Arunendra M. Biswas:

Can anybody please provide help on this? I am stuck.

On Sunday, May 19, 2019 at 9:25:48 PM UTC+5:30, Arunendra M. Biswas wrote:

I have made the necessary modifications in discovery.xml .The "Title"
appears in xmlui sidebar but in jspui, in place of "Title", it is
displayed:???jsp.search.facet.refine.title???
What to do?



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

--
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/10cf6cb4-4553-0c59-13e8-84223ecd6ed3%40tu-dortmund.de.


[dspace-tech] Extract embargo information using Java code

2019-06-14 Thread Jun Won Jung
Hello all,

We need some statistics from DSpace 5.x .
The statistics should include type of each item, whether the item(or some 
of it's attachments) is embargoed.

To solve it we made a simple Java application using 
'org.dspace.core.Context' & 'org.dspace.conent.Item'.

Firstly, I tried to extract the number of attached files in each item with 
the following code

ItemIterator items = Item.findAll(context);
...
while (items.hasNext()) {
Item item = items.next();

if (item.isArchived() && !item.isWithdrawn()) {

Bitstream[] bitstreams = null;
if((item.getBundles() != null) && (item.getBundles().length > 0) ){
ArrayList allBundles = new 
ArrayList(Arrays.asList(item.getBundles()));
Bundle currentBundle = allBundles.get( item.getBundles().length - 1 );
//  <- Is this the lastest Bundle of Item ? 
bitstreams = currentBundle.getBitstreams();
} 

There is no method for Item object like 'getCurrentBundle()' or 
'getLatestBundle(()'. 
Is it right that last elements of 'item.getBundles()' is the current item's 
bundle?
Secondly, I cannot find how to extract embargo information from 'Item 
object' & 'BitStream object'.
How can I know whether 'Item' or 'Bitstream' is embargoed using Java code?


Regards,
Jun


ps. Here is the simplified source code of my works.

import org.dspace.content.*;
import org.dspace.core.Context;

import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;

public class IRRStats {
public static void main(String[] args) throws SQLException, IOException 
{
Context context = null;
try {
context = new Context();
context.turnOffAuthorisationSystem();
ItemIterator items = Item.findAll(context);

while (items.hasNext()) {
Item item = items.next();

if (item.isArchived() && !item.isWithdrawn() ) {

Bitstream[] bitstreams = null;
if((item.getBundles() != null) && 
(item.getBundles().length > 0) ){
ArrayList allBundles = new 
ArrayList(Arrays.asList(item.getBundles()));
Bundle currentBundle = allBundles.get( 
item.getBundles().length - 1 );
bitstreams = currentBundle.getBitstreams();
}
int attachfileCounts = bitstreams != null ? 
bitstreams.length : 0;

System.out.println("[" + 
item.getMetadata("dc.identifier.uri")  + " : "
+ item.getMetadata("dc.type")
+ " (" + attachfileCounts + ") 
] "
+ item.getName());
}
}


}  catch (SQLException e) {
e.printStackTrace();  //To change body of catch statement use 
File | Settings | File Templates.
} finally {
if (context != null && context.isValid()) {
context.abort();
}
}
}
} 


-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/9a01e5b3-7ebe-49b7-a71e-0ef42f634fd5%40googlegroups.com.


[dspace-tech] How include new fields in a user's registration form?

2019-06-14 Thread IBARU TICS S.A.S
Hello

One question, can you include new fields in a user's registration form?

I need to include the document number.

I have Dspace 5.X

Thanks 

David.

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/4f58a26e-0322-45f1-a6f5-8aab09e0e910%40googlegroups.com.


Re: [dspace-tech] full item view mirage 2

2019-06-14 Thread Ayuka Phanuel
I also had the same issue with our view full metadata page in Mirage 2
DSpace version 6.3. The metadata names is always be shown as local.
instead of  even after I added the name to the messages.xml
I have not resolved this yet.






On Thu, Jun 13, 2019 at 9:45 PM Massimiliano CILURZO 
wrote:

> Hi Michael,
>   There is somthing very strange with the same messages.xml of my
> previous version 5.6 we can't see the correct label
> I tried the original messages.xml and messages_lang,xml of the mirage2
> theme and we have the same error.
> Another strange thing is that In the short view we see the correct label
> for Author.
> In dspace 6.3 we have to do a different configuation?
> Thanks
> best regards
> Massimiliano
>
>
>
>
>
> Il giorno giovedì 13 giugno 2019 15:03:11 UTC+2, Michael Plate ha scritto:
>>
>> Hi Massimiliano,
>>
>> Am 13.06.19 um 14:36 schrieb Massimiliano CILURZO:
>> > Hi Michael,
>> >
>> >I haven't touched the item-view.xls.
>> > I have modified the file messages_mylanguage.xml.
>> > But in english or in my language
>> > The system when I click on "show full item record" the system
>> visualize:
>> > dc.contributor.author
>> >
>> > dc.date.accessioned
>> > dc.date.available
>> >
>> > etc.
>> >
>> >
>> > I'd like to show "Author" and not dc.contributor.author as in my
>> > previous dspace server 5.6.
>>
>> and you have double checked the correctness (well formed) of the
>> message*xml file ?
>> Sorry if I insist on that, we had strange errors, too.
>> Did you try the original message-files from DSpace again, just to narrow
>> down the problem ?
>>
>> CU
>>
>> Michael
>>
>>
>> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/8d6094f6-14a3-4a85-969e-70939803a559%40googlegroups.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAOSLvwy103%2BEwooj7tFDi8AFRJwfijNhyn5bCMV30QzCWOq%2BbQ%40mail.gmail.com.


[dspace-tech] Re: Non-bibliographic metadata

2019-06-14 Thread Arunendra M. Biswas
Thank you. Sorry for not being clear about the document storage. Yes, the 
client will store documents as well.
A property related document is identified by the year of registration, 
registration book no., and document no., i.e the combination of these 
three, in order, should never be duplicate.
Is it possible to do so DSpace?


On Wednesday, June 12, 2019 at 1:39:21 PM UTC+5:30, Arunendra M. Biswas 
wrote:
>
> Can DSpace be used as DMS for non-library situations?For e.g,my client, a 
> property dealer maintains details of persons,selling/buying a property and 
> details(perimeter,no. of rooms,address) of the property.
> Should I just rename the similar fields in the corresponding messages file 
> or create a separate schema altogether?
> Since Title/Accession Code does not exist in case of property, such 
> mandatory fields will have no value in this case.
> Suggest please.
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/6ce24290-a4c1-486d-af2d-721fb89102da%40googlegroups.com.