6.8. Print/Display Format for Citation Display
The display format file (“cita.pft”) is for “Citation” record display. This file resides in the directory C:\ISIS\DATA and executes at the time of “Citation” display type. It displays Call No, Title and Name(s) of Author(s), and Year of Publication of the retrieved records along with push button, which shows the “mfn”. When the “mfn” button is clicked the full details of the selected record is shown (It executes another set of files – “cita.in”, “cita.cgi”, “cita.pft ”, “citadet.pft”, “cita.epi” and “citadet.epi”).
Some conditional statements included are same as in the “clairh.pft” to display heading “Search Result” and the total number of records retrieved at the top of each page. All retrieved records are displayed 20/page. The “Citation” record display is shown in figure 4.
The full listing of this file is as follows:
mhl, | |||||
if val(v1001)=1 or f(val(v1001)+0,0,0) = f(val(v6019)+1,0,0) then | |||||
'<font size=5>Search
Result:</font><br><br><font size=3>', v1002 ' record(s) retrieved for the query : <b>',v1021,'</b>''</font><p>' '<table width="100%"> <tr> |
|||||
<td><b><center>No.</b></center></td> <td width="20%"><b><p style="margin-left: 20"> Call Number</b></td> <td width="50%"><b><center>Title</b></center></td> <td width="15%"><b><center>Year of Publication</center></b></td> <td width="20%"><b><center>Click for<br>Full Record</center></b></td> |
|||||
</tr> <tr> |
|||||
<td colspan="5"><hr></td> | |||||
</tr> </table>' if val(v1001)>=val(v1031) then |
|||||
'<div
align="center"><center>' '<table width="100%" border=0>' |
|||||
'<tr> | |||||
<td><i><b>'v1001/,'</i></b></td>' '<td width=20%>' if p(v50) then ,(v50^*""," "v50^b""," "v50^d""/),/fi, if p(v90) then ,(v90^*""," "v90^b""/),/fi, if p(v99) then ,(v99^*""/),/fi, '</td>' |
|||||
'<td
width="50%"><b><p align="justify">' if p(v245) then v245^*"",v245^b"",'</b>',/fi,/ if p(v100) or p(v110) or p(v130) or p(v700) or p(v710) then |
|||||
if p(v111) then | |||||
' by ',v100^*" ",v100^b" ",v100^c" ",v100^d" ",v100^q""," "v110^*" ",v110^b" ", " "v130""," "d700,v700+|; |, (v710^*" ",v710^b" "/),' at ',v111" "," "(v500" "/) | |||||
else | |||||
' by ',v100^*" ",v100^b"",v100^c" ",v100^d" ",v100^q""," "v110^*" "," "v110^b""," "v130"",“ "d700v700+|; |," "d710,(v710^*" ",v710^b" "/)," "d500,(v500" "/),/ | |||||
fi,/ | |||||
else | |||||
if p(v111) then | |||||
' at ',v111,/ " "(v500""/) | |||||
else | |||||
," "(v500""/) | |||||
fi,/ | |||||
fi,/ '</p> </td>' '<td width="15%">' if p(v260^c) then ,'<center>'v260^c,'</center>' else '<center>-</center>' /fi '</td>' |
|||||
,fi | |||||
'<td> <center>' '<form action="/scripts/wwwi32.exe/[in=cita.in]/" method="post">'/ '<input type=submit name="button" value="'mfn'">'/'</center></form>' '</td> |
|||||
</tr>' '</table> </center></div><p><p>' |
Figure 4. Citation Display
6.8.1. Input Parameter File for Full Display of Selected Record
The input parameter file (“cita.in”) for full display of record selected by clicking the Record Number “mfn” button in “Full Record” display resides in the directory C:\INETPUB\SCRIPTS and executes when “mfn” push button of the “Citation” display type is clicked. At the time of button click the value of “mfn” is stored in the tcg=2001, for example if the clicked “mfn” is 34 the v2001^v equals to 34.
The full listing of this file is as follows:
ctttype=text/html cipar=c:\isis\data\clair.cip tcg=2001 pfxtag=tag cgi=@cita.cgi |
6.8.2. CGI File for Full Display of Selected Record
The GCI file (“cita.cgi”) for display of full record selected by clicking the “mfn” button resides in the directory C:\ISIS\DATA, which specifies the database name, FROM which record TO which record to be retrieved (the beginning and ending record to be retrieved), the print display format file and the epilog file.
The full listing of this file is as follows:
'db=clair'/, 'from='v2001^v/, 'to='v2001^v/, 'pft=@citadet.pft'/, 'epilog=@citadet.epi'/ |
'from='v2001^v/,
'to='v2001^v/,
When the “mfn” button is clicked, the “mfn” of the selected record stored gets in v2001. That is, if the clicked “mfn” is 5 then the v2001^v equals to 5.Here the v2001^v assigned to from and to clause therefore becomes from = 5 and to = 5 which in turn brings out the detail of “mfn” 5 alone in “Full Record” display type. |
6.8.3. Format for Full Display of Selected Record
The print/display format file (“citadet.pft”) for full display of record selected by clicking the button “mfn” is similar to the “clairh.pft” file but it displays one record at a time as shown in figure 4. This resides in the directory C:\ISIS\DATA.
Figure 5. Full Display of Selected Record
The full listing of this file is as follows:
mhl, '<font size=5>Search Result:</font><br><br> |
|
'<div align="center"><center>' '<table width="100%" border=0>'if p(v100) then '<tr> |
|
<td
width="30%" ><p style="margin-left: 35"><i>Personal
Author </i></td> <td>',v100^*"",v100^b"",v100^c"",v100^d"",v100^q"",'</td> |
|
</tr>'/fi,if
p(v110) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Corporate
Author </i></td> <td>',v110^*"",v110^b"",'</td> |
|
</tr>'/fi,if
p(v111) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Conference
</i></td> <td>',v111'</td> |
|
</tr>'/fi,if
p(v130) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Uniform
Title - author </i></td> <td>',v130'</td> |
|
</tr>'/fi,if
p(v245) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Title
</i></td> <td>',v245^*"",v245^b"",'</td> |
|
</tr>'/fi,if
p(v246) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Variant
Title </i></td> <td>',v246+|: |,'</td> |
|
</tr>'/fi,if
p(v250) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Edition
</i></td> <td>',v250^*"",v250^b"",'</td> |
|
</tr>'/fi,if
p(v260) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Imprint
</i></td> <td>',v260^*"",v260^b"",v260^c"",'</td> |
|
</tr>'/fi,if
p(v310) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Frequency
of Publication </i></td> <td>',v310,'</td> |
|
</tr>'/fi,if
p(v300) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Physical
Description </i></td> <td>',(v300^*"",v300^b"",v300^c"",v300^d""/),'</td> |
|
</tr>'/fi,if
p(v440) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Series
</i></td> <td>',(v440^*"",v440^n"",v440^p"",v440^v""/),'</td> |
|
</tr>'/fi,if
p(v490) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Series
Corporate Title </i></td> <td>',(v490^*"",v490^v""/),'</td> |
|
</tr>'/fi,if p(v41) then '<tr> | |
<td
width="30%"><p style="margin-left: 35"><i>Other
Language </i></td> <td>',v41^*"",v41^g"",v41^h"",'</td> |
|
</tr>'/fi,if
p(v500) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Note
</i></td> <td>',(v500""/),'</td> |
|
</tr>'/fi,if
p(v502) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Thesis
Note </i></td> <td>',(v502""/),'</td> |
|
</tr>'/fi,if
p(v505) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Contents
Note </i></td> <td>',(v505^*""/),'</td> |
|
</tr>'/fi,if
p(v650) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Subject
</i></td> <td>',v650+|; |/,'</td> |
|
</tr>',fi,/if
p(v700) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Alternate
Personal Author </i></td> <td>',v700+|; |,'</td> |
|
</tr>',fi,/if
p(v710) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Alternate
Corporate Author </i></td> <td>',(v710^*"",v710^b""/),'</td> |
|
</tr>',fi,/if
p(v711) then '<tr> |
|
<td width="30%"><p style="margin-left: 35"><i>Added Conference </i></td> <td>',(v711^*"",v711^c"",v711^d"",v711^e"",v711^n""/),'</td> | |
</tr>'/fi,if
p(v780) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Earlier
Title </i></td> <td>',(v780""/),'</td> |
|
</tr>'/fi,if
p(v785) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Continues
As </i> </td> <td>',(v785""/),'</Td> |
|
</tr>'/fi,if
p(v800) then '<tr> |
|
<td width="30%"><p style="margin-left: 35"><i>Series-Person-Added </i></td> <td>',(v800^*"",v800^b"",v800^c"",v800^d"",v800^q""/),'</td> | |
</tr>'/fi,if
p(v810) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Series-Corporate-Added
</i></td> <td>',(v810| |/),'</td> |
|
</tr>'/fi,if
p(v811) then '<tr> |
|
<td width="30%"><p style="margin-left: 35"><i>Series-Conference-Added </i></td> <td>',(v811^*"",v811^c"",v811^d"",v811^e"",v811^n""/),'</td> | |
</tr>'/fi,if
p(v50) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>LC
Call No </i></td> <td>',(v50^*""," "v50^b""," "v50^d""/),'</td> |
|
</tr>'/fi,if
p(v90) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>LC
Type Call No</i></td> <td>',(v90^*""," "v90^b""/),'</td> |
|
</tr>'/fi,if
p(v99) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Local
Call No </i></td> <td>',(v99^*""/)'</td> |
|
</tr>'/fi,if
p(v20) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>ISBN
</i></td> <td',(v20^*""/),'</td> |
|
</tr>'/fi,if
p(v22) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>ISSN
</i></td> <td',(v22^*""/),'</td> |
|
</tr>'/fi,if
p(v850) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>AIT
Holdings </i></td> <td>',(v850""/),'</td> |
|
</tr>'/fi,if
p(v362) then '<tr> |
|
<td
width="30%"><p style="margin-left: 35"><i>Library
Has </i></td> <td>',(v362""/),'</td> |
|
</tr>'/fi,
'</table>’ ‘</center></div><br><br>' <h4><center>Please use the Back Button in your Browser to view previous page</center></h4>' |
6.8.4. Epilog File for Full Display of Selected Record
The epilog file (“citadet.epi”) for full display of record selected by clicking button “mfn “ , resides in the directory C:\ISIS\DATA and is used for end process of the citations display.
The full listing of this file is as follows:
'<body><center>',/ | |
select s(v1091) | |
case '1': '<H4>Fatal Error
!</H4>'/, case '3': '<H4>Error in Search syntax ! Please reformulate the query</H4>'/, case '4': '<H4>Error: Search run-time exception !</H4>'/, case '5': '<H4>Error: Format syntax !</H4>'/, Case '6': '<H4>Error: Format run-time exception !</H4>'/, case '7': '<H4>No records were retrieved !</H4>'/, |
|
,endsel, | |
'<br><font
size=3><p align="right"> [<a href="http://
www.libres.ait.ac.th /web-catalog.htm">Web
Catalog</a>] [<a href="http:// www.libres.ait.ac.th /guided-search.htm">Guided Search</a>] [<a href="http:// www.libres.ait.ac.th /simple-search.htm">Simple Search</a>] </p></font>'/ '</body>', '</html>', |