Re: TCPConnect / Current Temperature
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55220
interpreted = N
texte = Jeff,I think I found a new way, but it requires 2 [middle] contexts. Here's whatI've got. (Make sure you fix the line wraps.) If anyone can improve it, feelfree![text]theTemp=[!][/!][middle startafter=
&endbefore=%26deg;F ][!][/!][TCPConnect host=www.crh.noaa.gov&port=80][!][/!][TCPSend]GET /forecasts/INZ086.phpHTTP/1.0[crlf]Host:www.crh.noaa.gov[crlf][crlf][/TCPSend][!][/!][/TCPConnect][!][/!][/middle][!][/!]°F[/text][text show=T]theTemp=[middlestartafter=
&endbefore=%26deg;F][theTemp][/middle]°F[/text]On 1/7/04 10:52 AM, "Jeff Logan" wrote:> Me to please,> Jeff Logan> > >> I'm having major problems grabbing the current temperature from Weather.com.>> Does anyone have some TCPConnect code they could share for grabbing the>> current temperature for a given zip code?-------------------------------------------------------------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:
Jeff,I think I found a new way, but it requires 2 [middle] contexts. Here's whatI've got. (Make sure you fix the line wraps.) If anyone can improve it, feelfree![text]theTemp=[!][/!][middle startafter=&endbefore=%26deg;F ][!][/!][TCPConnect host=www.crh.noaa.gov&port=80][!][/!][tcpsend]GET /forecasts/INZ086.phpHTTP/1.0[crlf]Host:www.crh.noaa.gov[crlf][crlf][/TCPSend][!][/!][/TCPConnect][!][/!][/middle][!][/!]°F[/text][text show=T]theTemp=[middlestartafter=
&endbefore=%26deg;F][theTemp][/middle]°F[/text]On 1/7/04 10:52 AM, "Jeff Logan" wrote:> Me to please,> Jeff Logan> > >> I'm having major problems grabbing the current temperature from Weather.com.>> Does anyone have some TCPConnect code they could share for grabbing the>> current temperature for a given zip code?-------------------------------------------------------------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/
Clint Davis
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:
summarizing date search by month... (2000)
Another IfThenElse question.. (2003)
WC2b12: Yes, Formulas.db is for real (1997)
Refering page (1998)
[WebDNA] Emailer breaking format (2015)
OT: Proftp and userowner (2005)
Smith Micro - no competition (2000)
Appending Information from one db to another (1998)
[WebDNA] An alternative to hosting... (2009)
[protect] and Safari (2003)
[BoldWords] WebCat.acgib15Mac (1997)
Error Lob.db records error message not name (1997)
Version f1 status (1997)
[isfolder] and [filename] (1997)
thankyou.tmpl (1997)
word count in HTML form textarea and linebreaks (2000)
OSX Install error (2000)
Forms Search Questions (1997)
Virtual Domains (1998)
debit cards and checksum (1998)
| |