Autogenerated Newslist in IIS

Posted on 1998-05-28
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.
Question by:mnp
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
  • 3
  • 2

Expert Comment

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.


Author Comment

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.

Expert Comment

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.


Author Comment

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...:)

Accepted Solution

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.


Featured Post

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
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.

688 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