Does not accept a link in front (6.3. - Mirage2)

20 views
Skip to first unread message

Jose Texier

unread,
Oct 15, 2021, 7:38:08 AM10/15/21
to DSpace Community
Hi. I'm trying to put a link in the front of DSpace 6.3, but it only takes the text not the link. I'm with the XMLUI-Mirage2 theme.

To do this, I do it in the file "news-xmlui.xml", located in /dspace/config/news-xmlui.xml

This is the code that I include in the file "news-xmlui.xml" is (example):
<p>DSpace is a <a href="https://test.org/" target="_blank"> digital service </a> that collects ... </p>

But it only appears like this: "DSpace is a digital service that collects ..."

Any suggestion?

Thanks.
Jose

Mark Wood

unread,
Oct 15, 2021, 11:38:54 AM10/15/21
to DSpace Community
news-xmlui.xml is not an HTML document, but a DRI document.  You need to use the DRI 'xref' element for a link.  For example:  '<xref target="https://test.org/">digital service</xref>'.

I don't see any way to make an <xref/> open in a new window.

Jose Texier

unread,
Oct 15, 2021, 4:55:36 PM10/15/21
to DSpace Community
Thanks Mark. I was able to make the link.
José

Reply all
Reply to author
Forward
0 new messages