(WebDNA Talk)Subject: Re: TCPConnect / Current TemperatureYea, I couldn't figure it out for weather.com... would return: "Movedperminently" :-)DonovanClint Davis wrote:> Jeff,> > I think I found a new way, but it requires 2 [middle] contexts. Here's what> I've got. (Make sure you fix the line wraps.) If anyone can improve it, feel> free!> > > [text]theTemp=[!]> [/!][middle startafter= align="center">&endbefore=%26deg;F ][!]> [/!][TCPConnect host=www.crh.noaa.gov&port=80][!]> [/!][TCPSend]GET /forecasts/INZ086.php> HTTP/1.0[crlf]Host:www.crh.noaa.gov[crlf][crlf][/TCPSend][!]> [/!][/TCPConnect][!]> [/!][/middle][!]> [/!]°F[/text]> [text show=T]theTemp=[middle> startafter=
&endbefore=%26deg;F][theTemp][/middle]°F[/text]> > -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/-------------------------------------------------------------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:
If you get a weird response for a URL that works in a browser, weather.com be requiring a cookie or more likely a mime header from browser that TCPConnect does not automatically pass. Probably just a way to block automatically grabbing its pages. Bill-----Original Message-----From: Donovan Brooke Sent: Wed, 07 Jan 2004 11:43:23 -0600To: (WebDNA Talk)Subject: Re: TCPConnect / Current TemperatureYea, I couldn't figure it out for weather.com... would return: "Movedperminently" :-)DonovanClint Davis wrote:> Jeff,> > I think I found a new way, but it requires 2 [middle] contexts. Here's what> I've got. (Make sure you fix the line wraps.) If anyone can improve it, feel> free!> > > [text]theTemp=[!]> [/!][middle startafter= align="center">&endbefore=%26deg;F ][!]> [/!][TCPConnect host=www.crh.noaa.gov&port=80][!]> [/!][tcpsend]GET /forecasts/INZ086.php> HTTP/1.0[crlf]Host:www.crh.noaa.gov[crlf][crlf][/TCPSend][!]> [/!][/TCPConnect][!]> [/!][/middle][!]> [/!]°F[/text]> [text show=T]theTemp=[middle> startafter=
&endbefore=%26deg;F][theTemp][/middle]°F[/text]> > -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/-------------------------------------------------------------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/
devaulw@onebox.com
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:
Summing fields (1997)
How to append text after the sign & (1997)
Grep and removing text (2002)
WebMerchant 1.6 and SHTML (1997)
More on EudoraPro Email (1998)
Admin Edit prob. (1997)
deadlock (2000)
(long) Support (was wo search help) (1999)
Problem with [Search] inside of [Loop]? (1997)
Newbie from and old bee (1997)
Webcat run amuk (2002)
'RequiredField' Question (1998)
Database Not Found Problem (2004)
Serving images from databases (1998)
Nested Loops and SHOWIFs (1997)
[Switch] - works great, suggestion (2000)
RE: [sendmail]- bcc? (1998)
Re:Emailer and encryption (1997)
OT: Website Promotion (1998)
WebCatalog/WebMerchant Manuals Available (1998)
| |