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:

WebCat2b15MacPlugin - showing [math] (1997) WCS Newbie question (1997) WebCatalog Technical Reference (1997) strange math (2004) triggering an update of two frames (1998) Ultimate BB (2001) Problem with Setheader (2001) Re[2]: 2nd WebCatalog2 Feature Request (1996) getmimeheader host on my local machine (2003) MATH PROBLEM (1997) Fwd: Emailer & IMail List Server (1998) [WebDNA] Date error (2017) X etc.... (1999) [WebDNA] [WSC] WebDNA Development Summit (2014) HTML Editors (1997) Problem displaying search result (1997) Showing Results Alphabetically in Columns (top to bottom) (2002) Re[3]: 2nd WebCatalog2 Feature Request (1996) No luck with taxes (1997) problems with 2 tags shakur (1997)