Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

creating links without cgi or database

Posted on 1997-06-15
4
Medium Priority
?
188 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 400 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

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
The viewer will learn how to count occurrences of each item in an array.
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).
Suggested Courses

670 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