From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v14H2IWr012125 for ; Sat, 4 Feb 2017 12:02:18 -0500 Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.27]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v14H2IrE009786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 4 Feb 2017 12:02:18 -0500 Received: from mail-qt0-f193.google.com (mail-qt0-f193.google.com [209.85.216.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 16B7283F40 for ; Sat, 4 Feb 2017 17:02:17 +0000 (UTC) Received: by mail-qt0-f193.google.com with SMTP id h53so9739807qth.3 for ; Sat, 04 Feb 2017 09:02:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:user-agent:mime-version; bh=XeUZNzXDNmGvPqxa6RU1amHrs89cW1xQ9rFnQmqaMlw=; b=jnP7SQq1eFLT0is+KQdBYfOgOwdFH2698P9jw+mXCazqur015JjF3Pt9J86FKouQoQ jGZQcv4xqGMnwpsusPezJlfHTDCmQvJ3HvGcb1byjHn6TIy/za0nD/A2uX4LcEXm2uXH /jc9us01HNsgrtCGDV8XAbHkcTJKm1J9CzR2VEPXFD10T83gPD4wVwv65gZZToRhJptN vTNic0FD3gI18DA8Gp4fNLCP7Xo32G6apGlWCY3YjvoNmvuZMYwMew59IIhu8E24L6xh fBxrFC7n6KvfsUUyspcwhZleRv5OglxHj54U4liP71Tt3FPXW9MyspNGqIxYnMSq0QaU +Dog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:user-agent :mime-version; bh=XeUZNzXDNmGvPqxa6RU1amHrs89cW1xQ9rFnQmqaMlw=; b=mjGW8lI64YiqiSNuxcOCp00t7mr3NcnS88zW7sq3+7/aPM1HRx00iFOxVHHdayUeUx guPZDTUaTufDru4fjvRtksiW3KwhUyw8QQpPR1ewc+mlKebycZwbN9FtHcNHIlIXjm+w EG8H/x4OMV/n5JSLG+SNJPOFjYNb077xFTW1/3iHz3sguqSQ2s9utmtxDTnqJ4H/Deo3 U/3Xw7DXTNGpNmSFm0s+jswGj8YNwevkq7FmxTowoIww0PzI8E6zVyL27JDyYWPikdAd htUrtmHvvN3tfTF5fl4zxauAHR6CR6k4RtjK/kG9XYYGDJYzDqvLThyazjgZ0vMSlrWU 9Dig== X-Gm-Message-State: AMke39k71CN3mCzJN4LWwhW9zUrK6PmJzUMXS6A09fHvn+Xb6f6O9e6YyJNPMIObRtT3wQ== X-Received: by 10.200.54.252 with SMTP id b57mr2650659qtc.113.1486227735337; Sat, 04 Feb 2017 09:02:15 -0800 (PST) Received: from ds-mac-mini.home (pool-96-236-145-55.pitbpa.ftas.verizon.net. [96.236.145.55]) by smtp.googlemail.com with ESMTPSA id m12sm28035447qtm.45.2017.02.04.09.02.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Feb 2017 09:02:14 -0800 (PST) Date: Sat, 4 Feb 2017 12:02:13 -0500 (EST) From: "Dan D." X-X-Sender: dandunfee@ds-mac-mini.home To: Tim Chase Subject: Re: Are their other Working Weather Scripts? Message-ID: User-Agent: Alpine 2.20 (OSX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Sat, 04 Feb 2017 17:02:17 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Sat, 04 Feb 2017 17:02:17 +0000 (UTC) for IP:'209.85.216.193' DOMAIN:'mail-qt0-f193.google.com' HELO:'mail-qt0-f193.google.com' FROM:'dandunfee@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.17 * (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, SPF_PASS) 209.85.216.193 mail-qt0-f193.google.com 209.85.216.193 mail-qt0-f193.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.27 X-loop: blinux-list@redhat.com Cc: blinux-list@redhat.com, Janina Sajka X-BeenThere: blinux-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: Linux for blind general discussion List-Id: Linux for blind general discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2017 17:02:18 -0000 I use the lynx -dump approach also with braille underground. I pipe it using: | grep -iA 5 $1 Grep returns the search term $1 and the following 5 lines from the lynx "dump". So using "temperature" it will provide the current temp plus other relevant current info. The "5" can be changed to capture as many lines folllowing the search termas you wish. Sunset/rise and moonset/rise and phase are other examples. Any term such as "forcast" will return the next week or "wed" for a coming day will return its individual forcast. On Fri, 3 Feb 2017, Tim Chase wrote: > On February 3, 2017, Janina Sajka wrote: >> Fortunately, braille.wunderground.com is still up. It's not command >> line, though I imagine one could write a script quite readily. > > Didn't know about this one. A quick "lynx -dump" alias seems to do > the trick: > > alias weather='lynx -dump "https://braille.wunderground.com/cgi-bin/findweather/hdfForecast?brand=braille&query=90210"' > > seems to do the trick as long as you update the query to your > preferred zip-code or other acceptable query. > > If you don't care about the details like phase of moon, and links at > the bottom, you can pipe it to sed or head: > > alias weather='lynx -dump "https://braille.wunderground.com/cgi-bin/findweather/hdfForecast?brand=braille&query=90210" | sed /Updated/q' > > or > > alias weather='lynx -dump "https://braille.wunderground.com/cgi-bin/findweather/hdfForecast?brand=braille&query=90210" | head' > > One could wrap it in a function to take the search parameters on the > command-line, but I'm usually only interested in the weather fairly > locally most of the time. > > -tim > > > _______________________________________________ > Blinux-list mailing list > Blinux-list@redhat.com > https://www.redhat.com/mailman/listinfo/blinux-list > XB