Script That Removes Topics

liunx

Guest
wasup people! @rollover

Me and my coworker are responsible for da knowledge base here at work, and its all html based. The problem is this. We have a main page that iz called "issues of the day" which is where outages, urgent info, etc is posted daily by one of us. however, we only keep each topic active for 10 days and manually have to erase and put it in the old issues page. Is there a script dat will automatically remove info from your .html page in a number of days?? yes, we would be addin new issues and ur thinkin we might aswell delete the ones that have been posted for 10 days. But we were tryin too aim to the point where we could just keep adding and it automatically deleting them w/out us having to continously count days on old topics. Like if we could assign a "life sentence" script to it... 10, 9, 8, 7, 6,5, 4,3, 2, 1.. bam, ur time is up, its gone automatically. lol

thnx for any help... holla! xo

}:)welcome to the forums :)

are your "issues of the day" in a database of some sorts? that would be the only and best way to do it. and then you would need serverside coding to perform the data caliculations and archive them or delete them.

prety easy but html can't do it alone.You darn* kids with your jive-talkin.

Yeah, you'd need some form of a Server Side language with a database behind it.

However, if you did have these, you could set it up so that someone from the company (who would prolly be the reporting the problems to you) would be able to do it on their own as you could just build a form that allowed them to do such (unless, of course, this manual updating by yourself creates some form of job security).

As Scoutt said, HTML can't do this, but any Server Side Language (PHP, ASP, PERL, JSP etc.) can.

If you decide to go ahead with this and start doing some Server Side Coding, you're not alone, just PM or IM one of us if you want to speak at us to figure out what's the best way to go.
 
Top