1. Turn on "directory browsing" on the web server (so you can see the contents of a directory without having a web page that points to each file) and add the location to the start_url of the htdig.conf file
2. Use PHP, ASP, JSP or some other server-side technique to reproduce option 1. Here is a PHP script that reads the contents of a directory:
$path = pathinfo($PATH_TRANSLATED);
$contents = opendir($path["dirname"]);
while( $file = readdir($contents) )
{
if ( !eregi("^\.{1,2}$", $file) ) // don't index UNIX self and up pointers
{
$file = trim($file);
if ( !eregi( "^index\.php$", $file ) && !ereg("^.{1,2}$", $file) )
{
echo "<a href=\"".rawurlencode($file)."\">$file</a><br>\n";
}
}
}
Ted Stresen-Reuter
On Thursday, November 7, 2002, at 10:39 AM, Dave Parfitt wrote:
I want people to be able to create pdf files and save them to a directory on our intranet.------------------------------------------------------------------------------------
I don't want to make a hyperlink to each new pdf file on a webpage in order for that new pdf
file to be indexed. Can this be done?
thank you.
Dave P.
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <htdig-general-
[EMAIL PROTECTED]> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html
Homepage: http://www.tedmasterweb.com/
My JavaScript Window Management Tool: http://www.tedmasterweb.com/wmo/
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

