[PD] Help parsing HTML with [httpget]

2011-03-05 Thread Philip Cunningham
Hello all, I was working on a patch that visualises and sonifies weather data posted online in an HTML document. I was using [httpget] to grab the document and using [listsplit] and [symbol2list] to parse the necessary data. However, using this method, I will often get the error error: unpack:

Re: [PD] Help parsing HTML with [httpget]

2011-03-05 Thread Philip Cunningham
I managed to do this using Ruby. http://philipcunningham.org/2011/03/05/university-york-weather-parser/ However, I'd still like to find a PD-only solution if anyone can help. Best, Philip On Sat, Mar 5, 2011 at 9:34 AM, Philip Cunningham pcunningham...@googlemail.com wrote: Hello all, I was

Re: [PD] Help parsing HTML with [httpget]

2011-03-05 Thread Martin Peach
It works fine for me. I recently added [httpreq] and [httpreceive] to the mrpeach stuff in svn, they make it easier to do http stuff. [httpreceive] outputs the status on a separate outlet so you could scan for the expires keyword to know when to make another request. Martin On 2011-03-05

Re: [PD] Help parsing HTML with [httpget]

2011-03-05 Thread Philip Cunningham
Hello all, Strangely I cannot replicate the problems I'm having in Ubuntu Maverick on Windows Vista. Martin Peach also says that he is able to parse information without any errors on XP. This leads me to believe that the problem doesn't lie with my patch but elsewhere. A bit stumped on this one

Re: [PD] Help parsing HTML with [httpget]

2011-03-05 Thread Mathieu Bouchard
On Sat, 5 Mar 2011, Philip Cunningham wrote: Strangely I cannot replicate the problems I'm having in Ubuntu Maverick on Windows Vista. Martin Peach also says that he is able to parse information without any errors on XP. This leads me to believe that the problem doesn't lie with my patch but