Changeset 1616
- Timestamp:
- 2000-10-26T19:37:46+13:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/packages/yaz/client/yaz_zclient.c
r1343 r1616 5 5 * 6 6 * $Log$ 7 * Revision 1.2 2000/10/26 06:37:46 jrm21 8 * Now makes hyperlinks for MARC field 856 (Electronic Access/Location), 9 * so you too can point and click... 10 * 7 11 * Revision 1.1 2000/08/03 03:10:01 johnmcp 8 12 * Added the YAZ toolkit source to the packages directory (for z39.50 stuff) … … 1705 1709 200 and 249... */ 1706 1710 if (!titleonly) { 1711 /* THIS IS GETTING MESSY - THERE MUST BE A "BETTER WAY" (tm) - 1712 read in from file perhaps?? */ 1713 1707 1714 /* print out what kind of tag this is */ 1708 1715 char *tagname; … … 1733 1740 char *field_sub_note="<tr><td>Subject Notes:</td><td>"; 1734 1741 char *field_sub_topic="<tr><td>Subject - Topic:</td><td>"; 1742 char *field_sub_geog="<tr><td>Subject - Location:</td><td>"; 1735 1743 char *field_added_persname="<tr><td>Author Note - Name:</td><td>"; 1736 1744 char *field_added_corpname="<tr><td>Author - Organisation:</td><td>"; … … 1738 1746 char *field_host_item="<tr><td>In:</td><td>"; 1739 1747 char *field_series_corpname="<tr><td>Series - Organisation:</td><td>"; 1748 char *field_url="<tr><td>Electronic Access</td><td><a href=\""; 1740 1749 /*char *field_other="<tr><td>(other field):</td><td>";*/ 1741 1750 char tag_num[100]; … … 1767 1776 case (630): {tagname=field_sub_note;break;} 1768 1777 case (650): {tagname=field_sub_topic;break;} 1778 case (651): {tagname=field_sub_geog;break;} 1769 1779 case (700): {tagname=field_added_persname;break;} 1770 1780 case (710): {tagname=field_added_corpname;break;} … … 1772 1782 case (773): {tagname=field_host_item;break;} 1773 1783 case (810): {tagname=field_series_corpname;break;} 1784 case (856): {tagname=field_url;break;} 1774 1785 default: 1775 1786 if (whichtag>=90&&whichtag<=99) … … 1859 1870 else { 1860 1871 /* end of record, so close HTML table row */ 1872 if (whichtag==856) /* special case: this is a url! */ 1873 title=safeappendstr(title,&title_maxlen,&title_curlen, 1874 "\">Uniform Resource Locator</a>"); 1861 1875 title=safeappendstr(title, &title_maxlen, &title_curlen, 1862 1876 "</td></tr>\n");
Note:
See TracChangeset
for help on using the changeset viewer.