Solved

creating links without cgi or database

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

860 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