<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Juan,</p>
<p><br>
</p>
<p>This is a very good idea too - although I was not successful yet in tying to implemend this with my links and repeatable fields. I'll keep on trying....</p>
<p><br>
</p>
<p>Piet<br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Van:</b> Juan Urzúa González <juan.urzua@pucv.cl><br>
<b>Verzonden:</b> dinsdag 4 april 2017 17:51<br>
<b>Aan:</b> Piet De Keyser<br>
<b>CC:</b> De Smet Egbert; isis-users@iccisis.org<br>
<b>Onderwerp:</b> Re: [Isis-users] links in iaH</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:verdana,sans-serif"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-short_text" lang="en"><span class="gmail-m_-5755291626500703946gmail-">Piet:<br>
<br>
I use this trick:<br>
</span></span><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-short_text" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><br>
Before all occurrences, I establish 2 variables<br>
</span></span>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-short_text" lang="en"><span class="gmail-m_-5755291626500703946gmail-">e0:=nocc(v650)+nocc(v651)+<wbr>nocc(v653)
(</span></span><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-short_text" lang="en"><span class="gmail-m_-5755291626500703946gmail-">Totals the number of occurrences of all fields).<br>
</span></span></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-short_text" lang="en"><span class="gmail-m_-5755291626500703946gmail-">e1:=0 (</span></span><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-short_text" lang="en"><span class="gmail-m_-5755291626500703946gmail-">Will
count one by one each occurrence)<br>
<br>
</span></span></div>
<span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-short_text" lang="en"><span class="gmail-m_-5755291626500703946gmail-">then,
</span></span><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-short_text" lang="en"><span class="gmail-m_-5755291626500703946gmail-">each field is displayed...<br>
</span></span><span style="color:black" lang="EN-US">if p(v650) then....<br>
</span><span style="color:black" lang="EN-US"> e1:=e1+1, </span><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-">first
thing in each occurrence is to increase the counter<br>
</span></span></span></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-">
v650 (y</span></span></span><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">ou
put the field and everything you want)<br>
</span></span></span></span></span></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">
</span></span></span></span></span><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">Now
you have to ask if it is the last occurrence of the total<br>
</span></span></span></span></span></span></span></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">
if e1<e0 then ";" else "." fi<br>
<br>
</span></span></span></span></span></span></span></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span style="color:black" lang="EN-US">if p(v651) then....<br>
</span><span style="color:black" lang="EN-US"><span style="color:black" lang="EN-US"> e1:=e1+1,
</span><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-">first thing in each occurrence is to increase the counter<br>
</span></span></span></span><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"> v651 (y</span></span></span><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">ou
put the field and everything you want)<br>
</span></span></span></span></span>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">
</span></span></span></span></span><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">Now
you have to ask if it is the last occurrence of the total<br>
</span></span></span></span></span></span></span></div>
<span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">
if e1<e0 then ";" else "." fi<br>
<br>
</span></span></span></span></span></span></span><span style="color:black" lang="EN-US">if p(v653) then....<br>
</span><span style="color:black" lang="EN-US"><span style="color:black" lang="EN-US"> e1:=e1+1,
</span><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-">first thing in each occurrence is to increase the counter<br>
</span></span></span></span><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"> v653 (y</span></span></span><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">ou
put the field and everything you want)<br>
</span></span></span></span></span>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">
</span></span></span></span></span><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">Now
you have to ask if it is the last occurrence of the total<br>
</span></span></span></span></span></span></span></div>
<span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">
if e1<e0 then ";" else "." fi</span></span></span></span></span></span></span><span style="color:black" lang="EN-US"><span id="gmail-m_-5755291626500703946gmail-result_box" class="gmail-m_-5755291626500703946gmail-" lang="en"><span class="gmail-m_-5755291626500703946gmail-"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><br>
</span></span></span></span></span><br>
</div>
<div class="gmail_default" style="font-family:verdana,sans-serif">that's all... and it's works!!!<br>
</div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">I hope it serves you and enjoy it!!!</span></span></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><br>
<br>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail-m_-5755291626500703946gmail_signature">
<div dir="ltr"><img src="https://docs.google.com/uc?export=download&id=0B9BBgCzWdpMmeE81cmM5MjNESzg&revid=0B9BBgCzWdpMmSGVrNHNJNmExQnBJQiswZThzMXpSN3lWZG5JPQ"><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">2017-04-04 5:00 GMT-04:00 Piet De Keyser <span dir="ltr">
<<a href="mailto:piet.dekeyser@ucll.be" target="_blank">piet.dekeyser@ucll.be</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div bgcolor="white" lang="NL-BE">
<div class="gmail-m_-5755291626500703946gmail-m_-6572185251585716710WordSection1">
<p class="MsoNormal"><span style="font-size:11pt; font-family:"calibri",sans-serif; color:rgb(31,73,125)">Egbert,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:"calibri",sans-serif; color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:"calibri",sans-serif; color:rgb(31,73,125)" lang="EN-US">Yes, I tried many variations, but the “+” sign gave me errors when used within the link anchor. The solution with iocc and nocc works perfectly.
An extra complication here was that the content of three fields is displayed as one; so I had to add the extra “;” again after the last occurrence of the previous field content by means of the dummy fields.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:"calibri",sans-serif; color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:"calibri",sans-serif; color:rgb(31,73,125)" lang="EN-US">Piet<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:"calibri",sans-serif; color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p>
<div>
<div style="border-width:1pt medium medium; border-style:solid none none; border-color:rgb(225,225,225) currentcolor currentcolor; padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11pt; font-family:"calibri",sans-serif" lang="NL">Van:</span></b><span style="font-size:11pt; font-family:"calibri",sans-serif" lang="NL"> De Smet Egbert [mailto:<a href="mailto:egbert.desmet@uantwerpen.be" target="_blank">egbert.desmet@uantwerp<wbr>en.be</a>]
<br>
<b>Verzonden:</b> dinsdag 4 april 2017 9:42<br>
<b>Aan:</b> Piet De Keyser <<a href="mailto:piet.dekeyser@ucll.be" target="_blank">piet.dekeyser@ucll.be</a>>;
<a href="mailto:isis-users@iccisis.org" target="_blank">isis-users@iccisis.org</a><br>
<b>Onderwerp:</b> RE: links in iaH<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:10pt; font-family:"tahoma",sans-serif; color:black">Piet,<br>
<br>
the 'official' method to avoid a final interpunction is to use the '+' sign with a 'conditional' literal, i.e. the pipes. Therefore : v650+|; | . Did you try that (I didn't) and how does it come out ? It might be simpler.<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10pt; font-family:"tahoma",sans-serif; color:black"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10pt; font-family:"tahoma",sans-serif; color:black">Egbert de Smet<br>
Universiteit Antwerpen<u></u><u></u></span></p>
</div>
</div>
</div>
<div>
<div class="MsoNormal" style="text-align:center" align="center"><span style="color:black">
<hr size="3" align="center" width="100%">
</span></div>
<div id="gmail-m_-5755291626500703946gmail-m_-6572185251585716710divRpF232775">
<p class="MsoNormal" style="margin-bottom:12pt"><b><span style="font-size:10pt; font-family:"tahoma",sans-serif; color:black" lang="EN-US">From:</span></b><span style="font-size:10pt; font-family:"tahoma",sans-serif; color:black" lang="EN-US"> isis-users [isis-users-bounces+egbert.des<wbr>met=<a href="mailto:ua.ac.be@iccisis.org" target="_blank">ua.ac.be@iccisis.org</a>]
on behalf of Piet De Keyser [<a href="mailto:piet.dekeyser@ucll.be" target="_blank">piet.dekeyser@ucll.be</a>]<br>
<b>Sent:</b> Monday, April 03, 2017 10:11 PM<br>
<b>To:</b> </span><span style="font-size:10pt; font-family:"tahoma",sans-serif; color:black"><a href="mailto:isis-users@iccisis.org" target="_blank"><span lang="EN-US">isis-users@iccisis.org</span></a></span><span style="font-size:10pt; font-family:"tahoma",sans-serif; color:black" lang="EN-US"><br>
<b>Subject:</b> [Isis-users] links in iaH</span><span style="color:black" lang="EN-US"><u></u><u></u></span></p>
</div>
<div>
<p><span style="color:black">Hi all,<u></u><u></u></span></p>
<p><span style="color:black"><u></u> <u></u></span></p>
<p><span style="color:black">I want to share this with you, because small things matter too.
<u></u><u></u></span></p>
<p><span style="color:black">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:<u></u><u></u></span></p>
<p><span style="color:black"><u></u> <u></u></span></p>
<p><span style="color:black"> Keywords: xxx; yyy; zzz;<u></u><u></u></span></p>
<p><span style="color:black"><u></u> <u></u></span></p>
<p><span style="color:black">(where each of them is clickable as link) because they should not end with semi-colon.<u></u><u></u></span></p>
<p><span style="color:black"><u></u> <u></u></span></p>
<p><span style="color:black">You would want:<u></u><u></u></span></p>
<p><span style="color:black"><u></u> <u></u></span></p>
<p><span style="color:black"> Keywords: xxx; yyy; zzz<u></u><u></u></span></p>
<p><span style="color:black"><u></u> <u></u></span></p>
<p><span style="color:black">i.e. without the annoying semi-colon at the end. <u>
</u><u></u></span></p>
<p><span style="color:black"><u></u> <u></u></span></p>
<p><span style="color:black">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:<u></u><u></u></span></p>
<p><span style="color:black"><u></u> <u></u></span></p>
<p><span style="color:black" lang="EN-US">if p(v650) then '<tr><td width="10%" valign="top"><font face=arial size=2 color="green"><b>Keywords</b><<wbr>/td><td><font face=arial size=2>',('<a target="_blank"<br>
href="</span><span style="color:black"><a href="http://localhost:9090/cgi-bin/wxis.exe/iah/scripts/?%0bIsisScript=iah.xis&lang=du&base=CATALOG&nextAction=lnk&exprSearch=%27,s%28mpu,v650,mpl%29,%27&indexSearch=MA" target="_blank"><span lang="EN-US">http://localhost:9090/cg<wbr>i-bin/wxis.exe/iah/scripts/?<br>
IsisScript=iah.xis&lang=du&bas<wbr>e=CATALOG&nextAction=lnk&exprS<wbr>earch=',s(mpu,v650,mpl),'&<wbr>indexSearch=MA</span></a></span><span style="color:black" lang="EN-US">">',v650,'</a>',<wbr>if iocc<nocc(v650) then '; ' fi),,<br>
<br>
"; "d651,<br>
<br>
if p(v651) then<br>
('<a target="_blank" href="</span><span style="color:black"><a href="http://localhost:9090/cgi-bin/wxis.exe/iah/scripts/?%0bIsisScript=iah.xis&lang=du&base=CATALOG&nextAction=lnk&exprSearch=%27,s%28mpu,v651,mpl%29,%27&indexSearch=MA" target="_blank"><span lang="EN-US">http://localhost:9090/cg<wbr>i-bin/wxis.exe/iah/scripts/?<br>
IsisScript=iah.xis&lang=du&bas<wbr>e=CATALOG&nextAction=lnk&exprS<wbr>earch=',s(mpu,v651,mpl),'&<wbr>indexSearch=MA</span></a></span><span style="color:black" lang="EN-US">">',v651,'</a>',<wbr>if iocc<nocc(v651) then '; ' fi), fi,<br>
<br>
"; "d653,<br>
<br>
if p(v653) then <br>
('<a target="_blank" href="</span><span style="color:black"><a href="http://localhost:9090/cgi-bin/wxis.exe/iah/scripts/?%0bIsisScript=iah.xis&lang=du&base=CATALOG&nextAction=lnk&exprSearch=%27,s%28mpu,v653,mpl%29,%27&indexSearch=MA" target="_blank"><span lang="EN-US">http://localhost:9090/cg<wbr>i-bin/wxis.exe/iah/scripts/?<br>
IsisScript=iah.xis&lang=du&bas<wbr>e=CATALOG&nextAction=lnk&exprS<wbr>earch=',s(mpu,v653,mpl),'&<wbr>indexSearch=MA</span></a></span><span style="color:black" lang="EN-US">">',v653,'</a>',<wbr>if iocc<nocc(v653) then '; ' fi), fi,<u></u><u></u></span></p>
<p><span style="color:black" lang="EN-US"><u></u> <u></u></span></p>
<p><span style="color:black">Piet de Keyser<u></u><u></u></span></p>
<p style="margin-bottom:12pt"><span style="color:black">UC Leuven, Belgium<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
isis-users mailing list<br>
<a href="mailto:isis-users@iccisis.org" target="_blank">isis-users@iccisis.org</a><br>
To manage your own subscription options go to: <a href="http://lists.iccisis.org/listinfo/isis-users" rel="noreferrer" target="_blank">
http://lists.iccisis.org/listi<wbr>nfo/isis-users</a><br>
Or contact Henk Rutten: <a href="mailto:hlrutten@xs4all.nl" target="_blank">hlrutten@xs4all.nl</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>