<div dir="ltr">Thanks, gentlemen for the prompt and proper answer.<div>Python is a good approach, but a pure PD solution is always the most welcome.</div><div><br></div><div>Updates with some results are coming soon.</div><div><br></div><div>Best:</div><div><br></div><div>Popesz</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 4, 2016 at 12:17 PM, IOhannes m zmoelnig <span dir="ltr"><<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2016-04-02 12:12, Csaba Láng wrote:<br>
> Dear list,<br>
><br>
> is there any option to convert automatically webpage content to xml in PD?<br>
> I would like to create some interactive installations based on web content,<br>
> and still looking for a simple way.<br>
><br>
<br>
</span>how do you convert webpage content to XML in *any language*?<br>
<br>
attached is a very simplistic example, exploiting the underspecification<br>
of your problem space.<br>
<br>
the patch uses mrpeach/net and mrpeach/binfile to demonstration purposes<br>
(fetching the HTML from a live website, saving the XML to a file), but<br>
the actual "conversion" is done in Pd-vanilla.<br>
<br>
i haven't tested it excessively, but the conversion i did test (the one<br>
encoded into the example patch) validates as correct XML.<br>
<br>
gfmasdr<br>
<span class="HOEnZb"><font color="#888888">IOhannes<br>
</font></span><br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>