Solved

Autogenerated Newslist in IIS

Posted on 1998-05-28
5
146 Views
Last Modified: 2013-12-25
I was wondering if there is any way to create and show a list of all new files (lets say modified the last seven days) on a webpage in MS IIS. I would appreciate any help including those using FrontPage.
0
Comment
Question by:mnp
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:tpryor
ID: 1828961
Dont know front page, however you can use perl to do the job.
Its simple, check the mod date compare to curent date if less than 7 days old make a link to it and store it in a list. After you have compared all the files print out youre resulting list.
Thats it.

GL
t
0
 

Author Comment

by:mnp
ID: 1828962
Yeah, I guess that is true.

But if I'm running IIS (I don't think it supports Perl, but correct me if I'm wrong), do I have to scan through all pages and compare them (with vbscript in asp for example). I hoped it should be some way to use the index feature.
0
 
LVL 2

Expert Comment

by:tpryor
ID: 1828963
sorry, dont know asp, it may have a built in feature where you just request the files younger than a certain date in a certain directory, however you can use perl with IIS like I said that can do the job.  I know that you probably dont want to learn another programming language but if you work with the web you really cant go wrong learning perl it is easy and has one of the best regex engines out there.

Anyway, I would suggest if asp doesnt support that as a built in feature then you could write the same thing I suggested to do in perl with vb script.

GL
t
0
 

Author Comment

by:mnp
ID: 1828964
Thanks, I'd like to give you at least some points, but dunno how. But if anyone else knows anything about it, please answer.

Now off to some perl...:)
0
 
LVL 2

Accepted Solution

by:
tpryor earned 150 total points
ID: 1828965
I'll post this as an answer,
you can except it.

If you have a paticular perl question later I'll be happy to answer it.

Thanks
t
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

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
The viewer will learn how to count occurrences of each item in an array.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

948 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

19 Experts available now in Live!

Get 1:1 Help Now