[Templates] Template::Plugin::Weather (or how I learned to love Apache::Cache)
[prev]
[thread]
[next]
[Date index for 2004/12/14]
--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Well... we are starting to rebuild our public website for the university an=
d we decided to go with Template::Toolkit. Needless to say I am quite pleas=
ed with that decision. :}
As such we are starting to write quite a few Template plugins that others m=
ight have use for. Not sure where exactly to post these but I thought this =
list would be a good place to start.
Hence:
http://wwwrogue.com/perl/Weather-20041214-0.01.tgz
Lets you get and use the current conditions for your local NOAA reporting s=
tation. Also since NOAA has requested a grab time of 1 hour it uses Apache:=
:Cache to hold that data until the next polling time. We are working on add=
ing forecast data as well.
Only prereqs are TT (of course), Apache::Cache, LWP::Simple and XML::Simple=
=2E This was written in a mod_perl2 with Apache::Template environment but s=
hould work in others as I am not using anything deep level in the Apache pe=
rl code.
Have fun... and I would love comments on performance, coding style... you n=
ame it.
Thanks for your time and more to come as we build them!
--=20
Todd Freeman Ext 6103 .^. Don't fear the penguins!
Programming Department /V\
Andrews University // \\ http://www.linux.org/
http://www.andrews.edu/~freeman/ /( )\ http://www.debian.org/
^^ ^^
--OXfL5xGRrasGEqWY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBvzMZnbl1fXtXLfERAsIGAJ9PdHUPbkUZKUB0Rd67bjBSYBXrVgCeMzOM
YenGTFKJwVYo6SYESKDwvYM=
=wBzR
-----END PGP SIGNATURE-----
--OXfL5xGRrasGEqWY--
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
[Templates] Template::Plugin::Weather (or how I learned to love Apache::Cache)
Todd Freeman 18:38 on 14 Dec 2004
|