Re: [dspace-tech] A way to alter metadata values for display?
Hi Gabe, Am 10.01.19 um 16:13 schrieb tuf04...@temple.edu: […] We are using DSpace 6.2 with XMLUI. We haven't selected a theme, but are interested in using one down the line, and it would be great to know how our selection would affect this. […] bad news: DIY . It can be done like this, e.g. for DDC: let's say you have category 004 ("Data processing and computer science"). In the metadata field (ours is "subject.ddc") is just "004". In your messages.xml files for i18n enter something like this: Data processing and computer science and for german messages_de.xml e.g. Informatik Note the numeric category after the "xmlui.subject_ddc.". In the template in the xsl-file it can look like this: --- […] select="concat('xmlui.subject_ddc.',./node())"/> […] --- In this loop, ./node() contains the contents of the metadata field, is appended to a static string "xmlui.subject_ddc." replaced by your message from messages???.xml via "" by the current selected language. Disadvantage: there is no text indexed to be searched, just the numeric category. 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 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. smime.p7s Description: S/MIME Cryptographic Signature
Re: [dspace-tech] A way to alter metadata values for display?
Gabe, The Mirage2 theme is very popular and it has responsive properties for mobile devices. Overrides to the theme style can be made using XSLT. The basic format of the item summary page is made here. You can add and remove fields by modifying this template. https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-xmlui-mirage2/src/main/webapp/xsl/aspect/artifactbrowser/item-view.xsl#L106-L132 The language field displays on the item full page. The following line of code displays the language field. https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-xmlui-mirage2/src/main/webapp/xsl/aspect/artifactbrowser/item-view.xsl#L492 Good luck with your changes. We also have a tech support channel on Slack if you get stuck making these changes. Terry On Thu, Jan 10, 2019 at 7:13 AM wrote: > Terry- > > We are using DSpace 6.2 with XMLUI. We haven't selected a theme, but are > interested in using one down the line, and it would be great to know how > our selection would affect this. > > Thank you so much for your help! > > -Gabe > > On Thursday, January 10, 2019 at 9:46:44 AM UTC-5, Wenz, Armin wrote: >> >> Hi, >> >> we want to accomplish the same task with multiple values (e.g. language >> codes, ddc, document types) >> We are using DSpace 6.3 with JSPUI. >> >> Would be great if you can suggest a procedure or point me/us to a >> document describing a solution. >> >> Thanks >> >> >> Am Mittwoch, den 09.01.2019, 15:30 -0800 schrieb Terry Brady: >> > Gabe, >> > >> > Please provide a couple additional bits of information. >> > >> > - Which version of DSpace are you using? >> > - Which UI do you use? XMLUI or JSPUI? >> > - If you are running XMLUI, what theme do you use? >> > >> > Terry >> > >> > On Wed, Jan 9, 2019 at 1:38 PM wrote: >> > > Group- >> > > >> > > Is there a straightforward way to hide the actual values contained >> > > in a field, while displaying translated or crosswalked versions of >> > > those values? We'd like to automatically translate two letter >> > > language codes into text: the language field would contain the >> > > value 'en' but display the value 'english'. >> > > >> > > Can anyone suggest a procedure for accomplishing this? >> > > >> > > Thank you in advance for your help! We are just getting started >> > > with DSpace. >> > > >> > > -Gabe >> > > -- >> > > All messages to this mailing list should adhere to the DuraSpace >> > > Code of Conduct: https://duraspace.org/about/policies/code-of-condu >> > > ct/ >> > > --- >> > > 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. >> > > >> > >> > >> > -- >> > Terry Brady >> > Applications Programmer Analyst >> > Georgetown University Library Information Technology >> > https://github.com/terrywbrady/info >> > 425-298-5498 (Seattle, WA) >> >> -- >> >> Armin Wenz >> Universitätsbibliothek Mainz >> Leitung Bibliotheksanwendungen >> Jakob-Welder-Weg 12 >> 55128 Mainz >> Tel.: +49 6131 39-29830 >> http://www.ub.uni-mainz.de >> > -- > 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 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. > -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://github.com/terrywbrady/info 425-298-5498 (Seattle, WA) -- 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 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] A way to alter metadata values for display?
Hallo Armin, you may consider adding your own style to the item display configuration. https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace/config/dspace.cfg#L1618 something like translate and use it in https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace-jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java#L450 and do something similar to https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace-jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java#L594 using the translation mechanics and putting the values in the message catalogue. Hoffe das hilft dir weiter Claudia Jürgen Am 10.01.2019 um 07:52 schrieb Wenz, Armin: Hi, we want to accomplish the same task with multiple values (e.g. language codes, ddc, document types) We are using DSpace 6.3 with JSPUI. Would be great if you can suggest a procedure or point me/us to a document describing a solution. Thanks Am Mittwoch, den 09.01.2019, 15:30 -0800 schrieb Terry Brady: Gabe, Please provide a couple additional bits of information. - Which version of DSpace are you using? - Which UI do you use? XMLUI or JSPUI? - If you are running XMLUI, what theme do you use? Terry On Wed, Jan 9, 2019 at 1:38 PM wrote: Group- Is there a straightforward way to hide the actual values contained in a field, while displaying translated or crosswalked versions of those values? We'd like to automatically translate two letter language codes into text: the language field would contain the value 'en' but display the value 'english'. Can anyone suggest a procedure for accomplishing this? Thank you in advance for your help! We are just getting started with DSpace. -Gabe -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-condu ct/ --- 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. -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://github.com/terrywbrady/info 425-298-5498 (Seattle, WA) -- 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 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] A way to alter metadata values for display?
Terry- We are using DSpace 6.2 with XMLUI. We haven't selected a theme, but are interested in using one down the line, and it would be great to know how our selection would affect this. Thank you so much for your help! -Gabe On Thursday, January 10, 2019 at 9:46:44 AM UTC-5, Wenz, Armin wrote: > > Hi, > > we want to accomplish the same task with multiple values (e.g. language > codes, ddc, document types) > We are using DSpace 6.3 with JSPUI. > > Would be great if you can suggest a procedure or point me/us to a > document describing a solution. > > Thanks > > > Am Mittwoch, den 09.01.2019, 15:30 -0800 schrieb Terry Brady: > > Gabe, > > > > Please provide a couple additional bits of information. > > > > - Which version of DSpace are you using? > > - Which UI do you use? XMLUI or JSPUI? > > - If you are running XMLUI, what theme do you use? > > > > Terry > > > > On Wed, Jan 9, 2019 at 1:38 PM > > wrote: > > > Group- > > > > > > Is there a straightforward way to hide the actual values contained > > > in a field, while displaying translated or crosswalked versions of > > > those values? We'd like to automatically translate two letter > > > language codes into text: the language field would contain the > > > value 'en' but display the value 'english'. > > > > > > Can anyone suggest a procedure for accomplishing this? > > > > > > Thank you in advance for your help! We are just getting started > > > with DSpace. > > > > > > -Gabe > > > -- > > > All messages to this mailing list should adhere to the DuraSpace > > > Code of Conduct: https://duraspace.org/about/policies/code-of-condu > > > ct/ > > > --- > > > 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. > > > > > > > > > -- > > Terry Brady > > Applications Programmer Analyst > > Georgetown University Library Information Technology > > https://github.com/terrywbrady/info > > 425-298-5498 (Seattle, WA) > > -- > > Armin Wenz > Universitätsbibliothek Mainz > Leitung Bibliotheksanwendungen > Jakob-Welder-Weg 12 > 55128 Mainz > Tel.: +49 6131 39-29830 > http://www.ub.uni-mainz.de > -- 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 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] A way to alter metadata values for display?
Hi, we want to accomplish the same task with multiple values (e.g. language codes, ddc, document types) We are using DSpace 6.3 with JSPUI. Would be great if you can suggest a procedure or point me/us to a document describing a solution. Thanks Am Mittwoch, den 09.01.2019, 15:30 -0800 schrieb Terry Brady: > Gabe, > > Please provide a couple additional bits of information. > > - Which version of DSpace are you using? > - Which UI do you use? XMLUI or JSPUI? > - If you are running XMLUI, what theme do you use? > > Terry > > On Wed, Jan 9, 2019 at 1:38 PM wrote: > > Group- > > > > Is there a straightforward way to hide the actual values contained > > in a field, while displaying translated or crosswalked versions of > > those values? We'd like to automatically translate two letter > > language codes into text: the language field would contain the > > value 'en' but display the value 'english'. > > > > Can anyone suggest a procedure for accomplishing this? > > > > Thank you in advance for your help! We are just getting started > > with DSpace. > > > > -Gabe > > -- > > All messages to this mailing list should adhere to the DuraSpace > > Code of Conduct: https://duraspace.org/about/policies/code-of-condu > > ct/ > > --- > > 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. > > > > > -- > Terry Brady > Applications Programmer Analyst > Georgetown University Library Information Technology > https://github.com/terrywbrady/info > 425-298-5498 (Seattle, WA) -- Armin Wenz Universitätsbibliothek Mainz Leitung Bibliotheksanwendungen Jakob-Welder-Weg 12 55128 Mainz Tel.: +49 6131 39-29830 http://www.ub.uni-mainz.de -- 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 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] A way to alter metadata values for display?
Gabe, Please provide a couple additional bits of information. - Which version of DSpace are you using? - Which UI do you use? XMLUI or JSPUI? - If you are running XMLUI, what theme do you use? Terry On Wed, Jan 9, 2019 at 1:38 PM wrote: > Group- > > Is there a straightforward way to hide the actual values contained in a > field, while displaying translated or crosswalked versions of those > values? We'd like to automatically translate two letter language codes > into text: the language field would contain the value 'en' but display the > value 'english'. > > Can anyone suggest a procedure for accomplishing this? > > Thank you in advance for your help! We are just getting started with > DSpace. > > -Gabe > > -- > 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 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. > -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://github.com/terrywbrady/info 425-298-5498 (Seattle, WA) -- 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 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.