[Isis-users] Fwd: Display format frbr
Piet De Keyser
piet.dekeyser at ucll.be
Sun Apr 19 10:34:22 CEST 2020
Francisco,
Your initial problem was that the link only shows with unrepeated fields. This is because the condition
if npost(['theses'],'AR_'v700^a)>1 then (
is not put inside the repetation, so it should be inside it:
( if npost(['theses'],'AR_'v700^a)>1 then v700^a |, | v700^e,… etc etc ‘<a href… etc etc
Piet de Keyser
Van: isis-users <isis-users-bounces+piet.dekeyser=ucll.be at iccisis.org> Namens Francisco Tamor
Verzonden: zondag 19 april 2020 9:01
Aan: Egbert De Smet <egbert.desmet at uantwerpen.be>
CC: Isis-users <isis-users at iccisis.org>
Onderwerp: Re: [Isis-users] Fwd: Display format frbr
Egbert,
Thank you very much. I will try this at once and let you know the result.
Regards,
Francisco
On Saturday, 18 April 2020, 7:51:18 pm SGT, Egbert De Smet <egbert.desmet at uantwerpen.be<mailto:egbert.desmet at uantwerpen.be>> wrote:
Get Outlook for Android<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Cpiet.dekeyser%40ucll.be%7C687b0840282249b1a48b08d7e42fe010%7Ce638861b15d94de6a65db48789ae1f08%7C0%7C0%7C637228767189412601&sdata=bNKrhqrnmlHvxRJHtyzunQ%2FJIN48hWRkkFx3G6b%2BLp8%3D&reserved=0>
________________________________
From: Egbert De Smet <egbert.desmet at uantwerpen.be<mailto:egbert.desmet at uantwerpen.be>>
Sent: Saturday, April 18, 2020 11:25:35 AM
To: Francisco Tamor <fttamor at yahoo.com<mailto:fttamor at yahoo.com>>
Subject: Re: Display format frbr
Francisco,
OK now I could test it, however I did it in Linux and still had to - additionally to the changes below - deal with upper/lowercase references to the database name and the call to wxis dropping the '.exe' extension.
First of all : the current PFT with the FRBR-reference works only showing the linked records in iAH, since it calls the iah.xis script. I suppose this is not a problem for you ? Testing in Central is still possible but the link opens an iAH-results-screen.
If you want it to show the links in Central, another PFT will be needed which calls another IsisScript (e.g. see the attached one 'show_searchresults.xis' as an example, only using cipar=, base=, pft= and search= as necessary parameters) but I didn't test this yet.
The PFT-code which works correctly (in my case at least) is, for v700 (Contributors) also if repeated, the following :
if p(v700) then '<tr><td width=20% valign=top align=right><font face=arial size=2 color="#000080">
<b>Contributor(s) :</b></td><td valign=top id="v700"><font face=arial size=2>',
if npost(['theses'],'AR_'v700^a)>1 then
(v700^a, |, | v700^e,
'<a href="/cgi-bin/ansi/wxis/iah/scripts/?IsisScript=iah.xis&lang=en&base=THESES&nextAction=lnk&exprSearch=',s(mpu,v700^a,mpl),'&indexSearch=AR" target=new>',
' (', f(npost(['theses'],'AR_'v700^a),1,0),' related works)</a><br>',
if iocc<>nocc(v700) then '<br></td></tr>' fi)/
else (|<br>|+v700^a |, | v700^e),
fi,
fi/
Compare that carefully to your original code below :
if p(v700) then '<tr><td width=20% valign=top align=right><font face=arial size=2 color="#000080"><b>Contributor(s) :</b></td>
<td valign=top id="v700"><font face=arial size=2>'
if npost(['theses'],'AR_'v700^a)>1 then
(v700^a |, | v700^e,
'<a href="/cgi-bin/ansi/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=en&base=theses&nextAction=lnk&exprSearch=',s(mpu,v700^a,mpl),'&indexSearch=AR" target=new>',
'(',f(npost(['theses'],'AR_'v700^a),1,0),' related works)</a><br>')
else (|<br>|+v700^a |, | v700^e),
if iocc<>nocc(v700) then '<br>' fi/, fi,'</td></tr>' fi/
I hope this helps.
Egbert de Smet
Universiteit Antwerpen
________________________________
From: Francisco Tamor <fttamor at yahoo.com<mailto:fttamor at yahoo.com>>
Sent: Saturday, April 18, 2020 5:48 AM
To: Egbert De Smet
Subject: Re: Display format frbr
Hi Egbert,
Here it is...
On Friday, 17 April 2020, 8:30:36 pm SGT, Egbert De Smet <egbert.desmet at uantwerpen.be<mailto:egbert.desmet at uantwerpen.be>> wrote:
Sorry I also need your theses.def (since the FRBR-link is using the iah.xis script from the iAH-OPAC and therefore it needs the iAH-configuration file for that database.
Egbert de Smet
Universiteit Antwerpen
________________________________
From: Francisco Tamor <fttamor at yahoo.com<mailto:fttamor at yahoo.com>>
Sent: Friday, April 17, 2020 1:09 PM
To: Egbert De Smet
Cc: Isis-users
Subject: Display format frbr
Egbert,
Pleas(e see attached files (for my Theses Database).
Thank you.
Francisco
_______________________________________________
isis-users mailing list
isis-users at iccisis.org<mailto:isis-users at iccisis.org>
To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.iccisis.org%2Flistinfo%2Fisis-users&data=02%7C01%7Cpiet.dekeyser%40ucll.be%7C687b0840282249b1a48b08d7e42fe010%7Ce638861b15d94de6a65db48789ae1f08%7C0%7C0%7C637228767189412601&sdata=0RxRbd4rCy42Onf8umUsG6AAcuoqOnNWLPEATgDHn9k%3D&reserved=0>
Or contact Henk Rutten: hlrutten at xs4all.nl<mailto:hlrutten at xs4all.nl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20200419/421b131c/attachment.html>
More information about the isis-users
mailing list