Solved

creating links without cgi or database

Posted on 1997-06-15
4
170 Views
Last Modified: 2013-12-25
I am in the process of building our company Intranet, and we have
thousands of internal forms that we have finally converted into .doc's
and .xls.  We also have many specialty forms stored in .gif and .jpg
format.
All of these forms are stored in one of three folders in our intranet
server.  I need to build links to all of them, but I do not want to
sit at my desk for 3 months typing in the tag ahref 7,000 times.  The
forms are not in a database (although they could be).  
Is there a program out there that will build links for me?  We are
using frames, so a page with just links to these  files on our HD's
would be great.  Anyone know of a way to build thousands of links fast
with a spider or 3rd party progam??
Importing into a database is not an option right now.  Either is CGI.  Although we use IIS 3.0 and win-cgi can be used, we don't have the expertise on staff to write or support it.  Something goes wrong..so what we need is a dynamic link creator.  If files are added or removed, this program/script has to be dynamic.
0
Comment
Question by:remii
  • 2
4 Comments
 

Expert Comment

by:cibermago
ID: 1854308
First of all I need to know how you plan to organize the presentation...  Evidently if you plan on making links to 1000's of doc's and images it will need some organization.  If the organization is inherent in the filenames or the consulting user already knows the filename of interest you could use the classic phone book design, anchor links in alphabetical/numerical  order.   I know of no product that will automatically produce the HTML that you need however to produce a text file with a complete list of files is a as easy as going to the directory in an MSDOS window an typing:
dir > filename.htm
And you could use that file (filename.htm) to begin editing your html file.
And if you have a minimum knowledge of programming you could write the program you need in a few hours in basic...
Personally, I believe that you would save time and make a better presentation taking the few hours necessary to learn the  little bit of forms/cgi necessary to make the docs available.  Whats more with the MIIS this is really quite easy...  Contact me if you need more info.
0
 

Expert Comment

by:Delirium
ID: 1854309
Well, I would basically need to know how you want them arranged.
I could write a program to make the links for you in alphabetical
order or maybe some other order, or by directories, or however
you want it.  It wouldn't be too hard (a simple DOS command-line
thing would do it) but there are tons of ways to arrange the
output.
0
 

Expert Comment

by:Delirium
ID: 1854310
Well, I would basically need to know how you want them arranged.
I could write a program to make the links for you in alphabetical
order or maybe some other order, or by directories, or however
you want it.  It wouldn't be too hard (a simple DOS command-line
thing would do it) but there are tons of ways to arrange the
output.  E-mail me at Delirium4u@aol.com if you have more info.
0
 
LVL 4

Accepted Solution

by:
jshamlin earned 200 total points
ID: 1854311
Here's a really fast solution ... link to the directories, but not to a file name (eg. A HREF="/dir/forms1/" and *don't* put an index.html in the directory.  

What should happen is that the user will get a listing of the entire contents of that directory, in alphabetical order, and should be able to "click and load" on any document name. (Caveat: server could be set to return a 403 error instead - simply un-set them that way)

If you need to better organize the files, organize them into different directories and use the same strategy.

One caveat: the files will be listed by their filename rather than by any desciptive text - but there's no program that will fabricate descriptive text.

If you want to "design" the pages better, adding art,colors, whatever, do the same thing but "Save" the source document that's automatically created, then clean it up.  A bit of work, but it saves a lot of typing.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now