[PD] webpage to xml

Csaba Láng langcsaba at gmail.com
Mon Apr 4 15:19:19 CEST 2016


Thanks, gentlemen for the prompt and proper answer.
Python is a good approach, but a pure PD solution is always the most
welcome.

Updates with some results are coming soon.

Best:

Popesz


On Mon, Apr 4, 2016 at 12:17 PM, IOhannes m zmoelnig <zmoelnig at iem.at>
wrote:

> On 2016-04-02 12:12, Csaba Láng wrote:
> > Dear list,
> >
> > is there any option to convert automatically webpage content to xml in
> PD?
> > I would like to create some interactive installations based on web
> content,
> > and still looking for a simple way.
> >
>
> how do you convert webpage content to XML in *any language*?
>
> attached is a very simplistic example, exploiting the underspecification
> of your problem space.
>
> the patch uses mrpeach/net and mrpeach/binfile to demonstration purposes
> (fetching the HTML from a live website, saving the XML to a file), but
> the actual "conversion" is done in Pd-vanilla.
>
> i haven't tested it excessively, but the conversion i did test (the one
> encoded into the example patch) validates as correct XML.
>
> gfmasdr
> IOhannes
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160404/18f96e6f/attachment.html>


More information about the Pd-list mailing list