Write a PHP script.Figure out the length of time, or the range of dates, or whatever your variable is, like so:
if $todaysDate > $startDate and $todaysDate < $endDate, $show = true;
if $show = true {
display HTML
}
Clearly you'll need to work out the details but this is how I "remove"
items from a calendar of events in a timely manner, the midnight after
the end of the event.
-- Brian On Oct 21, 2009, at 6:14 AM, RobS wrote:
Sorry, I was so close to the problem that I forgot to explain a salient point. It's not the page that is new; it's items within the page. So indicating that the page has been updated would not help since it's always being updated. See, for example... http://www.jottings.ca/john/voices/reservoir1.html There are about 35 NEW indicators within the page, indicating that certain poems have been added recently. But some of them are not very recent and the NEW indicator should be removed. I was hoping for some sort of parameter that could be added to the span that would help me automagically remove old ones from time to time. Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. -~----------~----~----~----~------~----~------~--~---
smime.p7s
Description: S/MIME cryptographic signature
