On Mon, 5 Jul 1999, David Coppit wrote:

> On Fri, 2 Jul 1999, Erga Munggaran wrote:
> 
> > http://www.mynews.com/1999/07/02/index.html
> > What can I do with the handler???
> 
> use "localtime". See "perldoc -f localtime" for documentation. Also see
> the eiffel_liberty and wildwechsel handlers for an example.

As maintainer of eiffel_liberty I was quite surprised that it was a
handler in the Daily Update Handler archive. I only came across Daily
Update from meeting David on another mailing list a few months ago. While
I have not used Daily Update/NewsClipper, I have been inspired by it as I
have worked with realtime updating systems over the last few years.

   http://www.tg.nsw.gov.au/nem/realtime/ppsd/all/
   http://www.elj.com/estats/au/weather/nem/

I noticed Erga's question the other day, as I had just the day before
implemented a nice calendar like control (similar to the one on at
scripting.com) to provide html calendar access into news archives with
well-formed daily archives (eg LinuxToday.com and Freshmeat.net). The
results can be seen here:

   http://www.elj.com/elj-daily.cgi

   -- as you can see I have also developed own my lite-weight DU
   -- like controls for list presentation of Slashdot/LinuxToday/Freshmeat
   -- and Segfault.

I used an OO Perl approach where I have a base class that handles all of
the calendar formatting functionality except for the generation of the url
for each day. The construction of the url for each day is then effected in
a subclass (one for each news source). I guess I could have used a
function pointer or something like that (but from my Eiffel background I
don't know how to do that since Eiffel does not as yet allow function
pointers). For OO Perl, Tom Christiansen's excellent:

   perltoot - Tom's object-oriented tutorial for perl
   ftp://mirror.xmission.com/CPAN/doc/manual/html/pod/perltoot.html

is a great starting point for all of this.

I am not sure if DU/NC has a calendar control? I will probably check it
into Freshmeat under the Eiffel Forum Freeware Licence (EFFL):

   http://www.eiffel-forum.org/license/
   http://www.eiffel-forum.org/license/public.txt

   -- EFFL is a simple open source licence.

when it has been tidied up a bit and I have documented it properly. I am
not sure if this approach fits into the DU/NC framework but I know a
calendar like control is something useful to consider.

Hope this helps.

Geoff ..

-- [EMAIL PROTECTED]
-- http://www.elj.com/elj-daily.cgi

> David



-
If you would like to unsubscribe from this mailing list send an email to 
[EMAIL PROTECTED] with the body "unsubscribe newsclipperlist 
YOUR_EMAIL_ADDRESS" (without the quotes) or use the form provided at 
http://www.NewsClipper.com/TechSup.htm#MailingList.

Reply via email to