Editing the submission form will allow people submitting the item to add data 
to those fields. If the data is already in those fields and you want to change 
how it displays on the search results page then you probably want to edit the 
theme’s …  /xsl/aspect/artifactbrowser/item-list.xsl  page. Scanning through I 
see a snippet:

<xsl:otherwise>
                            
<i18n:text>xmlui.dri2xhtml.METS-1.0.no-author</i18n:text>
              </xsl:otherwise>

--you may be able to instead get it to test if there’s a dc.contributor.editor 
and/or dc.publisher.

(This is assuming you’re using XMLUI.)

Deborah

From: dspace-community@googlegroups.com <dspace-community@googlegroups.com> On 
Behalf Of Tianyi Gu
Sent: Wednesday, 19 April 2023 2:59 pm
To: DSpace Community <dspace-community@googlegroups.com>
Subject: Re: [dspace-community] Re: How to change the metadata of search 
results items? (dspace6 - Mirage)

Caution: This email originated from outside our organisation. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.

Hi Aroldo,

You can change the submission form 
(https://github.com/DSpace/DSpace/blob/main/dspace/config/submission-forms.xml)
On Tuesday, April 18, 2023 at 10:43:42 PM UTC-4 Aroldo Rique wrote:
Hi Tianyi, I think I didn't explain myself correctly.

In the case of the figure, I want the metadata dc.contributor.editor and 
dc.publisher to appear (the latter in parentheses). I believe that dspace is 
looking for the dc.contributor.author metadata, which is empty and, therefore, 
the message (in Portuguese), of Author unknown. Do you know which file should I 
change so that I can exchange the dc.contributor.author metadata for the 
dc.contributor.editor metadata?

Em ter., 18 de abr. de 2023 às 23:17, Tianyi Gu <gutia...@gmail.com> escreveu:
Hi Aroldo,

You could log in as an administrator and then edit that item. In the metadata 
tab, you will be able to edit the actual data.
On Tuesday, April 18, 2023 at 9:31:42 PM UTC-4 Aroldo Rique wrote:
Hello!

I need to change this metadata that appears in the result of a search. Does 
anyone know which file (and where in it) I should edit?

[https://groups.google.com/group/dspace-community/attach/183b13062a20cd/image.png?part=0.1&view=1]

Aroldo Rique
--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-communi...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/e4672c6b-bae4-43fe-9a43-8a20c75d4ab2n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-community/e4672c6b-bae4-43fe-9a43-8a20c75d4ab2n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-community+unsubscr...@googlegroups.com<mailto:dspace-community+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/15c835e5-bc31-43cd-9540-83039964e257n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-community/15c835e5-bc31-43cd-9540-83039964e257n%40googlegroups.com?utm_medium=email&utm_source=footer>.

________________________________

"The contents of this e-mail (including any attachments) may be confidential 
and/or subject to copyright. Any unauthorised use, distribution, or copying of 
the contents is expressly prohibited. If you have received this e-mail in 
error, please advise the sender by return e-mail or telephone and then delete 
this e-mail together with all attachments from your system."

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-community+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/ME3PR01MB7524CF7CA6D78D80B106AED6C5629%40ME3PR01MB7524.ausprd01.prod.outlook.com.

Reply via email to