File:  [Local Repository] / db / prgsrc / addlinks.pl
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Thu Oct 19 18:04:18 2000 UTC (23 years, 7 months ago) by boris
Branches: MAIN
CVS tags: HEAD
Initial revision

    1: #!/usr/bin/perl
    2: 
    3: =head1 NAME
    4: 
    5: addlinks.pl -- analyze DB changelog to add links between DB and Letopis
    6: 
    7: =head1 SYNOPSIS
    8: 
    9: changecities.pl B<-l> I<links> B<-s> I<src_directory> B<-h> I<html_directory>
   10: 
   11: =head1 DESCRIPTION
   12: 
   13: The program analyzes links file for lines in the format
   14:   text_file -> html_file
   15: 
   16: and for each line adds 
   17: 
   18:   URL:
   19:   http:/znatoki/boris/reports/html_file
   20: 
   21: to the text file and
   22: 
   23:   <ul>
   24:   <li><href="/znatoki/cgi-bin/db.cgi?tour=text_file">Вопросы турнира в Базе Данных Интернет-клуба "Что? Где? Когда?"</a></li>
   25:   </ul>
   26: 
   27: to the html file. 
   28: 
   29: =over 4
   30: 
   31: =item B<-l> I<links>
   32: 
   33: Location of the Links file
   34: 
   35: =item B<-s> I<src_directory>
   36: 
   37: Directory of text files
   38: 
   39: =item B<-h> I<html_directory>
   40: 
   41: Directory of html files
   42: 
   43: 
   44: =back
   45: 
   46: =head1 AUTHOR
   47: 
   48: Boris Veytsman
   49: 
   50: =head1 $Id: addlinks.pl,v 1.1 2000/10/19 18:04:18 boris Exp $
   51: 
   52: =cut

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>