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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
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…

762 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