Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Getting a big filelist into my site!

    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
    Last edited by boxer_1; 07-13-2002 at 01:06 PM.

  • #2
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72 W. 48' 57" , 41 N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    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.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #3
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    that's what I thought. thanx!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •