Changeset 31683


Ignore:
Timestamp:
12/11/14 22:17:04 (8 years ago)
Author:
andyjetset
Message:

fix weather

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/weather/weather.h

    r31682 r31683  
    140140        tmpsearch = ostrcat(tmpsearch, "&weasearchstr=", 1, 0);
    141141        tmpsearch = ostrcat(tmpsearch, location, 1, 0);
    142         free(lang), lang = NULL;
    143 
    144         //tmpsearch = ostrcat("data.aspx?weadegreetype=C&culture=de-DE&weasearchstr=", location, 0, 0);
     142        free(lang), lang = NULL;   
     143
     144        //tmpsearch = ostrcat("data.aspx?src=vista&weadegreetype=C&culture=de-DE&weasearchstr=", location, 0, 0);
    145145        //tmpsearch = ostrcat("ig/api?weather=", location, 0, 0);
    146146        //TODO: implement auto language (from titan.cfg)
     
    148148        //tmpsearch = stringreplacechar(tmpsearch, ' ', '+');
    149149
    150         tmpstr = gethttp("msn.com/en-us/weather", tmpsearch, 80, NULL, NULL, 5000, NULL, 0);
     150        tmpstr = gethttp("weather.service.msn.com", tmpsearch, 80, NULL, NULL, 5000, NULL, 0);
    151151        //tmpstr = gethttp("www.google.com", tmpsearch, 80, NULL, NULL, 5000, NULL, 0);
    152152
Note: See TracChangeset for help on using the changeset viewer.