$(function(){ $.ajax({ type: "GET", url: "http://videos.ufrgs.br/ufrgstv/latestvideos/RSS2", dataType: "xml", success: function(xml) { var VIDEOS_POR_LINHA=4; var i=VIDEOS_POR_LINHA; var sair_do_loop=false; var numero_da_tabela_de_videos=0; var content=""; var titles=""; var links=""; $(xml).find("item").each(function(){ var title = $(this).find("title").text(); var link = $(this).find("link").text(); var description = $(this).find("media\\:description, description").text(); var thumbnail = $(this).find("media\\:thumbnail, thumbnail").attr('url'); thumbnail = "
"+description+"