Changeset 2547


Ignore:
Timestamp:
2001-06-13T16:22:26+12:00 (23 years ago)
Author:
jrm21
Message:

don't add <a href> tags for USMARC field 856 (online access), as it is not
guaranteed to be a URL - just some text describing online access...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/yaz/client/yaz_zclient.c

    r1616 r2547  
    55 *
    66 * $Log$
     7 * Revision 1.3  2001/06/13 04:22:26  jrm21
     8 * don't add <a href> tags for USMARC field 856 (online access), as it is not
     9 * guaranteed to be a URL - just some text describing online access...
     10 *
    711 * Revision 1.2  2000/10/26 06:37:46  jrm21
    812 * Now makes hyperlinks for MARC field 856 (Electronic Access/Location),
     
    17091713     200 and 249... */
    17101714      if (!titleonly) {
    1711     /* THIS IS GETTING MESSY - THERE MUST BE A "BETTER WAY" (tm) -
    1712        read in from file perhaps?? */
     1715    /* This should probably be read in from a separate file.
     1716       This is also hard-coded for USMARC/MARC21 fieldnames!!! */
    17131717
    17141718    /* print out what kind of tag this is */
     
    17461750    char *field_host_item="<tr><td>In:</td><td>";
    17471751    char *field_series_corpname="<tr><td>Series - Organisation:</td><td>";
    1748     char *field_url="<tr><td>Electronic Access</td><td><a href=\"";
     1752    /*char *field_url="<tr><td>Electronic Access</td><td><a href=\"";*/
     1753    char *field_url="<tr><td>Electronic Access</td><td>";
    17491754    /*char *field_other="<tr><td>(other field):</td><td>";*/
    17501755    char tag_num[100];
     
    18701875        else {
    18711876          /* end of record, so close HTML table row */
     1877#if 0
    18721878          if (whichtag==856) /* special case: this is a url! */
    18731879            title=safeappendstr(title,&title_maxlen,&title_curlen,
    18741880                    "\">Uniform Resource Locator</a>");
     1881#endif
    18751882          title=safeappendstr(title, &title_maxlen, &title_curlen,
    18761883                      "</td></tr>\n");
Note: See TracChangeset for help on using the changeset viewer.