Webpage

Jan 26, 2009 at 1:38pm

Webpage

Hi,
Is there a possibility to read the text/ html code of a Webpage and search it for certain defined keywords, and bring the text/ Symbols back into max for further evalutation?

Are there any externals for that if not within MaxMSPJitter?

Example: you would enter the webpage of a weatherforcaster and search for “temperature” and bring the values of the displayed Temperature back into Max as a number or symbol.

Thanks for support

#41945
Jan 26, 2009 at 1:45pm

Look at [jit.uldl] to download the html code of a webpage, you can store it in [jit.textfile] and search it with [jit.str.regexp]. You might also want to look at [detox] which parses xml-like files. It is an external object and can be found here:

http://www.jasch.ch/dl/default.htm

lh

#149805
Jan 26, 2009 at 2:09pm

#149806
Jan 26, 2009 at 5:39pm

I threw together something for a student last term which you can snag
at http://incendiaryarts.org/program/Kevin.zip. Look at the
subpatchers in the -Kevin patch.

Ean

On Jan 26, 2009, at 8:38 AM, FHAStudent1 wrote:

>
> Hi,
> Is there a possibility to read the text/ html code of a Webpage and
> search it for certain defined keywords, and bring the text/ Symbols
> back into max for further evalutation?
>
> Are there any externals for that if not within MaxMSPJitter?
>
> Example: you would enter the webpage of a weatherforcaster and
> search for “temperature” and bring the values of the displayed
> Temperature back into Max as a number or symbol.
>
> Thanks for support
>
>
>

#149807
Jan 26, 2009 at 8:12pm

#149808

You must be logged in to reply to this topic.