Gary Danko said:

> Hi all, hopefully someone can help me, but I don't see a way around this
> one. :) My local paper puts its major stories up on the web daily. However,
> the format for the main URL is:
> 
> http://www.signonsandiego.com/news/uniontrib/mon/metro/inside.htm

Gary, it's a PITA.   In this case you'll need to use a URLProcess seciton
of perl code isnide the site file, using localtime() and an array of the
day names to do it.

e.g.

        my @days = qw(sun mon tue wed thu fri sat);
        my @time = localtime(time);
        my $day_of_week = $days[$time[5]+1];

(just pseudocode here, I'm not even sure where the day-of-week is stored
in the localtime array.)

--j.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Sitescooper-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sitescooper-talk

Reply via email to