Lynx Accessible Weather

Linux for blind general discussion blinux-list at redhat.com
Wed Nov 1 14:55:58 UTC 2017


You can tweek the below to make it even more useful, putting your zip in place of zipcode in the example variations.

alias weather='lynx -dump "https://braille.wunderground.com/cgi-bin/findweather/hdfForecast?brand=braille&query=zipcode" |grep -iA 5 $1 '

When run put "weather sunrise" for example and the part starting at "sunrise" with the following 5 lines will appear.

Or use the 3 day of the week "sun" to get the forecast info starting at that day of the week.

For dedicated sections put some label in place of $1 as a seperate named alias, temperature . will present the current weather info for
example.

Changing  the 5 will determine how many lines will be returned following the desired info.

On Tue, 31 Oct 2017, Linux for blind general discussion wrote:

> Here's a working alias for you, just change the zip code from 18942 to
> your own zip code and it sould work for you.
>
> alias weather='lynx -dump
> "https://braille.wunderground.com/cgi-bin/findweather/hdfForecast?brand=braille&query=18942"'
> On
> Tue, 31 Oct 2017, Linux for
> blind general discussion wrote:
>
> > Date: Tue, 31 Oct 2017 11:15:43
> > From: Linux for blind general discussion <blinux-list at redhat.com>
> > To: blinux-list at redhat.com
> > Subject: Lynx Accessible Weather
> >
> > I need to find another weather service besides
> > http://mobile.wunderground.com
> > because they appear to be using some sort of croud-sourcing and
> > the site I get most of the time is broken. The humidity is
> > perpetually 100% with the dew point, at times, rounded up 1
> > degree above the actual temperature. I would be more than happy
> > to see conditions based on the NWS which are taken at our local
> > air port.
> >
> > 	It's a shame because weather underground works with lynx
> > and the output is easy to read but if it is wrong for months and
> > nobody seems to care, it's not terribly useful.
> >
> > 	Thanks for any ideas.
> >
> > Martin McCormick
> >
> > _______________________________________________
> > Blinux-list mailing list
> > Blinux-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/blinux-list
> >
>
>

-- 
XB




More information about the Blinux-list mailing list