[WebDNA] TCPConnect Help

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111371
interpreted = N
texte = --Apple-Mail=_5522F461-21FC-4173-AFEA-2CF3EF60CDA5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi All I'm hoping someone can give me some help with TCPConnect, something I = have used a couple of times but never really understood. What I want to do is connect to a link like... = http://maps.googleapis.com/maps/api/distancematrix/json?origins=3DAB159QD&= destinations=3DAB327AL&mode=3Ddriving&language=3Den-EN&sensor=3Dfalse ...and retrieve bits of the data that comes back like distance etc. The parsing of the returned stuff is fine I just can't get the = TCPConnect to populate a text variable with the response and I'm baffled = as to what I'm doing wrong. Instead of the /json? in the above URL you can change it to /xml? which = I'm assuming you could retrieve with the XML tags but I'm even more in = the dark with that. Any help or advice much appreciated. Cheers =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Steve Craig - Asylum Interactive Tel +44 1330 860550 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --Apple-Mail=_5522F461-21FC-4173-AFEA-2CF3EF60CDA5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi = All

I'm hoping someone can give me some help with = TCPConnect, something I have used a couple of times but never really = understood.

What I want to do is connect to a = link like...

http://maps.googleapis.com/maps/api/distancematrix/js= on?origins=3DAB159QD&destinations=3DAB327AL&mode=3Ddriving&lan= guage=3Den-EN&sensor=3Dfalse

...and retrieve bits of the data that comes back like distance = etc.

The parsing of the returned stuff is fine = I just can't get the TCPConnect to populate a text variable with the = response and I'm baffled as to what I'm doing = wrong.

Instead of the /json? in the above URL = you can change it to /xml? which I'm assuming you could retrieve with = the XML tags but I'm even more in the dark with = that.

Any help or advice much = appreciated.

Cheers
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Steve Craig - Asylum Interactive
Tel +44 1330 860550
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Skype: s.craig - iChat: steve.craig
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D



= --Apple-Mail=_5522F461-21FC-4173-AFEA-2CF3EF60CDA5-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] TCPConnect Help (Steve Craig 2014)
  2. Re: [WebDNA] TCPConnect Help (Palle Bo Nielsen 2014)
  3. Re: [WebDNA] TCPConnect Help (Stuart Tremain 2014)
  4. Re: [WebDNA] TCPConnect Help (Steve Craig 2014)
  5. Re: [WebDNA] TCPConnect Help (Stuart Tremain 2014)
  6. [WebDNA] TCPConnect Help (Steve Craig 2014)
  7. Re: [WebDNA] TcpConnect Help (Aaron Michael Kaczmarek 2011)
  8. Re: [WebDNA] TcpConnect Help (Kenneth Grome 2011)
  9. [WebDNA] TcpConnect Help (Alex McCombie 2011)
--Apple-Mail=_5522F461-21FC-4173-AFEA-2CF3EF60CDA5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi All I'm hoping someone can give me some help with TCPConnect, something I = have used a couple of times but never really understood. What I want to do is connect to a link like... = http://maps.googleapis.com/maps/api/distancematrix/json?origins=3DAB159QD&= destinations=3DAB327AL&mode=3Ddriving&language=3Den-EN&sensor=3Dfalse ...and retrieve bits of the data that comes back like distance etc. The parsing of the returned stuff is fine I just can't get the = TCPConnect to populate a text variable with the response and I'm baffled = as to what I'm doing wrong. Instead of the /json? in the above URL you can change it to /xml? which = I'm assuming you could retrieve with the XML tags but I'm even more in = the dark with that. Any help or advice much appreciated. Cheers =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Steve Craig - Asylum Interactive Tel +44 1330 860550 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --Apple-Mail=_5522F461-21FC-4173-AFEA-2CF3EF60CDA5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi = All

I'm hoping someone can give me some help with = TCPConnect, something I have used a couple of times but never really = understood.

What I want to do is connect to a = link like...

http://maps.googleapis.com/maps/api/distancematrix/js= on?origins=3DAB159QD&destinations=3DAB327AL&mode=3Ddriving&lan= guage=3Den-EN&sensor=3Dfalse

...and retrieve bits of the data that comes back like distance = etc.

The parsing of the returned stuff is fine = I just can't get the TCPConnect to populate a text variable with the = response and I'm baffled as to what I'm doing = wrong.

Instead of the /json? in the above URL = you can change it to /xml? which I'm assuming you could retrieve with = the XML tags but I'm even more in the dark with = that.

Any help or advice much = appreciated.

Cheers
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Steve Craig - Asylum Interactive
Tel +44 1330 860550
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Skype: s.craig - iChat: steve.craig
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D



= --Apple-Mail=_5522F461-21FC-4173-AFEA-2CF3EF60CDA5-- Steve Craig

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:

Using Applescript to process WebCatalog functions (1998) [WebDNA] Server room @ SmithMicro (2008) [WebDNA] Triggers issue, or sendmail? (2012) Reversed words (1997) Images in the page without using separate image files ... (2003) Protecting Images (2003) Problem with my orders (1998) Listserver problem (1997) ErrorLog with Linux? (2000) [WebDNA] PayPal Express Checkout (2009) MacAuthorize and WebMerchant (1997) Links inside of Text Areas (2000) [math] show=F exists? (1997) [if] and [showif] (2002) Multiple Domains (2003) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) OT - Mail Solution (2002) Date math (1997) [Announce] Newest Commerce Site based on WebCatalog (1997)