|
More Information Page Specification
Draft 10/19/04
See also:
Each "More Information Page" has the following
components: Filename, Header, Banner, Server-side
include, More Info Body, Footer. Specifications for
each section follow.
NB: Unless otherwise indicated, tags & indicators
are always deleted before outputting source data;
the first-occuring subfield code in each field is
deleted; subsequent subfield codes are replaced by
spaces.
1. Filename. The filename is derived from the
001 of the corresponding incoming CLIO record. For
example:
CLIO 001 = "1671254"
More Info Page filename = "1671254.html"
2. Header. The header includes
- Boilerplate code (to be supplied by Dmitri)
- Variable title information derived from the CLIO
record as follows:
- Get CLIO 245 (NR) subfields $a, $b, $f,
$n, $p content (only)
- Format as single paragraph
- Replace $b subfield code with space-colon-space
if not already present in the data
- Ouput as HTML <title> element followed
by the text "[Resource Information
Page] "
3. Banner. The banner area includes:
- Boilerplate code (to be supplied by Dmitri)
- Variable title information derived from the CLIO
record as follows:
- Get CLIO 245 (NR) subfields $a, $b, $f,
$n, $p content (only)
- Format as single paragraph
- Replace $b subfield code with space-colon-space
if not already present in the data
- Encode as HTML with CSS style classes
as provided by Dmitri
- Resolver URL link(s) to resource
- Get each 856 (R) subfields
$u and $z
- Create one link from
each 856 $u; display any following $z in conjunction
with that link
as specified by Dmitri
4. Server-side include. The server-side include
section consists of:
- Boilerplate code (to be supplied by Dmitri)
- Variable SSI include-file name and path derived
the incoming CLIO 001, e.g.,
CLIO 001 = "1671254"
SSI include file = "includes/1671254.html"
5. More Info Body. The Body section is
composed a set of displays derived from data elements
in the corresponding CLIO record. The full set
of possible data elements is listed in the table below.
Note that not all data elements will occur in each
record; in such cases, no display text or label is
generated. Some data elements may occur more than
once; detailed instructions on handling these are
found in the table below. Mockups of displays
formulated more or less according to these specs are
linked from the Specifications
and Mockups page.
View Change Log
|
Title
|
|
- Get CLIO 245 (NR) subfields $a, $b,
$f, $n, $p content (only)
- Format as single paragraph
- Replace $b subfield code with space-colon-space
if not already present in the data
|
|
Alternate Title(s)
|
|
- Get each CLIO 246 (R) with IND1 =
1 or 3 (only), subfields $a, $b, $f,
$n, $p content (only)
- Output each repeated 246 content on
new line
|
|
Description
|
|
- Get CLIO 520 (R) field content
- Format each repetition of 520 as single
paragraph
|
|
Subject Keywords
|
|
- Get CLIO 653 (*NR) field content
- Format all repetitions of subfield
|a into a single paragraph
- Replace all subfield codes $a after
the first with ", " (i.e.,
comma, space)
|
|
LC Subject Headings
|
|
Get each CLIO 600
(R), 610 (R), 630 (R), 650
(R), 651 (R)
Replace all subfield codes except
$a with an en-dash '–'
Output each repeated 600, 610, 650
or 651 on a new line
|
| LC
Subject Headings |
|
See revised spec
|
|
Resource Type(s):
|
|
- Get each CLIO 966 field, subfield
$a;
- Translate each code into text using
the following display equivalents:
ar = "Archival resource"
bi = "Biography"
bc = Book Collection
ct = "Catalog"
di = "Dictionary"
dr = "Directory"
en = "Encyclopedia"
ft = "Full-text resource"
im = "Image collection"
ia = "Indexing & abstracting
service (Check CLIO
to locate indexed publications)"
[NB: URL to CLIO included]
jc = "Journal collection"
ma = "Maps, atlases, etc"
nw = "News & current events"
nu = "Numeric database"
sg = "Subject guide"
sr = "Sound recordings"
wb = "Website"
- Begin the display text for each code
on a new line
|
|
Coverage, Updates
|
|
- Get each CLIO 362 (R) field, subfield
$a only; Get CLIO 310 (NR) field,
subfield $a (only)
- Precede each field's content after
the first with a space, en-dash ("–"),
space
- Format as a single paragraph
|
|
Contributors, Sponsors,
Providers
|
|
- Get each CLIO 110
(NR), 710 (R) field,
subfields $a and $b (only)
- Output the content of each repeated 110 / 710 on a new line
|
|
Notes
|
|
- Get each CLIO 546 (R) $a and 500 (R)
$a present, EXCEPT any 500 field that
begins: "$a Title from Web page"
[...]
- Format all 546, 500 fields into a
single paragraph, preceding the content
of each except the first with a space,
en-dash ('–'), space.
|
|
Access Restrictions
|
|
- Get each CLIO 506 (R) field, $a (only)
- Output each repeated 506 on a new
line
|
|
Cite As:
|
|
- Get CLIO 245 (NR) subfields $a, $b,
$f, $n, $p content (only); format
as single paragraph; replace $b subfield
code with space-colon-space if not
already present in the data
- Get first CLIO 260 $a and $b (only)
and concatenate to the end of the
previous paragraph, preceded by a
period-nonbreaking space ". "
- Get CLIO 020 $a or 022 $a and concatenate
to the end of the previous paragraph,
preceded by a nonbreaking space and
the string "ISN: "
- Get each CLIO 246 (R) with IND1 =
1 or 3 (only), subfields $a, $b, $f,
$n, $p content (only); output the
first on a new line, preceded by the
text: "Other title(s): ";
concatenate the content of any subsequent
246 preceded by a space, en-dash ('–'),
space.
- Get CLIO 920 subfield $u (only); if
the content of $u is fewer than 75
characters, output on a new line preceded
by the text "Original URL: ";
otherwise ignore;
- Get each CLIO 856 $u (only); create
a URL with both href and anchor text
equal to the content of $u; output
each 856 $u on a new line, preceded
by the text "Columbia URL: "
|
Change Log
- 8/30/04: URL Link(s) -- Added spec
under section #3 above
- 8/27/04: LC Subject Headings -- Added 600
(R), 610 (R), 630 (R)
- 8/27/04: Contributors, etc. -- Added
110 field
|
6. Footer. The footer consists of: boilerplate
code (to be supplied by Dmitri)
|