BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

{bb} bb-wx_us-230.sh



and embedded HTML
Date: Tue, 13 Jul 2004 15:12:51 -0500
User-Agent: KMail/1.5.4
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200407131512.51541.misty@borkholder.com>
Status: RO
X-Status: Q
X-KMail-EncryptionState:  
X-KMail-SignatureState:  

This script has a nifty thing for embedding some links to weather sites.  
Only, they don't get converted to HTML -- I'm seeing the raw HTML.  The 
script looks as if it may be unmaintained -- is there a new way to make BB 
display the links correctly?  Here is the portion of the script that displays 
the links now:

# Setting the website variables:
USRAD="http://weather.yahoo.com/images/us_radar_medium_usen.jpg";
USSAT="http://weather.yahoo.com/images/ussat_440x297.jpg";


LINE="<A HREF="$RADARBOX$STATION$RAD_SUF">Local RADAR</A> (if available) - <A 
HREF="$USRAD">US RADAR</A> - <A HREF="$USSAT">US Satellite</A>
<A HREF="$WXBOX$WXURL">Current Conditions at `echo $CITY | $SED 's/_/ /g'`</
A><BR>
Temperature: $TEMP Degrees F
Winds: $WIND
Humidity: `$GREP "%$" /tmp/WXTML.$$ | cut -d'>' -f3`
Visibility: `$GREP mile /tmp/WXTML.$$ | cut -d'>' -f3 | cut -d'<' -f1`
Barometric Pressure: `$GREP Hg /tmp/WXTML.$$ | cut -d'>' -f3`
"

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index