BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {bb} bb-wx_us-230.sh
- To: <bb@bb4.com>
- Subject: RE: {bb} bb-wx_us-230.sh
- From: "Kimberly McKinnis" <kmckinnis@macrovision.com>
- Date: Tue, 13 Jul 2004 15:20:06 -0700
- Content-class: urn:content-classes:message
- Content-transfer-encoding: 8bit
- Content-type: text/plain; charset="US-ASCII"
- Reply-to: bb@bb4.com
- Sender: owner-bb@bb4.com
- Thread-index: AcRpFoYOzIbGP8HqRI63vIFQGSSoDAAELTWA
- Thread-topic: {bb} bb-wx_us-230.sh
In etc/bbdef-server.sh on the bb server, make sure you've got
RUNOPTS="EMBEDHTML". It's probably set to CONVHTMLTAGS which will
convert them to plain text.
~Kim
-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of Misty
Stanley-Jones
Sent: Tuesday, July 13, 2004 1:12 PM
To: bb@bb4.com
Subject: {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.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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