Version 1.12

Version 2.0b
Homepage finder

Mathew Goldstein has modified pfind for use at GMU. His version does some syntax checking on the pages and lists them by title. Check it out: ptfind.pl.


Description

pfind will search the local machine from which it was run for user homepages. Finding userids and home directories in the UNIX passwd file, it will search a users home directory for $WEBDIR. If this directory exists and is readable by the user who ran pfind then it is counted as containing a homepage.

Found homepages will be printed to a html file utilizing tables. The output is also viewable by older browsers and lynx. Homepages are catagorized by users home directory. Each catagory will be printed in a seperate table.

For instance, users whose home directory paths contain student will be considered to be a student and will be printed in the student table of homepages.

<Base TARGET="_new"> added, so now you don't have to redraw the whole index when you are finished viewing a listed page. Output may also now be in HTML or VRML format. VRML part is a little wacked. I noticed there is a VRML perl module available now. Maybe I'll try that out sometime. Note: I made a small change (7/27/96) that will greatly reduce the size of the output. On an index of 450 pages the index shrunk by 11k.


pfind in Action

These sites use a modified pfind.


Command Line Switches

-h
Help.

-vrml
Output in VRML format.

-h2v
Convert old style page to VRML output.
Usage: pfind -h2v old.html > new.wrl

User Configurable Variables

You may modify these variables to your heart's content. There are some new VRML related variables that are just kludges. I'll change these later, so I won't document them yet. You'll figure it out.

$HEADER = "/staff0/dbewley/public_html/pfind.header";
HTML to be inserted at the top of the body.

$FOOTER = "/staff0/dbewley/public_html/pfind.footer";
HTML to be tagged to bottom of output.

$WEBDIR = "public_html";
Default user HTML directory.

$SERVER = "www.iupui.edu";
Local web server name.

$ULIMIT = -1;
Maximum users to read from passwd -1 for all. This is usefull if you are making changes to the program and would like to run it without waiting for the entire passwd file to be processed.

$BACKGROUND = "";
Output page background of course.

$MAX_COLUMNS = 9;
Number of columns in tables.

Bewley Internet Solutions perl page