Solved

Autogenerated Newslist in IIS

Posted on 1998-05-28
5
154 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

809 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