[Isis-users] links in iaH

daniel biset dbiset at yahoo.com
Tue Apr 4 13:55:48 CEST 2017


Estimados, yo uso:

    if p(v773) then '<br />[Contexto: ',('<a href="/cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=es&base=',v5003[1],'&nextAction=lnk&exprSearch=',
     s(mpu,v773^o,mpl,),'&indexSearch=CN">',v773^t+|</a> - |,)'</a>', ']',fi,/
Y me funciona bien (eso me parece a mi, por lo menos). La diferencia es que separo los terminos por guion ( - ) en ves de punto y coma (;).Se visualiza así:
[Contexto: Archivo del Movimiento de Ligas Agrarias - Movimiento Rural de Acción Católica - Sector Rural - Publicaciones - Siguiendo la huella]
En:http://abcd.ungs.edu.ar/cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=es&base=AMLA
en el box de formulario libre si ponen el texto 'siguiendo' (sin las comillas, por supuesto) aparecen varios registros en los que se observa el resultado.
Piet, espero que sea de utilidad.Daniel H. Biset

      From: Piet De Keyser <piet.dekeyser at ucll.be>
 To: De Smet Egbert <egbert.desmet at uantwerpen.be>; "isis-users at iccisis.org" <isis-users at iccisis.org> 
 Sent: Tuesday, April 4, 2017 6:26 AM
 Subject: Re: [Isis-users] links in iaH
   
#yiv0438019362 #yiv0438019362 -- _filtered #yiv0438019362 {panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv0438019362 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv0438019362 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv0438019362 #yiv0438019362 p.yiv0438019362MsoNormal, #yiv0438019362 li.yiv0438019362MsoNormal, #yiv0438019362 div.yiv0438019362MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv0438019362 a:link, #yiv0438019362 span.yiv0438019362MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv0438019362 a:visited, #yiv0438019362 span.yiv0438019362MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv0438019362 p {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv0438019362 p.yiv0438019362msonormal0, #yiv0438019362 li.yiv0438019362msonormal0, #yiv0438019362 div.yiv0438019362msonormal0 {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv0438019362 span.yiv0438019362E-mailStijl19 {color:#1F497D;}#yiv0438019362 span.yiv0438019362E-mailStijl20 {color:windowtext;}#yiv0438019362 .yiv0438019362MsoChpDefault {font-size:10.0pt;} _filtered #yiv0438019362 {margin:70.85pt 70.85pt 70.85pt 70.85pt;}#yiv0438019362 div.yiv0438019362WordSection1 {}#yiv0438019362 Egbert,    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.    Piet    Van: De Smet Egbert [mailto:egbert.desmet at uantwerpen.be]
Verzonden: dinsdag 4 april 2017 9:42
Aan: Piet De Keyser <piet.dekeyser at ucll.be>; isis-users at iccisis.org
Onderwerp: RE: links in iaH    Piet,

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.    Egbert de Smet
Universiteit Antwerpen From: isis-users [isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org] on behalf of Piet De Keyser [piet.dekeyser at ucll.be]
Sent: Monday, April 03, 2017 10:11 PM
To: isis-users at iccisis.org
Subject: [Isis-users] links in iaH 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 _______________________________________________
isis-users mailing list
isis-users at iccisis.org
To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users
Or contact Henk Rutten: hlrutten at xs4all.nl


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


More information about the isis-users mailing list