// console.log(Y.JSON().stringify(r));
WheatherForecastResult fresult = r.query().results().cast();
Channel channel = fresult.channel();
parent.append(
"<a href=\""+channel.link()+"\">"+
channel.title()+"</a> - Wind speed: "+channel.wind().speed()+" kph. " +
//or not using any Java API at all, just the js object api
"Direction: "+r.query().results().objGetObj("channel").
objGetObj("wind").objGetString("direction")+