Solved

creating links without cgi or database

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP Installer 5 46
Link failure 16 60
Jquery Bold 3 specific words in a paragraph 5 24
MS Access VBA How To Properly Set Up A multipart/related HTTP Request 13 55
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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).

679 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