Solved

Autogenerated Newslist in IIS

Posted on 1998-05-28
5
144 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

763 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

7 Experts available now in Live!

Get 1:1 Help Now