AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to BBS Support/Help/Discussion  <--  <--- Return to Home Page
   Networked Database  BBS Support/Help/Discussion   [1624 / 1844] RSS
 From   To   Subject   Date/Time 
Message   Sean Dennis    All   Weather script   November 26, 2025
 7:27 PM *  

Hello All,

I wrote a script that grabs the 3-day forecast for my location from wttr.in 
and posts it to my BBS.  This is written in bash.

The display is converted to ASCII so all users can view it using iconv. The 
lines you're interested in are lines 4 and 5.

=== Cut ===
#!/bin/bash
export MBSE_ROOT=/opt/mbse
cd $MBSE_ROOT/work
curl wttr.in/?TdFn > ./test
iconv -f UTF-8 -t ascii//TRANSLIT test -o weather1.asc
cp weather1.asc $MBSE_ROOT/share/int/txtfiles/en/weather1.asc
=== Cut ===

-- Sean

... "I haven't failed, I've found 10,000 ways that don't work." - Thomas 
Edison
--- GoldED+/LNX 1.1.5-b20240209
 * Origin: Outpost BBS * Johnson City, TN (618:618/1)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to BBS Support/Help/Discussion  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0158 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2026 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.250224