RE: NASDAQ.com... ERRRRR! - Fixed it -

2000-10-24 Thread brett

Gavin,
There is a better and more PC way of doing this (That's Program ally
Correct :)  While your method works it also will suppress other errors
related to your accessing this structure.

Here is what I recommend.


  

#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"][
1].value#


#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"].
value#


Sorry for reviving the dead thread but I don't troll this list much.

Also lemme plug our new release of SOXML, which is a complete XML interface
for ColdFusion, free and open-source. blah, blah   just go here:
http://www.siteobjects.com/index.cfm?fuseAction=showproducts

Happy Coding,

-Brett Suwyn



-Original Message-
From: Gavin Myers
Sent: Tuesday, October 17, 2000 9:29 AM
To: '[EMAIL PROTECTED]'
Subject: NASDAQ.com... ER!

Nevermind, Had my stuff inside the cfcatch... shoulda been like this:

#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"][1].
value#


#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"].val
ue#



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: NASDAQ.com... ERRRRR!

2000-10-17 Thread Dan O'Keefe

What is a siteobject?

> fuseobjects... hah, i mean siteobjects

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: NASDAQ.com... ERRRRR!

2000-10-17 Thread Gavin Myers

fuseobjects... hah, i mean siteobjects

-Original Message-
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 17, 2000 9:29 AM
To: CF-Talk
Subject: NASDAQ.com... ER!


okay, i'm pulling xml info off of nasdaq.com. You can find the xml stuff
they have at:
http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ALLR

every %&*@ minute they change the way they handle best-bid-price, and
best-ask-price
they do this:

from 

to



so, needless to say, this throws an error every time they change it around.

I was thinking of doing a cftry, but I was unsure on how to do this, is this
correct?

http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ALLR"
r_struct="sALLR">



#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"][1
].value#


#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"].v
alue#


when i do that, it just doesnt show up with a bid price at all...

any suggestions?

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: NASDAQ.com... ERRRRR! - Fixed it -

2000-10-17 Thread Gavin Myers

Nevermind, Had my stuff inside the cfcatch... shoulda been like this:

#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"][1].
value#


#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"].val
ue#



-Original Message-
From: Gavin Myers 
Sent: Tuesday, October 17, 2000 9:29 AM
To: '[EMAIL PROTECTED]'
Subject: NASDAQ.com... ER!


okay, i'm pulling xml info off of nasdaq.com. You can find the xml stuff
they have at:
http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ALLR

every %&*@ minute they change the way they handle best-bid-price, and
best-ask-price
they do this:

from 

to



so, needless to say, this throws an error every time they change it around.

I was thinking of doing a cftry, but I was unsure on how to do this, is this
correct?

http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ALLR"
r_struct="sALLR">



#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"][1
].value#


#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"].v
alue#


when i do that, it just doesnt show up with a bid price at all...

any suggestions?
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.