Personal tools
You are here: Home documentation tutorials/howtos Simple Pd-extended Webclient
Views

Edit history

Edit: -1 of 1
Time: 2013-10-18 23:34:19
Note: /pd/pd/docs/tutorials/SimpleWebclient/edit

changed:
-
<h2>Background</h2>
<p>Have you wanted to be able to grab information from a webpage or HTTP server in PD? It's easy using the HTTP protocol GET request and a tcp networking object, in this case the mrpeach/tcpclient within our simple webclient object, httpget:</p>

"httpget-help screenshot":img:httpgetscreenshot

<h2>Download</h2>

"httpget.pd":httpget - "httpget-help.pd":httpgethelp

<p>Also, you can more up to date versions in the <a href="https://github.com/danomatika/rc-patches/tree/master/extra">rc-patches on Github</a>.

<h2>How To</h2>
<p>Send the URL you want to get as a message to httpget which grabs the raw page as bytes and outputs it a symbol (text string). Set the End of String (EOS) character if you want to separate the output by new line (10), space (32), tab (9), etc for parsing. See the <a href="http://www.cs.utk.edu/~pham/ascii_table.jpg">ASCII table</a> for character codes.</p>


Powered by IEM Powered by Plone Section 508 WCAG Valid XHTML Valid CSS Usable in any browser