[PD] Parsing text

2014-09-27 Thread Pierre Desprats

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


Re: [PD] Parsing text

2014-09-27 Thread Jack
-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-


get_element_from_specific_list.pd
Description: application/puredata
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Parsing text

2014-09-27 Thread Martin Peach
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 j...@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




ace_unpack.pd_lua
Description: Binary data
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list