Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- cds2html

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
cds2html
Synopsis
/infobank/programs/html/cds2html/cds2html.for
Description
  Program to convert the tab-based cds.keep file to a .html file.

       
AUTHOR
  Clint Steele     2/6/02

    
MODIFIED
  B.F. 11/21/02

      added 'http://walrus.wr.usgs.gov' to path in call to htmlfoot

    
Reads
          read (90, '(q,a)', end = 99) ALineLength, ALine(1:ALineLength)
Writes
      write (91, '(a)') '<TABLE BORDER="3"
     *         'SUMMARY="layout table"&g
      write (91, '(2x,a)') '<T
      write (91, '(4x,a)') '<T
      write (91, '(6x,a)') 'Source'
      write (91, '(4x,a)') '</T
      write (91, '(4x,a)') '<T
      write (91, '(6x,a)') 'CMG<BR>Co
      write (91, '(4x,a)') '</T
      write (91, '(4x,a)') '<TH COLSPAN="2
      write (91, '(6x,a)') 'Description'
      write (91, '(4x,a)') '</T
              write (91, '(2x,a)') '<T
              write (91, '(4x,a)') '<T
              write (91, '(6x,a)') ALine(1:Tab(1)-1)
              write (91, '(4x,a)') '</T
              write (91, '(4x,a)') '<T
              write (91, '(6x,a)') ALine(Tab(1)+1:Tab(2)-1)
              write (91, '(4x,a)') '</T
              write (91, '(4x,a)') '<T
              write (91, '(12x,a)') '<IMG SRC="
     *            ALine(Tab(2)+1:Tab(3)-1)//'" '
              write (91, '(12x,a)') 'ALT="'//
     *            ALine(Tab(3)+1:Tab(4)-1)//'" '
              write (91, '(12x,a)') 'WIDTH="'//
     *            ALine(Tab(4)+1:Tab(5)-1)//'" '
              write (91, '(12x,a)') 'HEIGHT="'//
     *            ALine(Tab(5)+1:Tab(6)-1)//'"&g
              write (91, '(10x,a)') '</T
              write (91, '(10x,a)') '<T
              write (91, '(12x,a)') ALine(Tab(6)+1:Tab(7)-1)
              write (91, '(12x,a)') '<B
              write (91, '(12x,a)') ALine(Tab(7)+1:ALineLength)
              write (91, '(12x,a)') '</T
              write (91, '(2x,a)') '</T
      write (91, '(a)') '</TABL
Opens
      open (unit = 90,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/programs/keep/cds.keep')
      open (unit = 91,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/infobank/programs/html/cds2html/cds.html')
Calls
      call htmlhead (91, 'CMG CD Collection')
      call htmlfoot (91, 'http://walrus.wr.usgs.gov/infobank/' //
     *                         'programs/html/cds2html/cds.html')

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/html/cds2html/cds2html.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Nov 4 03:40:51 PST 2013  (chd)