[PD] getting strings into messages for objects from web

Martin Peach martin.peach at sympatico.ca
Mon Mar 12 22:17:20 CET 2012


What I have done is load the page into a table and scan it for strings. 
For example there is [mrpeach/tabfind] which will look for a sequence of 
characters in a table.

Martin

On 2012-03-12 17:01, Pagano, Patrick wrote:
> What if I had 10 words to choose from maybe 20 single strings
> Is there a simpler way to grab that?
>
> -----Original Message-----
> From: pd-list-bounces at iem.at [mailto:pd-list-bounces at iem.at] On Behalf Of Martin Peach
> Sent: Monday, March 12, 2012 1:24 PM
> To: Pagano, Patrick
> Cc: pd-list at iem.at
> Subject: Re: [PD] getting strings into messages for objects from web
>
> In mrpeach, [httpreq] and [httpreceive] will output the contents of web pages as single characters. From there there are several ways of parsing the data. I find pdlua better for string operations but you have to learn lua or wait for someone to write the objects.
> It's possible to use moocow [bytes2any] and similar objects to parse limited amounts of text, the problem with huge amounts is that it all ends up as symbols in Pd's symbol table, which will eat memory and slow Pd down.
>
> Martin
>
> On 2012-03-12 12:02, Pagano, Patrick wrote:
>> Hi
>>
>> I was wondering if anyone has a way to grab search terms [strings]
>> from the web or other forms and bring it into pd as a message for an object.
>>
>> Currently I have been experimenting with the fabulous Qweb and I would
>> like to apply search terms to certain objects from phones etc..
>> without people necessarily having to have pd installed.
>>
>> This is just an idea so forgive any repeated research
>>
>> pp
>>
>> Patrick Pagano, B.S, M.F.A
>>
>> Assistant in Digital Arts and Science
>>
>> Digital Worlds Institute
>>
>> University of Florida, USA
>>
>> (352)294-2020
>>
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->  http://lists.puredata.info/listinfo/pd-list
>
>




More information about the Pd-list mailing list