Passing variable into YQL statement

Passing variable into YQL statement

I'm having a tough time trying to add the "zip" variable to my YQL statement.


var zip = $(this).attr('zip');

$.YQL("select * from rss where url='http://weather.yahooapis.com/forecastrss?p=' ' "+ zip +" ' ", function(data){

var w=data.query.results.item;
$('.temperature').append(w.condition.temp+"°");
}); 





I've tried as many different ways as I could imagine.  Simply putting the literal zip code in the query works perfect.  I appreciate any help.  Thanks!