comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Still more fun with XML
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Still more fun with XML [message #43206] Thu, 24 March 2005 15:25
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <MPG.1cace25f9583eca4989994@news.frii.com>,
David Fanning <davidf@dfanning.com> wrote:

> I just look out the window, but I'm old school. :-)
>
> Cheers,
>
> David

That's known as "takin' and ob".

Ken
Re: Still more fun with XML [message #43215 is a reply to message #43206] Thu, 24 March 2005 13:43 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kenneth Bowman writes:

> Well, we do have ways to get weather data that don't involve IDL. ;-)

I just look out the window, but I'm old school. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Still more fun with XML [message #43216 is a reply to message #43215] Thu, 24 March 2005 13:06 Go to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <pan.2005.03.24.20.53.49.875000@rsinc.com>,
Karl Schultz <k____schultz@rsinc.com> wrote:

>> Now I know how David feels. :-(
>>
>> Ken Bowman
>
> Looks like you are on OS X. Could be that the Xerces lib has a bug or
> the http protocol never got implemented there. I'll look into it.
>
> It does work on Windows and Linux.
>
> Karl

Well, we do have ways to get weather data that don't involve IDL. ;-)

Ken Bowman
Department of Atmospheric Sciences
Texas A&M University
Re: Still more fun with XML [message #43218 is a reply to message #43216] Thu, 24 March 2005 12:54 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Thu, 24 Mar 2005 14:09:03 -0600, Kenneth Bowman wrote:

> In article <pan.2005.03.24.16.43.58.515000@rsinc.com>,
> Karl Schultz <k____schultz@rsinc.com> wrote:
>
>> This program reads an RSS feed from this weather web site. In particular,
>> it gets the weather for the Fort Collins - Loveland airport in Colorado.
>> Of course, you can change it to whatever airport you wish, as long as it
>> is reported on this site.
>
> IDL> weather
> % Compiled module: WEATHER.
> % Loaded DLM: XML.
> % OBJ_NEW: Parser fatal error: File: , line: 0, column: 0 : An exception occurred!
> Type:MalformedURLException, Message:The URL used an unsupported protocol
> % OBJ_NEW: Error encountered during the parse operation.
> % Execution halted at: WEATHER 3 /Network/Servers/csrp.tamu.edu/Volumes/csrp0/Home/bowm
> an/idl/misc/weather.pro
> % $MAIN$
>
>
> Now I know how David feels. :-(
>
> Ken Bowman

Looks like you are on OS X. Could be that the Xerces lib has a bug or
the http protocol never got implemented there. I'll look into it.

It does work on Windows and Linux.

Karl
Re: Still more fun with XML [message #43219 is a reply to message #43218] Thu, 24 March 2005 12:09 Go to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <pan.2005.03.24.16.43.58.515000@rsinc.com>,
Karl Schultz <k____schultz@rsinc.com> wrote:

> This program reads an RSS feed from this weather web site. In particular,
> it gets the weather for the Fort Collins - Loveland airport in Colorado.
> Of course, you can change it to whatever airport you wish, as long as it
> is reported on this site.

IDL> weather
% Compiled module: WEATHER.
% Loaded DLM: XML.
% OBJ_NEW: Parser fatal error: File: , line: 0, column: 0 : An exception occurred!
Type:MalformedURLException, Message:The URL used an unsupported protocol
% OBJ_NEW: Error encountered during the parse operation.
% Execution halted at: WEATHER 3 /Network/Servers/csrp.tamu.edu/Volumes/csrp0/Home/bowm
an/idl/misc/weather.pro
% $MAIN$


Now I know how David feels. :-(

Ken Bowman
Re: Still more fun with XML [message #43228 is a reply to message #43219] Thu, 24 March 2005 08:51 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Karl Schultz writes:

> Since we're so deep into XML...
>
> There's a really fun undocumented feature (that will be documented in the
> next IDL) that allows the IDL XML DOM parser to read XML from a URL
> instead of a local file.

Oh, no! My XML ideas have increased 10-fold! Forget
about writing that book. Programming is too much fun. :-(

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: LINUX Device Question
Next Topic: (",) Do You Want To Know For Sure You Are Going To Heaven?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:02:51 PDT 2025

Total time taken to generate the page: 1.35560 seconds