Hi,
I'm using HTTPGET to get some informations on a website.
The request works fine and output me 7 lists.
But i'm only interested in one number of the third list.
I don't know what is the best way to parse text in list or browse list, to get this number ?
Thanx !
P.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
Can you send us an example of the 7 lists you receive ? Attached is a small patch that could help you. ++
Jack
Le 27/09/2014 17:28, Pierre Desprats a écrit :
Hi,
I'm using HTTPGET to get some informations on a website.
The request works fine and output me 7 lists.
But i'm only interested in one number of the third list.
I don't know what is the best way to parse text in list or browse list, to get this number ?
Thanx !
P.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I use pd_lua to extract things from text files, in part to avoid filling up Pd's symbol table with junk. Here is an example that takes values from a list of solar wind values obtained via httpget with the message GET http://www.swpc.noaa.gov/ftpdir/lists/ace/ace_mag_1m.txt
Martin
On Sat, Sep 27, 2014 at 12:10 PM, Jack jack@rybn.org wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
Can you send us an example of the 7 lists you receive ? Attached is a small patch that could help you. ++
Jack
Le 27/09/2014 17:28, Pierre Desprats a écrit :
Hi,
I'm using HTTPGET to get some informations on a website.
The request works fine and output me 7 lists.
But i'm only interested in one number of the third list.
I don't know what is the best way to parse text in list or browse list, to get this number ?
Thanx !
P.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEcBAEBAgAGBQJUJuF1AAoJEOuluecjw8GUZhsH/1YryEyZt1m3qOCFWeoxaWQp g4JE+oiyc4J0xqfnWoa+H/Aq35NnCl55GBYaP5DROaEH0XbyfOW4Y1/zAVHtDePs +AjWBNvJaZ34e1BBbLAFzYA214LLBA8ttr4SQkevX3PNpc3l/jOkdYUVcr81Dqw2 cwkTIY7oMSoXJCd67G/AfiKHiSDnZgkUkKatmKCuS2VSwy02XwpJqCpxpuTv3JbG 2d4Ia4R3dUDN49PIWziFqhj9s6r0FSmaih9DJTJgo5sltDSGhcpbBQlLFiaLkKfH L3SelDGF+8VdHrl1UIwbO1vWQf2/LJnFmqoJvH6purVvc5EtqU27+Xt2nNn9Aq0= =Rd4U -----END PGP SIGNATURE-----
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hey,
thanks Martin et Jack.
Jack, I used your small patch to get the informations and it's pretty efficient !
And thanks Martin, i was searching for that kind of data in txt to supply my patch. I'll check your LUA script, for now it's not necessary but i'm sure that exemple will be precious real soon.
P.
Le 27/09/14 19:40, Martin Peach a écrit :
I use pd_lua to extract things from text files, in part to avoid filling up Pd's symbol table with junk. Here is an example that takes values from a list of solar wind values obtained via httpget with the message GET http://www.swpc.noaa.gov/ftpdir/lists/ace/ace_mag_1m.txt
Martin
On Sat, Sep 27, 2014 at 12:10 PM, Jack <jack@rybn.org mailto:jack@rybn.org> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, Can you send us an example of the 7 lists you receive ? Attached is a small patch that could help you. ++ Jack Le 27/09/2014 17:28, Pierre Desprats a écrit : > Hi, > > I'm using HTTPGET to get some informations on a website. > > The request works fine and output me 7 lists. > > But i'm only interested in one number of the third list. > > I don't know what is the best way to parse text in list or browse > list, to get this number ? > > Thanx ! > > P. > > _______________________________________________ > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and > account-management -> http://lists.puredata.info/listinfo/pd-list -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUJuF1AAoJEOuluecjw8GUZhsH/1YryEyZt1m3qOCFWeoxaWQp g4JE+oiyc4J0xqfnWoa+H/Aq35NnCl55GBYaP5DROaEH0XbyfOW4Y1/zAVHtDePs +AjWBNvJaZ34e1BBbLAFzYA214LLBA8ttr4SQkevX3PNpc3l/jOkdYUVcr81Dqw2 cwkTIY7oMSoXJCd67G/AfiKHiSDnZgkUkKatmKCuS2VSwy02XwpJqCpxpuTv3JbG 2d4Ia4R3dUDN49PIWziFqhj9s6r0FSmaih9DJTJgo5sltDSGhcpbBQlLFiaLkKfH L3SelDGF+8VdHrl1UIwbO1vWQf2/LJnFmqoJvH6purVvc5EtqU27+Xt2nNn9Aq0= =Rd4U -----END PGP SIGNATURE----- _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list