Abstract
Describes a program that indexes bird photos using Web pages.
This publication is available in Web form and also as a PDF document. Please
forward any comments to tcc-doc@nmt.edu.
Table of Contents
class TaxonPhotoSet: The taxonomic tree
nodeTaxonPhotoSet.__init__(): ConstructorTaxonPhotoSet.addArchImage(): Add one
photoTaxonPhotoSet.__addReferred(): Basis caseTaxonPhotoSet.__addContained():
Recursive caseTaxonPhotoSet.walk(): Walk the treeTaxonPhotoSet.nForms(): Number of
contained formsTaxonPhotoSet.genForms(): Generate
referred FormPhotoSet objectsTaxonPhotoSet.buildPage(): Construct
XHTMLTaxonPhotoSet.__buildSingleForm():
The taxon has only one formTaxonPhotoSet.__webName(): Fill in
scientific and English namesTaxonPhotoSet.__buildMultiForms():
The taxon has multiple formsTaxonPhotoSet.__buildFormLine():
Build one form link and form pageclass FormPhotoSet: All photos for one
nameFormPhotoSet.__init__(): ConstructorFormPhotoSet.addArchImage(): Add one
photoFormPhotoSet.genArchImages():
Generate contained photosFormPhotoSet.pathName(): Form page
relative path nameFormPhotoSet.buildPage(): Build the
XHTML page for one formformSet.__buildTable(): Build the
image tableformSet.__addRow(): Generate one row
of the tableFormPhotoSet.__addThumbnail(): Add
the thumbnail cellFormPhotoSet.__addSize(): Add the
size cellFormPhotoSet.__addData(): Add the
cataloging data cellThis document describes a program that builds a set of Web pages that index a collection of bird photos. See these related documents for other pieces of this system:
An XML-based image cataloging system. Start here with an explanation of the basic requirements for the system, and the format of the XML catalog of images.
archx: A program to index a
photo archive. This document
explains how scans are organized into CD-sized
directories, and provides a program to build XML-based
indices of the contents of each directory. It also
reduces each image to a standard thumbnail size and
places the thumbnails in a separate directory.
A system for representing bird taxonomy. Because it is customary to organize bird records in phylogenetic order, this system slots birds into biological classifications.
Once images are cataloged, scanned, and placed into archive directories, the catweb script builds a set of web pages that list all images according to what kinds of birds are found in each image, with thumbnail images.