[Edit][History] last modified december 3, 2008
/templates/advanced_search.tmpl: error in processing template: AttributeError: 'title' (falling back to default template)
/templates/advanced_search.tmpl: error in processing template: AttributeError: 'title' (falling back to default template)
/opt/openlibrary/production/openlibrary/plugins/oltemplates/templates/advanced_search.html: error in processing template: AttributeError: 'title' (falling back to default template)

title

  • UniMARC field: 200 $$a (everything after ">>" if present)
  • Example: 200 $$a Nuova introduzione alla filologia romanza
  • Output: Nuova introduzione alla filologia romanza

title_prefix

  • UniMARC field: 200 $$a from "<<" to ">>"
  • Example: 2001 L $$a<<Il >>cinema secondo Hitchcock
  • Output: Il
  • subtitle

    • UniMARC field: 200 $$e
    • Example: 2001 L $$a<<La >>rivoluzione inavvertita$$ela stampa come fattore di mutamento
    • Output: la stampa come fattore di mutamento

    other_titles

    • UniMARC field: 510-518, 540-541 (all subfields except $$b)
    • Example: (none found in sample)
    • Output:
    • UniMARC field: 559 $$a
    • Example: 559 L $$aStrutture e funzioni cerebrali
    • Output: Strutture e funzioni cerebrali
    • Note: this may be a table of contents field

    authors

    • UniMARC field: 700 $$a, b, c, d
    • Example: 700 1 L $$aMazzaperlini,$$bMario
    • Output: $$b[space]$$a[space]$$c[comma-space]$$d, e.g. Mazzaperlini, Mario
    • Note: no examples of $$c and $$d in sample

    by_statement

    • UniMARC field: 200 $$f, $$g
    • Examples:

      2001 L $$a<<Il >>cinema secondo Hitchcock$$fFrancois Truffaut

      2001 L $$a<<L'>>oceano e il ragazzo$$fGiuseppe Conte$$gintroduzione e note di Giorgio Ficara

    • Output: $$f[comma-space]$$g

    publish_date

    • UniMARC field: 100 $$a pos. 09-12
    • Example: 100 L $$a19990917d1983----|||u0itay50------ba
    • Output: 1983

    edition_name

    • UniMARC field: 205 $$a
    • Example: 205 L $$a2. ed.
    • Output: 2. ed.

    languages

    • UniMARC field: 101 $$a (3 chars)
    • Example: 1011 L $$aita
    • Output: ita
    • (says repeatable; not sure if field or subfield repeats)

    description

    • UniMARC field: 330 $$a
    • Example: ? none in sample
    • Output:

    notes

    • UniMARC field: 300 - 326 (varying multiple subfields)
    • Example: 300 L $$aIn testa al front: T.M.C. Asser Institut, The Hague
    • Output: If more than one subfield, separate with [comma-space]

    genres

    • UniMARC field:
    • Example:
    • Output:

    table_of_contents

    • UniMARC field: 327 $$a
    • Example: 3271 L $$aVol. 1. : Materia coscienza e cultura / Karl R. Popper$$aVol. 2. : Strutture e funzioni cerebrali / John C. Eccles$$aVol. 3. : Dialoghi aperti tra Popper e Eccles
    • Output:
    • Note: ToC's can express multiple levels:
      $a Text of Note (Repeatable)
      $b Title of level 1 subdivision (Repeatable)
      $c Title of level 2 subdivision (Repeatable)
      etc. up to $i. Note sure what to do if we run into these. Might be good to log them and take a look.

    work_titles

    • UniMARC field: 500 $$a
    • Example: none in sample
    • Output:

    series

    • UniMARC field: 225 $$a
    • Example: 225| L $$aClassici Bompiani
      225| L $$a<<Le>> occasioni$$v6
    • Output: $$a[space+semi-colon+space][v.]$$v
    • Note the "non-filing" characters at the beginning. We don't have a place for them, so I think we need to drop the angle brackets from the string and leave in the non-filing part.

    physical_dimensions

    • UniMARC field: 215 $$d
    • Example: 215 L $$a311 p. , tav. di fot.$$d18 cm
    • Output: 18 cm

    physical_format

    • UniMARC field: This is in an Aleph field in the records: FMT
    • Example: FMT L BK
    • Output: ?? how are we keeping these?
    • Note: FMT field doesn't have subfield codes (no $$)

    pagination

    • UniMARC field: 215 $$a
    • Example: 215 L $$a311 p. , tav. di fot.
      215 L $$a893 p.
    • Output: 311 p. , tav. di fot.

    subjects

    • UniMARC field: 600-606 (various subfields), 610 $$a
    • Example: 6100 L $$aDanni$$aResponsabilità
    • Output: $$a[space-hyphen-hyphen-space]$$a (etc.)
    • Note: In this file, the only subject field seems to be the 610, and only with $$a subfields. The fields in the range 600-606 have more subfields, somewhat like the LCSH fields. Let's look for those fields before we code for them -- they're somewhat complex, and also need to feed into the facets.

    isbn_10

    • UniMARC field: 010 $$a
    • Example: 010 L $$a88-13-17222-2
    • Output: 8813172222 (squeeze out hyphens)
    • Note: I haven't seen 13-digit ISBNs, but let's assume that they'll be in the same format.

    isbn_13

    • UniMARC field:
    • Example:
    • Output:

    dewey_decimal_class

    • UniMARC field: 676 $$a
    • Example: 676 L $$a820.9$$v21.
    • Output: 820.9 ($$a only)
    • Note: $$v is the edition, which we are not currently keeping

    publish_places

    • UniMARC field: 210 $$a
    • Example: 210 L $$aPadova$$cCEDAM$$d1991
    • Output: Padova

    publish_country

    • UniMARC field: 102 $$a
    • Example: 102 L $$aIT
    • Output: IT
    • Note: 2-char code (do we need to mornalize?)

    publishers

    • UniMARC field: 210 $$c
    • Example: 210 L $$aPadova$$cCEDAM$$d1991
    • Output: CEDAM

    contributors

    • UniMARC field: 701, 702 $$a, b, c, d, f (f is date); 710-712 $$a, b, c, d, e, f, g, h, p;
    • Example: 71212 L $$aCongresso dell'Unione Matematica Italiana$$d<17. ;$$f2003 ;$$eMilano>
      702 1 L $$aGaylin,$$bWillard
    • Output: 701, 702 same as 700
      710-712 combine subfields with blank between them
    • Note: Only 702 and 712 in sample