[Isis-users] links in iaH

Piet De Keyser piet.dekeyser at ucll.be
Mon Apr 3 22:11:45 CEST 2017


Hi all,


I want to share this with you, because small things matter too.

If you build links in iaH it can be difficult to find a good layout. Suppose you want all of your keywords to be links, then it is not nice to have this:


        Keywords: xxx; yyy; zzz;


(where each of them is clickable as link) because they should not end with semi-colon.


You would want:


        Keywords: xxx; yyy; zzz


i.e. without the annoying semi-colon at the end.


It could even be more complicated if you have more than one field for keywords (e.g. topical, geographical, uncontrolled keywords) and you all want them listed as one field. This is my case: I have v650, v651 and v653 (without subfields). Hiere is my layout - and it does the trick:


if p(v650) then '<tr><td width="10%" valign="top"><font face=arial size=2 color="green"><b>Keywords</b></td><td><font face=arial size=2>',('<a target="_blank"
href="http://localhost:9090/cgi-bin/wxis.exe/iah/scripts/?
IsisScript=iah.xis&lang=du&base=CATALOG&nextAction=lnk&exprSearch=',s(mpu,v650,mpl),'&indexSearch=MA">',v650,'</a>',if  iocc<nocc(v650) then '; ' fi),,

"; "d651,

if p(v651) then
('<a target="_blank" href="http://localhost:9090/cgi-bin/wxis.exe/iah/scripts/?
IsisScript=iah.xis&lang=du&base=CATALOG&nextAction=lnk&exprSearch=',s(mpu,v651,mpl),'&indexSearch=MA">',v651,'</a>',if iocc<nocc(v651) then '; ' fi), fi,

"; "d653,

if p(v653) then
('<a target="_blank" href="http://localhost:9090/cgi-bin/wxis.exe/iah/scripts/?
IsisScript=iah.xis&lang=du&base=CATALOG&nextAction=lnk&exprSearch=',s(mpu,v653,mpl),'&indexSearch=MA">',v653,'</a>',if  iocc<nocc(v653) then '; ' fi), fi,


Piet de Keyser

UC Leuven, Belgium

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20170403/b24ccb0a/attachment.html>


More information about the isis-users mailing list