scott003.zip

10/01/95

Hobbes Directory for scott003.zip
ftp://hobbes.nmsu.edu/os2/network/tcpip

URL:
http://sprawl.sensemedia.net:8080/people/scott/scott.html
http://sprawl.sensemedia.net:8080/people/scott/scotlist.html
Note: the sensemedia.net site contains scott002.zip

Files:   scotlist.htm
	 scott003.txt
	 001.htm through 101.htm
	 

scott003.zip is an interactive web browser home page
of 14,760 alphabetized web sites in 95 different categories.

Unzip scott003.zip into drive:\scott

scott003.zip should work with most web browsers.

Scott's hotlist is accesible from:
http://sprawl.sensemedia.net:8080/people/scott/scott.html
http://sprawl.sensemedia.net:8080/people/scott/scotlist.html

scott003.zip is available from:
14,760 sites in 95 categories
ftp://hobbes.nmsu.edu/os2/network/tcpip/scott003.zip


scott003.zip is very useful for navigating the web particularly
for first time users.  Just open the files scotlist.htm from one's web
browser and click onto the categories and sites one desires.

scott003.zip is posted as free ware and it may be used on other
web homepages to provide other links to the web.  scott003.zip
is update as I have time, which I frequently have less of recently.

Any feedback would be appreciated.  Email comments to:
Michael Scott
email:  mikescot@ix.netcom.com

Enjoy surfing the net !


UNIX note:
scott003.zip is created with the OS/2 Enhanced Editor on a PC computer.
It's URL site at: http://sprawl.sensemedia.net:8080/people/scott/scotlist.html
is running on a UNIX machine.  However depending on the UNIX machine and its web
browser, it may or may not work.

UNIX script from connector.de (it works there)

These two scripts worked fine on my Linux 1.0.8 station with perl 5 and
an arbitrary shell, say BASH.

Main program :

Here are the two scripts appropriate for the current version of your list:

loop.sh : Main Loop to run the conversion for every *.htm-file
----------------------------------------------------------------------------=
---
#!/bin/bash
for f in *htm
do
echo $f
transform.pl $f
done


transform.pl : Conversion routine to be run for every *.htm-file
----------------------------------------------------------------------------=
---=20
#!/usr/local/bin/perl
# or wherever your perl is

# Scotlist for UNIX conversion (for scott02.zip, at least)
# by Matthias Reinwarth, Frankfurt, Germany, 06.Feb 95
# provided AS IS, no warranty etc
#
# Run this for every file in the original-archive
# and a slightly changed file <name>.html will be written to the same=
 directory
# which should be recognized correctly by accessing browsers

# Please always use the recent versions of this script, since Mike changes
# the structure of the lists from time to time

($file) =3D @ARGV;

open (IN,"$file");

$outfile =3D $file;
$outfile =3D~ s/\.htm/\.html/g;

open (OUT,">$outfile");

while (<IN>)
{
	$_ =3D~ s/scott\.htm/scott\.html/g;
	$_ =3D~ s/scotlist\.htm/scotlist\.html/g;
	if ($_ =3D~ /0[0,1,2,3,4,5,6,7,8,9][0,1,2,3,4,5,6,7,8,9]\.htm/)
	{
		$_ =3D~ s/\.htm/\.html/g;
	}
	print OUT;
}

close (IN);
close (OUT);

# Comment the following  out, if you want to delete the unconverted files
# system "rm $file";

----------------------------------------------------------------------------=
---

Please inform the users of the older versions of the script, that there is a=
=20
newer version that does the work correctly.

END
