-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
executable file
·63 lines (57 loc) · 1.67 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//Don't forget to download StatusNotifier from cydia in order to have active the sms, mail and missed calls alerts
//if you want temperature in Farenheit instead of Celsius put this to false
var isCelsius=true;
//Choose language es=spain | ca=catalan | en=english if another lang wanted just translate one of this
var idioma;
//idioma='es';
idioma='en';
//idioma='ca';
var Msms;
var Mmail;
var Mcall
switch(idioma){
case 'es':
Msms='Nuevos SMS';
Mmail='Nuevos E-Mails';
Mcall='Llamadas Perdidas';
break;
case 'en':
Msms='New Text Messages';
Mmail='New E-Mails';
Mcall='Missed Calls';
break;
case 'ca':
Msms='Nous Missatges';
Mmail='Nous E-Mails';
Mcall='Trucades perdudes';
break;
}
//Number of cities to display 1 or 2
var numLoc=2;
var locale = 'new york, ny';
var locale2 = 'tarragona, spain';
//Reading Rss in order or random. order=0 | random=1
var randomFeed=1;
//idFeed = choose feed number. Will read only one of these. Increase variable numberOfFeeds and write as much case's with new RSS as you want!
// 1 elPais.com
// 2 iphoneros.com
// 3 meneame.net
var numberOfFeeds=3;
var idFeed = 1;//Initial Feed
function chooseFeed(idFeed){
switch(idFeed){
case 1:
feed = 'http://www.elpais.com/rss/feed.html?feedId=1022';
idTitleRss=1; //this the position of Rss's title into xml
break;
case 2:
feed = 'http://feeds.feedburner.com/iphoneros?format=xml';
idTitleRss=0; //this the position of Rss's title into xml
break;
case 3:
feed = 'http://feeds.feedburner.com/MeneamePublicadas?format=xml';
idTitleRss=0; //this the position of Rss's title into xml
break;
}
}
chooseFeed(idFeed);