1 /** @fileoverview Variaveis globais do projeto. 2 */ 3 /** 4 Chave da API do Google 5 @type String 6 */ 7 API_KEY_GOOGLE = ''; 8 /** 9 Chave da API do Facebook 10 @type String 11 */ 12 API_KEY_FACEBOOK = ''; 13 14 /** 15 URL para o RSS do tempo 16 @type String 17 */ 18 URL_WEATHER = "http://www.google.com/ig/api?weather=Sao-Carlos&hl=pt-br"; 19 /** 20 URL de requisição do cardápio em JSON (Bandejão) 21 @type String 22 */ 23 USP_CARDAPIO = "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20xml%20where%20url%3D'http%3A%2F%2Fwww.pcasc.usp.br%2Frestaurante.xml'&format=json"; 24 25 //ICMC_DESTAQUES = "http://www.icmc.usp.br/feed/noticias.php"; 26 /** 27 URL para os destaques do ICMC em RSS. (Sala de Imprensa) 28 @type String 29 */ 30 ICMC_DESTAQUES = "http://icmc-usp.blogspot.com/feeds/posts/default?alt=rss"; 31 /** 32 URL para requisição do RSS do Flickr 33 @deprecated 34 @type String 35 */ 36 ICMC_FLICKR = "http://api.flickr.com/services/feeds/photos_public.gne?id=56306050@N03&lang=pt-br&format=&" + new Date().getTime(); 37 /** 38 Array de URL's para requisições dos eventos do ICMC 39 @type Array 40 */ 41 ICMC_EVENTOS = new Array(); 42 ICMC_EVENTOS[0] = "http://www.icmc.usp.br/eventos/feed/?" + new Date().getTime(); 43 ICMC_EVENTOS[1] = "http://www.icmc.usp.br/intranet/bancas/xml.php"; 44 /** 45 URL para requisição dos posts no Grupo do ICMC 46 @type String 47 */ 48 ICMC_FACEBOOK = "https://graph.facebook.com/359610410723189/feed?access_token="+API_KEY_FACEBOOK+"&format=json"; 49 /** 50 URL para requisição dos albums de fotos do ICMC 51 @type String 52 */ 53 ICMC_FB_ALBUMS = "https://graph.facebook.com/100002021845482/albums?access_token="+API_KEY_FACEBOOK+"&format=json"; 54 /** 55 Tempo de inicio do Janelas Virtuais 56 @default 55000 57 @type int 58 */ 59 TEMPO_INICIO_MIDIA = 55000; 60 /** 61 Tempo de atualização em milisegundos do Janelas Virtuais 62 @type int 63 @default 90000 64 */ 65 TEMPO_REFRESH_MIDIA = 90000; 66 /** 67 Tempo de atualização de abas do Janelas virtuais. (Milisegundos) 68 @type int 69 @default 90000 70 */ 71 TEMPO_REFRESH_ABAS = 90000; 72 /** 73 Tempo de atualização da previsão do tempo. (Milisegundos) 74 @default 90000 75 @type int 76 */ 77 TEMPO_REFRESH_WEATHER = 90000; 78