Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- highlight

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
highlight
Synopsis
/infobank/programs/html/main/highlight/highlight.for
Description
  Program to update and maintain historic InfoBank highlights.

       
AUTHOR
  Clint Steele    2/15/2008


    
Reads
          read (HomeFile, '(q,a)', end = 89)
     *        ALineLength, ALine(1:ALineLength)
          read (HomeFile, '(q,a)', end = 89)
     *        ALineLength, ALine(1:ALineLength)
          read (HomeFile, '(q,a)', end = 89)
     *        ALineLength, ALine(1:ALineLength)
          read (ControlFile, '(q,a)', end = 99)
     *        ControlLength, ControlLine(1:ControlLength)
Writes
      write (ALine, '(4096x)')
          write (TempFile, '(a)') ALine(1:ALineLength)
          write (TempFile, '(a)') ALine(1:ALineLength)
      write (SummaryFile, '(a)')
     *'<include>/infobank/programs/html/tools/home
      write (SummaryFile, '(a)')
     *'<include>/infobank/programs/html/tools/home.whatsnew
      write (SummaryFile, '(a)')
     *'<include>/infobank/programs/html/tools/home.newfieldwork
      write (SummaryFile, '(a)')
     *'<include>/infobank/programs/html/tools/home.uses
      write (SummaryFile, '(a)')
     *'<include>/infobank/programs/html/tools/home.cmgstaff
      write (SummaryFile, '(a)')
     *'<include>/infobank/programs/html/tools/home.cmgfacilities
      write (SummaryFile, '(a)')
     *'<include>/infobank/programs/html/tools/home.cmgdirections
      write (SummaryFile, '(a)')
     *'<include>/infobank/programs/html/tools/virtualglobesstart
      write (SummaryFile, '(a)')
     *'<include>/infobank/programs/html/tools/virtualglobesend
      write (SummaryFile, '(a)')
     *'<include>/infobank/programs/keep/contents
      write (SummaryFile, '(a)')
     *'<
      write (SummaryFile, '(a)')
     *'<include>/infobank/programs/html/tools/search
      write (SummaryFile, '(/,a)')
     *'<table border="3" bgcolor="ccffff
              write (SummaryFile, '(2x,a)') '<t
              write (SummaryFile, '(2x,a)') '</t
              write (SummaryFile, '(2x,a)') '<t
          write (SummaryFile, '(4x,a)') '<td width="100
          write (SummaryFile, '(6x,a)') 
     *        '<a href="http://walrus.wr.usgs.gov/infobank/programs
     *        '/html/main/highlight/html/'//
     *        ControlLine(Tab(3)+1:Tab(4)-1)//'" target="new2">
     *        '<img 
     *        'src="http://walrus.wr.usgs.gov'//
     *        ControlLine(Tab(4)+1:ControlLength)//
     *        '" alt="'//ControlLine(Tab(2)+1:Tab(3)-1)//
     *        ' thumbnail" width="100">&l
          write (SummaryFile, '(6x,a)') '<b
          write (SummaryFile, '(6x,a)') 
     *        '<a href="http://walrus.wr.usgs.gov/infobank/programs
     *        '/html/main/highlight/html/'//
     *        ControlLine(Tab(3)+1:Tab(4)-1)//'" target="new2">
     *        ControlLine(Tab(2)+1:Tab(3)-1)//'</
          write (SummaryFile, '(6x,a)') '<b
          write (SummaryFile, '(6x,a)')
     *        ControlLine(1:Tab(1)-1)
          write (SummaryFile, '(4x,a)') '</t
      write (SummaryFile, '(2x,a)') '</t
      write (SummaryFile, '(a)') '</tabl
Opens
      open (unit = HomeFile,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/programs/html/main/home.html')
      open (unit = TempFile,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/tmp/highlights.header.temp')
      open (unit = TempFile,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/tmp/highlights.footer.temp')
      open (unit = SummaryFile,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/infobank/programs/html/main/'//
     *             'highlight/highsum.txt')
      open (unit = ControlFile,
     *     access = 'sequential',
     *     form = 'formatted',
     *     status = 'unknown',
     *     name = '/infobank/programs/html/main/highlight/control.keep')
Calls
      call system ('/bin/cat /tmp/highlights.header.temp > 
     *    '/infobank/programs/html/main/highlight/html/'//
     *    ControlLine(Tab(3)+1:Tab(4)-1))
      call system ('/bin/cat '//
     *    '/infobank/programs/html/main/highlight/txt/'//
     *    ControlLine(Tab(3)+1:Tab(4)-1-4)//'txt >&g
     *    '/infobank/programs/html/main/highlight/html/'//
     *    ControlLine(Tab(3)+1:Tab(4)-1))
      call system ('/bin/cat /tmp/highlights.footer.temp >&g
     *    '/infobank/programs/html/main/highlight/html/'//
     *    ControlLine(Tab(3)+1:Tab(4)-1))
      call system ('/bin/rm /tmp/highlights.*.temp')

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/main/highlight/highlight.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Wed Feb 12 03:11:38 PST 2014  (chd)