Re: [WebDNA] TCPConnect Help

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111375
interpreted = N
texte = --Apple-Mail-609E2B91-9224-426D-AB4E-82259649DCD1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Are you able to submit an example on how you parse? I normally use Perl for such a task. Maybe WebDna could be a better option.=20= Palle Sendt fra min iPhone > Den 15/05/2014 kl. 13.12 skrev Steve Craig : >=20 > Hi All >=20 > I'm hoping someone can give me some help with TCPConnect, something I have= used a couple of times but never really understood. >=20 > What I want to do is connect to a link like... >=20 > http://maps.googleapis.com/maps/api/distancematrix/json?origins=3DAB159QD&= destinations=3DAB327AL&mode=3Ddriving&language=3Den-EN&sensor=3Dfalse >=20 > ...and retrieve bits of the data that comes back like distance etc. >=20 > The parsing of the returned stuff is fine I just can't get the TCPConnect t= o populate a text variable with the response and I'm baffled as to what I'm d= oing wrong. >=20 > 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 dar= k with that. >=20 > Any help or advice much appreciated. >=20 > 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 >=20 >=20 >=20 > --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe, E= -mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting:= support@webdna.us --Apple-Mail-609E2B91-9224-426D-AB4E-82259649DCD1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Are you able to submit an example on h= ow you parse?

I normally use Perl for such a task. M= aybe WebDna could be a better option. 

Palle


Sendt fr= a min iPhone

Den 15/05/2014 kl. 13.12 skrev Steve Craig <steve@asylumweb.com>:

Hi All

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

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


The parsing of the returned stuff is fine I just can't get t= he TCPConnect to populate a text variable with the response and I'm baffled a= s 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 retri= eve with the XML tags but I'm even more in the dark with that.
Any help or advice much appreciated.

Ch= eers
=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
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



--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.= webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
= --Apple-Mail-609E2B91-9224-426D-AB4E-82259649DCD1-- 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-609E2B91-9224-426D-AB4E-82259649DCD1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Are you able to submit an example on how you parse? I normally use Perl for such a task. Maybe WebDna could be a better option.=20= Palle Sendt fra min iPhone > Den 15/05/2014 kl. 13.12 skrev Steve Craig : >=20 > Hi All >=20 > I'm hoping someone can give me some help with TCPConnect, something I have= used a couple of times but never really understood. >=20 > What I want to do is connect to a link like... >=20 > http://maps.googleapis.com/maps/api/distancematrix/json?origins=3DAB159QD&= destinations=3DAB327AL&mode=3Ddriving&language=3Den-EN&sensor=3Dfalse >=20 > ...and retrieve bits of the data that comes back like distance etc. >=20 > The parsing of the returned stuff is fine I just can't get the TCPConnect t= o populate a text variable with the response and I'm baffled as to what I'm d= oing wrong. >=20 > 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 dar= k with that. >=20 > Any help or advice much appreciated. >=20 > 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 >=20 >=20 >=20 > --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe, E= -mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting:= support@webdna.us --Apple-Mail-609E2B91-9224-426D-AB4E-82259649DCD1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Are you able to submit an example on h= ow you parse?

I normally use Perl for such a task. M= aybe WebDna could be a better option. 

Palle


Sendt fr= a min iPhone

Den 15/05/2014 kl. 13.12 skrev Steve Craig <steve@asylumweb.com>:

Hi All

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

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


The parsing of the returned stuff is fine I just can't get t= he TCPConnect to populate a text variable with the response and I'm baffled a= s 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 retri= eve with the XML tags but I'm even more in the dark with that.
Any help or advice much appreciated.

Ch= eers
=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
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



--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.= webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
= --Apple-Mail-609E2B91-9224-426D-AB4E-82259649DCD1-- Palle Bo Nielsen

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:

Dark Horse Comics success story (1997) Re:E-mailer application times out (1998) WebCat editing, SiteGuard & SiteEdit (1997) WebCat2: multiple currency support (1997) Authenticate (1997) Number date (2006) Using WC for Bulk Emailings (1997) search context w shownext works! (1997) Re1000001: Setting up shop (1997) Email Format (Umlaut) (2004) More Applescript (1997) 2.1b3 --> way slow (1997) WebCat2b15MacPlugin - showing [math] (1997) [OT] Startup E-Mail (2000) same product in cart (1997) Weird error/limit - something amiss? (1997) (2000) Summing fields (1997) A better WebCat whois (was [OT] Domain Name Scam) (2000) Quit revisited (1997)