Re: Element thumbnail is undefined in a Java object of type class coldfusion.xml.XmlNodeList.

2009-11-09 Thread Casey Dougall

On Sun, Nov 8, 2009 at 11:35 AM, Dave Watts  wrote:

>
> > I don't understand how this is failing... keeps on saying thumbnail
> doesn't
> > exist... BUT the next node down is content which DOES exist.
>
> From the docs:
> " If the thumbnail is not available for the clip then the element
> media:thumbnail will not be present."
>
> Maybe there aren't any thumbnails.
>
>

LOL, thanks Dave. That's what I get for not reading the fine print ;-)


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328124
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Element thumbnail is undefined in a Java object of type class coldfusion.xml.XmlNodeList.

2009-11-08 Thread Dave Watts

> I don't understand how this is failing... keeps on saying thumbnail doesn't
> exist... BUT the next node down is content which DOES exist.

>From the docs:
" If the thumbnail is not available for the clip then the element
media:thumbnail will not be present."

Maybe there aren't any thumbnails.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328120
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Element thumbnail is undefined in a Java object of type class coldfusion.xml.XmlNodeList.

2009-11-08 Thread Casey Dougall

I don't understand how this is failing... keeps on saying thumbnail doesn't
exist... BUT the next node down is content which DOES exist.

I'm trying to set lists of things based on the reply back from
livestream.com API and everything is ok but these thumbnail
Element thumbnail is undefined in a Java object of type class
coldfusion.xml.XmlNodeList.

item XmlText
title  XmlTextDj Necro - Fri Apr 10 2009  link  XmlText
pla_1521349091473958947  description  XmlText
 pubDate  XmlTextSun, 04 Jan 2009 03:32:38 GMT  guid  XmlText
pla_1521349091473958947  dc:date  XmlText2009-01-04T03:32:38Z
media:thumbnail  XmlText
XmlAttributes struct height 100  url
http://mogulus-user-files.s3.amazonaws.com/chv2torqdjtv/2009/04/09/9b5dd820-b625-4129-9e74-bae70d863eb6_990.jpg
width 100media:content  XmlText
XmlAttributes struct duration 1963096  type video/x-flv  url
http://www.livestream.com/torqdjtv/ondemand/pla_1521349091473958947 

This Doesn't Work:
 


But this DOES Work:




Any ideas of what I'm missing here?

This is their API over view with the sample XML return.
http://www.livestream.com/userguide/index.php/Channel_API#List_Clips


Casey


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328119
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4