Doug Crompton on 15 Jun 2006 14:36:59 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Using wget for weather bug API


Ok answering my own question.. I did not have ''s around the http string.
So I have the XML data. What is the best (and easiest) way to make this
into text??

Doug

On Wed, 14 Jun 2006, Doug Crompton wrote:

> Weather Bug now offers a free API which allows you to get the weather from
> any of its remote sites directly in XML. All you have to do is register.
> Kind of neat... anyhow..
>
> I want to wget the data but wget is complaining about cookies.
>
> HTTP request sent, awaiting response... 200 OKSyntax error in Set-Cookie
> at character `.'.
>
>
> The site reads in fine in Internet Explorer. My ulitmate goal is to
> convert the resulting XML data to text and use a text to speech engine to
> to save it to a voice file (wav) which I can access via Asterisk or other
> means.
>
> Anyone doing anything similiar?
>
> Doug
>
>
> ****************************
> *  Doug Crompton	   *
> *  Richboro, PA 18954	   *
> *  215-431-6307		   *
> *		  	   *
> * doug@crompton.com        *
> * http://www.crompton.com  *
> ****************************
>
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>


"Those that sacrifice essential liberty to obtain a little temporary safety
 deserve neither liberty nor safety."  -- Ben Franklin (1759)

****************************
*  Doug Crompton	   *
*  Richboro, PA 18954	   *
*  215-431-6307		   *
*		  	   *
* doug@crompton.com        *
* http://www.crompton.com  *
****************************


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug