...

Getting a big filelist into my site!

Renners
07-13-2002, 11:30 AM
Hi folks,
I'd like to build a site presenting a large quantity of files to the user in a similar style to that as seen on ***************.com (warning: dodgy content on this site... but it's the STYLE I like, honest!!).

I reckon the CSS coding won't be a problem but my question his how does this guy get all the file listings into the site? I don't think he would hand code it. I can't find a function in any of the editors I use to import a file listing into the html code.

The only other way I can think of is writing a bit of VB code to import a file list and add the required html code around the file names.

Anyone got any ideas of how to easily do this? Thanks very much.

Cheers, Renners

joh6nn
07-13-2002, 12:29 PM
well, he's not using javascript or cgi there, but i'd say you're best bet would to be to set up a batch file ( or cgi script, if you do it on the server ) to loop through the contents of a directory, and write a line of text with the files name, the beginnings of a linke (eg, <A HREF="">file name</A>), etc. it might take a while to get that working, but it definitely wouldn't take as long as doing it all by hand, and having said batch or script would make updates way easier.

Renners
07-13-2002, 05:27 PM
that's what I thought. thanx!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum