This is the example script (extracted from that link)
you will need to find a weather page for your region
an then change the urls 
and grep statements
chow
L

[weather.sh]
#!/bin/sh
WEATHER=`lynx -nolist -dump 
http://weatheroffice.ec.gc.ca/forecast/textforecast_e.html?Bulletin=fpcn11.cwvr
| 
grep -A3 "^Greater Vancouver.$" | sed 's/\.\./\.
/;s/km\/h/km per hour/'`
echo EXEC Festival \"Online Weather forecast for\"
echo EXEC Festival \"$WEATHER\"
echo EXEC Festival \"Thank you\"

----- Original Message ----- 
From: "Trevor G. Hammonds" <[EMAIL PROTECTED]>
To: "'Asterisk Users Mailing List - Non-Commercial
Discussion'" 
<[email protected]>
Sent: Wednesday, February 16, 2005 12:23 PM
Subject: RE: [Asterisk-Users] Extra sounds (Weather)


> Liaan vd Merwe wrote on Tuesday, 15 February 2005
1:37 PM:
>
>> http://edgett.bc.ca/simonsays/archives/000228.html
>
> Thank you, but this is not the script.
>
> Sincerely,
> Trevor Hammonds
>
> _______________________________________________
> Asterisk-Users mailing list
> [email protected]
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>  
http://lists.digium.com/mailman/listinfo/asterisk-users
> 



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to