HTML Search

AdamSnow

Diamond Member
Nov 21, 2002
5,736
0
76
I have a large file folder full of PDF's, all numbered by date... 010106.pdf to 041206.pdf and every day in between... the PDF's are all OCR so we're able to search on them...

However - these are in a network share.... and instead of having 365 files every year to look through, I want to make an "index.html" page that people can bookmark that will allow searching of files inside that folder...

Is that possible? How would I go about doing that? This will not be published on any webserver or anything, strictly inside the folder.

Any help is appreciated.
 

2Xtreme21

Diamond Member
Jun 13, 2004
7,044
0
0
Do you mean like having a webpage that will just show you the index of a given folder? (List every file and click to download) Or do you mean a webpage that will include every pdf embedded inside it? If you're doing the latter, you're gonna have a hella big file.

I guess I'm not sure what you're asking.
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Originally posted by: 2Xtreme21
Do you mean like having a webpage that will just show you the index of a given folder? (List every file and click to download) Or do you mean a webpage that will include every pdf embedded inside it? If you're doing the latter, you're gonna have a hella big file.
You can't put pdfs in an html file :confused:

It would be simple to write a script that picks up all the filenames and inserts them into a template html fragment. For the most possible flexibility, it would be cool to insert them as elements in a javascript array. The, when the user opens the file, you can use javascript to do an interactive search on the array an provide a link to the file.

However, unless you're running a webserver of some kind, you'll have to update the html file every time the list of files changes.
 

AdamSnow

Diamond Member
Nov 21, 2002
5,736
0
76
Thanks for the replies guys!

A website that posted every new file inside of it would work - I *can* have this published to a web server, but was thinking I would like to avoid that... Any suggestions on a script that would do that, as well as add searching to it if I were to add it to a web server?

Only limitation on Webserver, as that it can't be PHP... PHP is blocked here for some reason... :(

-- Indexing service... looking into that, Thanks for the heads up Smilin!