Re: Weather
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 47437
interpreted = N
texte = on 2/4/03 4:02 PM, Jeff Logan at jefftalk@insideout.com so noted...> Ugly looking stuff from the National Weather Service. We used to> pull the weather right from here:> > http://weather.yahoo.com/forecast/USWA0346_f.html> > And it looked great in our web sites. But take a look at the source> of the page above now and you will see Yahoo's message and then if> you look further down on the page you will see how they are making it> hard to tcpconnect and get the weather.> > Any other good looking sites to grab weather from?Yes, the layout of the NOAA's page is fugly. I didn't know you were grabbingcode wholesale from Yahoo and dropping it into another site.Since any other weather site is going to have the same repurposinglimitation as Yahoo (source code disclaimer or no), you've got a fewoptions.1) Keep using Yahoo.2) Parse the NOAA's page to get the necessary info and create a new pagebased upon it.3) Get data free from a third party that formats the NOAA info
4) Wait for NOAA to update their systems to make the data acquisition easier(which it sounds like they're in the process of doing).Myself, I'd probably do #1 until #4 comes to pass.> and then if you look further down on the page you will see how they are making> it hard to tcpconnect and get the weather.Are they changing the text in the comments that divide the sections on arandom basis? As it stands now, their layout makes it easy to pick andchoose just the sections you want, all nice and formatted. There's odd tagslike and in there, but nothing that gets in the way of [middle].[TCPConnect host=weather.yahoo.com][text]yahooSrc=[TCPSend]GET /forecast/USWA0346_f.htmlHTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend][/text][/TCPConnect][Middle StartAfter=&EndBefore=][yahooSrc][/middle]
[Middle StartAfter=&EndBefore=][yahooSrc][/middle]
[Middle StartAfter=&EndBefore=][yahooSrc][/middle]
[Middle StartAfter=&EndBefore=][yahooSrc][/middle]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
on 2/4/03 4:02 PM, Jeff Logan at jefftalk@insideout.com so noted...> Ugly looking stuff from the National Weather Service. We used to> pull the weather right from here:> > http://weather.yahoo.com/forecast/USWA0346_f.html> > And it looked great in our web sites. But take a look at the source> of the page above now and you will see Yahoo's message and then if> you look further down on the page you will see how they are making it> hard to tcpconnect and get the weather.> > Any other good looking sites to grab weather from?Yes, the layout of the NOAA's page is fugly. I didn't know you were grabbingcode wholesale from Yahoo and dropping it into another site.Since any other weather site is going to have the same repurposinglimitation as Yahoo (source code disclaimer or no), you've got a fewoptions.1) Keep using Yahoo.2) Parse the NOAA's page to get the necessary info and create a new pagebased upon it.3) Get data free from a third party that formats the NOAA info4) Wait for NOAA to update their systems to make the data acquisition easier(which it sounds like they're in the process of doing).Myself, I'd probably do #1 until #4 comes to pass.> and then if you look further down on the page you will see how they are making> it hard to tcpconnect and get the weather.Are they changing the text in the comments that divide the sections on arandom basis? As it stands now, their layout makes it easy to pick andchoose just the sections you want, all nice and formatted. There's odd tagslike and in there, but nothing that gets in the way of [middle].[TCPConnect host=weather.yahoo.com][text]yahooSrc=[tcpsend]GET /forecast/USWA0346_f.htmlHTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend][/text][/TCPConnect][Middle StartAfter=&EndBefore=][yahooSrc][/middle]
[Middle StartAfter=&EndBefore=][yahooSrc][/middle]
[Middle StartAfter=&EndBefore=][yahooSrc][/middle]
[Middle StartAfter=&EndBefore=][yahooSrc][/middle]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Rob Marquardt
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Navigator 4.01 (1997)
Appending Record Prob (2001)
RE: Signal Raised (1997)
details (2003)
NT Manual (1997)
same products but different (1998)
Using Checkbox (2000)
[WebDNA] [TEXT] limit (2019)
CSS positioning!!! (2001)
Need NT Assist. w/ Emailer (2000)
Webmerchant orders? (2000)
Nested tags count question (1997)
blank page from template (1997)
Re2: frames & carts (1997)
Plugin or CGI or both (1997)
Dummy Credit Card Number for debug? (1997)
MacAutorize and T1 (1998)
WebCat2b12 CGI Mac - [shownext] problem (1997)
formatting a number (1999)
shipcost (1997)