Re: [WebDNA] TCPConnect Help

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111376
interpreted = N
texte = --Apple-Mail=_3FC0F092-810B-473E-9A0A-1F8BA18CD916 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Not very elegantly if I'm honest, I just use some [middle] stuff to get = what I need. In this case I only need the distance figure so it's pretty = easy to get to. 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 On 15 May 2014, at 12:50, Palle Bo Nielsen = wrote: > Are you able to submit an example on how you parse? >=20 > I normally use Perl for such a task. Maybe WebDna could be a better = option.=20 >=20 > Palle >=20 >=20 > Sendt fra min iPhone >=20 > 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 to populate a text variable with the response and I'm baffled = as to what I'm doing 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 dark 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 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 > --------------------------------------------------------- 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=_3FC0F092-810B-473E-9A0A-1F8BA18CD916 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi

Not very elegantly if I'm = honest, I just use some [middle] stuff to get what I need. In this case = I only need the distance figure so it's pretty easy to get = to.

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



On 15 May 2014, at 12:50, Palle Bo Nielsen <powerpalle@powerpalle.dk> = wrote:

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. 

Palle


Sendt fra min = iPhone

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

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...


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



--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_3FC0F092-810B-473E-9A0A-1F8BA18CD916-- 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=_3FC0F092-810B-473E-9A0A-1F8BA18CD916 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Not very elegantly if I'm honest, I just use some [middle] stuff to get = what I need. In this case I only need the distance figure so it's pretty = easy to get to. 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 On 15 May 2014, at 12:50, Palle Bo Nielsen = wrote: > Are you able to submit an example on how you parse? >=20 > I normally use Perl for such a task. Maybe WebDna could be a better = option.=20 >=20 > Palle >=20 >=20 > Sendt fra min iPhone >=20 > 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 to populate a text variable with the response and I'm baffled = as to what I'm doing 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 dark 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 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 > --------------------------------------------------------- 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=_3FC0F092-810B-473E-9A0A-1F8BA18CD916 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi

Not very elegantly if I'm = honest, I just use some [middle] stuff to get what I need. In this case = I only need the distance figure so it's pretty easy to get = to.

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



On 15 May 2014, at 12:50, Palle Bo Nielsen <powerpalle@powerpalle.dk> = wrote:

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. 

Palle


Sendt fra min = iPhone

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

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...


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



--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_3FC0F092-810B-473E-9A0A-1F8BA18CD916-- 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:

ShowNext & Showif together (1999) [cart]'s ever get recycled? (2000) Help with sorting search results sorting (1998) Buying sans cart (1997) Summing fields (1997) Is there an alternative to emailer? (1999) Require Value to be a Num (1998) WebCat2b13MacPlugIn - More limits on [include] (1997) emailer settings and control questions (1997) Searchable list archive (1997) Server problem? (1998) Not really WebCat (1997) Emailer setup (1997) possible, WebCat2.0 and checkboxes-restated (1997) searching by date range help needed (1997) PIXO support (1997) Emailer Problem (2000) WebCatalog for guestbook ? (1997) Re[2]: Bugs still *not* fixed as promised ... (2000) Add htmlarea 3 to SiteBuilder (2004)