Hi! (crossposted to DSpace Developpers)

Metadata can often be used to generates links. You can look at the little green links in items display at
http://www.destin.be/dspace/handle/443803704/1292
This is because metadata is processed at display time, not because links are embedded in data (generally a bad idea because links break with time).

In your case, I would recommed to store links in the most orthogonal way. For example:
* if the document has a DOI, store the DOI in dc.identifier.doi
* if it has other "Permanent URL", store the identifier in a field you create like dc.identifier.pmid (for PubMed id). * if the document comes from WWW (whole Wild web!), you can add something like dc.identifier.www (identifier.uri cannot be used) Al those fields has to be processed to generate a <a href="..."> around your content.

You can also process authors to make horizontal search in DSpace or to search in Google Scholar or in Amazon...
You can process subjects to search in other databases like Medline.
You can process abstracts to make them more legible, etc.

I changed the java code of JSTL Tag which displays an item to include a "LinkOut" concept where each field can be processed.

Please find below an example on how this is parameterized now. Because of the ongoing changes toward Manakin, I am wondering how this could be done to be future proof and coherent with the overall logic of DSpace. Please committers, your guidelines!

Wishing you a very nice day,

Christophe Dupriez

webui.itemdisplay.default = dc.title=title, dc.title.alternative, dc.date.issued=date, dc.contributor.author=author, \ dc.contributor.Affiliation=email, dc.description.sponsorship, \
                           dc.type, \
dc.description.abstract=abstract, dc.description, \ dc.subject.mesh[mesh], dc.subject.substance[mesh], dc.subject=subject, \ dc.identifier.citation, dc.publisher, dc.relation.ispartofseries, dc.identifier.issn=issn, \ dc.identifier.volume, dc.identifier.issue, dc.identifier.pagination, \
                           dc.coverage.references, dc.identifier.govdoc, \
dc.identifier.pmid=id, dc.identifier.isbn, dc.identifier.ismn, dc.identifier
linkout.html.field = [value]
linkout.html.link = <a href="[PLAINvalue]">[value]</a>
linkout.html.date = [datevalue]
linkout.html.email = [valueEMAILS]
linkout.html.mesh = <a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=PubMed&term=%22[URLvalue]%22%5BMeSH%5D"; title="[value]" style="text-decoration:none;font-size:66%;color:MediumSeaGreen" target="pubmed">M</a><a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=PubMed&term=%22[URLvalue]%22%5BMeSH+Major+Topic%5D"; title="+[value]" target="pubmed" style="text-decoration:none;font-size:66%;color:MediumSeaGreen;font-weight:bold">+</a>&nbsp;<a href="[root]/simple-search?query=keyword:[URLvalue]">[value]</a> [linkage] linkout.html.cas = &nbsp;<a href="http://chem.sis.nlm.nih.gov/chemidplus/direct.jsp?regno=[URLvalue]"; title="[value]" style="text-decoration:none;color:MediumSeaGreen" target="toxnet">CAS [value]</a> linkout.html.subject = <a href="[root]/simple-search?query=keyword:[URLvalue]">[value]</a> linkout.html.issn = <a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=Journals&term=[URLvalue]%5Bissn%5D"; title="[value]" style="text-decoration:none;font-size:66%;color:MediumSeaGreen;font-weight: bold" target="pubmed">J</a></a>&nbsp;<a href="[root]/simple-search?query=identifier:[URLvalue]">[value]</a>
linkout.html.abstract = [valueHEADINGS]
linkout.html.author = <a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=PubMed&term=%22[URLvalue]%22%5BFullAuthor%5D"; title="[value]" style="text-decoration:none;font-size:66%;color:MediumSeaGreen" target="pubmed">P</a>&nbsp;<a href="http://scholar.google.com/scholar?q=author:%22[URLvalue]%22"; target="google" style="text-decoration:none;font-size:66%;color:MediumSeaGreen">G</a>&nbsp;<a href=[root]/simple-search?query=author:"[URLvalue]">[value]</a> linkout.html.title = <a href="http://scholar.google.com/scholar?as_q=[URLvalue]&as_eq=&as_occt=title&as_allsubj=all&lr=&safe=active"; title="[value]" style="text-decoration:none;font-size:66%;color:MediumSeaGreen" target="google">G</a> [value] linkout.html.id = <a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=PubMed&term=[value]"; title="PMID [value]%5Buid%5D" target="pubmed" style="text-decoration:none;color:MediumSeaGreen;font-weight: bold">[value]</a>

Stuart Lewis [sdl] a écrit :
Hi,

Has anyone succeeded in including a live link in the submissions form?  I can
get the url to display as text, but it will not work as a link.  I know of one
other person who has tried this and has had difficulty.

Do you mean in the 'hint' section?

If so, you can do it by using html codes. E.g.:

<hint>Enter the full bibliographic details of the item to be deposited, in
Harvard APA 5th edition format (guidance is available on the &lt;a
href="http://www.port.ac.uk/departments/studentsupport/library/supportandadv
ice/Informationstudyskillssupportmaterial/harvardapaformat/"
target="_new"&gt;Portsmouth University library site&lt;/a&gt;)</hint>

Thanks,


Stuart
_________________________________________________________________

Gwasanaethau Gwybodaeth                      Information Services
Prifysgol Cymru Aberystwyth       University of Wales Aberystwyth

            E-bost / E-mail: [EMAIL PROTECTED]
                 Ffon / Tel: (01970) 622860
_________________________________________________________________


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech




begin:vcard
fn:Christophe Dupriez
n:Dupriez;Christophe
org:DESTIN inc. SSEB
adr;quoted-printable:;;rue des Palais 44, bo=C3=AEte 1;Bruxelles;;B-1030;Belgique
email;internet:[EMAIL PROTECTED]
title:Informaticien
tel;work:+32/2/216.66.15
tel;fax:+32/2/242.97.25
tel;cell:+32/475.77.62.11
note;quoted-printable:D=C3=A9veloppement de Syst=C3=A8mes de Traitement de l'Information
x-mozilla-html:TRUE
url:http://www.destin.be
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to