Solved

creating links without cgi or database

Posted on 1997-06-15
4
167 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Uploading files to the web server has become common part of almost any kind of web application. People use different technologies to solve this, but regardless of the technology used, it is always useful to have some kind of progress indicator shown…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

759 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

20 Experts available now in Live!

Get 1:1 Help Now