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, 5 months ago) by boris
Branches: MAIN
CVS tags: HEAD
Initial revision

#!/usr/bin/perl

=head1 NAME

addlinks.pl -- analyze DB changelog to add links between DB and Letopis

=head1 SYNOPSIS

changecities.pl B<-l> I<links> B<-s> I<src_directory> B<-h> I<html_directory>

=head1 DESCRIPTION

The program analyzes links file for lines in the format
  text_file -> html_file

and for each line adds 

  URL:
  http:/znatoki/boris/reports/html_file

to the text file and

  <ul>
  <li><href="/znatoki/cgi-bin/db.cgi?tour=text_file">Вопросы турнира в Базе Данных Интернет-клуба "Что? Где? Когда?"</a></li>
  </ul>

to the html file. 

=over 4

=item B<-l> I<links>

Location of the Links file

=item B<-s> I<src_directory>

Directory of text files

=item B<-h> I<html_directory>

Directory of html files


=back

=head1 AUTHOR

Boris Veytsman

=head1 $Id: addlinks.pl,v 1.1 2000/10/19 18:04:18 boris Exp $

=cut

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