Yahoo Wetter ersatz

    • iPhone 5C
    • ok

      hier mal das wichtigste die abfrage über yahoo

      Java-Quellcode

      1. // Neue Yahoo Version von 2013
      2. if(sprache == 'de'){ url="http://xml.weather.yahoo.com/forecastrss?w="+locale+"&u="+tempUnit; }
      3. else{ url="http://weather.yahooapis.com/forecastrss?w="+locale+"&u="+tempUnit; }
      4. var xml_request = new XMLHttpRequest();
      5. xml_request.overrideMimeType("text/xml");
      6. xml_request.open("GET", url+"&antiCache="+Math.floor(Math.random()*1001));
      7. xml_request.setRequestHeader("Cache-Control", "no-cache");
      8. xml_request.onreadystatechange = function() {
      9. if (xml_request.readyState == 4) {
      10. if (xml_request.status == 200)
      11. {
      12. xmldata = true;
      13. xml_responded(xml_request);
      14. }
      15. else
      16. {
      17. if (xmldata == false) { updateWeather({error:true}); } else { document.getElementById("internet").innerHTML = "Offline"; }
      18. return null;
      19. }
      20. }
      21. }
      22. xml_request.send(null);
      23. return xml_request;
      24. }
      25. // Wetterdaten zuweisen
      26. function xml_responded (request){
      27. var obj = {error:false, errorString:null};
      28. var effectiveRoot = findChild(findChild(request.responseXML, "rss"), "channel");
      29. // yahoo mein Standort
      30. obj.ort = "";
      31. obj.ort = findChild(effectiveRoot, "yweather:location").getAttribute("city"); // Orginal Eintrag
      32. if ( woeid == "20065898" || obj.ort == "Lubeque" ) { obj.ort="myHome"; } // document.getElementById("ort").innerHTML=obj.ort;
      33. if ( woeid == "643099" || obj.ort == "Celle" ) { obj.ort="myNewHome"; }
      34. obj.region = findChild(effectiveRoot, "yweather:location").getAttribute('region');
      35. obj.land = findChild(effectiveRoot, "yweather:location").getAttribute('country');
      36. // yahoo Aktuelle Wetterlage
      37. var conditionTag = findChild(findChild(effectiveRoot, "item"), "yweather:condition");
      38. obj.wetter_ist = conditionTag.getAttribute("code"); // Wetter ID
      39. obj.wetter_ist_mini = conditionTag.getAttribute("code");
      40. obj.temp_ist = conditionTag.getAttribute("temp"); // Aktuelle Temperatur
      41. obj.description = conditionTag.getAttribute("text"); // Wetter Angabe als Text
      42. // yahoo wind
      43. obj.windr = findChild(effectiveRoot, "yweather:wind").getAttribute("direction");
      44. obj.realFeel = findChild(effectiveRoot, "yweather:wind").getAttribute("chill"); // Gefühlte Temperatur
      45. obj.windspeed = findChild(effectiveRoot, "yweather:wind").getAttribute("speed");
      46. speed = parseFloat(obj.windspeed); // parseFloat = Zeichenkette in eine Zahl umwandeln
      47. // yahoo Atmosfähre
      48. obj.humidity = findChild(effectiveRoot, "yweather:atmosphere").getAttribute("humidity");
      49. obj.sicht = findChild(effectiveRoot, "yweather:atmosphere").getAttribute("visibility");
      50. luftd = findChild(effectiveRoot, "yweather:atmosphere").getAttribute('pressure');
      51. anstieg = findChild(effectiveRoot, "yweather:atmosphere").getAttribute('rising');
      52. // yahoo Sonnenauf. und Untergang
      53. obj.sunrise = findChild(effectiveRoot, "yweather:astronomy").getAttribute("sunrise");
      54. obj.sunset = findChild(effectiveRoot, "yweather:astronomy").getAttribute("sunset");
      55. // yahoo Prognose
      56. var forecast = findChild(findChild(effectiveRoot, "item"), "yweather:forecast");
      57. obj.todaylow = forecast.getAttribute("low");
      58. obj.todayhigh = forecast.getAttribute("high");
      59. // Einheiten Angaben
      60. obj.tempunit = findChild(effectiveRoot, "yweather:units").getAttribute("temperature"); // Grad Anzeige C oder F
      61. obj.visibilityunit = findChild(effectiveRoot, "yweather:units").getAttribute("distance"); // Sichtweite
      62. obj.pressureunit = findChild(effectiveRoot, "yweather:units").getAttribute("pressure"); // Luftdruck Angabe = mb
      63. obj.windunit = findChild(effectiveRoot, "yweather:units").getAttribute("speed"); // Windgeschwindigkeit in Km/h oder
      64. // auf internet und gültigkeit prüfen
      65. if (obj.wetter_ist == 3200) { obj.wetter_ist = 48; }
      66. // Gefühlte Temperatur unter berechnung der Aktuellen Temperatur und Luftfeuchtigkeit %
      67. if (tempUnit=="c" && obj.temp_ist >= 27 && obj.humidity >= 40) {
      68. var marty;
      69. marty = (obj.temp_ist) * 9/5 + 32;
      70. var hi = -42.379+2.04901523*(marty)+10.14333127*(obj.humidity)-0.22475541*(marty)*(obj.humidity)-6.83783*(Math.pow(10, -3))*(Math.pow(marty, 2))-5.481717*(Math.pow(10, -2))*(Math.pow((obj.humidity), 2))+1.22874*(Math.pow(10, -3))*(Math.pow((marty), 2))*(obj.humidity)+8.5282*(Math.pow(10, -4))*(marty)*(Math.pow((obj.humidity), 2))-1.99*(Math.pow(10, -6))*(Math.pow((marty), 2))*(Math.pow((obj.humidity),2));
      71. var heatindex = Math.round((hi - 32) * 5/9);
      72. obj.realFeel = heatindex;
      73. } else {
      74. if (tempUnit=="f" && obj.temp_ist >= 80 && obj.humidity >= 40){
      75. var hi = -42.379+2.04901523*(obj.temp_ist)+10.14333127*(obj.humidity)-0.22475541*(obj.temp_ist)*(obj.humidity)-6.83783*(Math.pow(10, -3))*(Math.pow(obj.temp_ist, 2))-5.481717*(Math.pow(10, -2))*(Math.pow((obj.humidity), 2))+1.22874*(Math.pow(10, -3))*(Math.pow((obj.temp_ist), 2))*(obj.humidity)+8.5282*(Math.pow(10, -4))*(obj.temp_ist)*(Math.pow((obj.humidity), 2))-1.99*(Math.pow(10, -6))*(Math.pow((obj.temp_ist), 2))*(Math.pow((obj.humidity),2));
      76. var heatindex = Math.round(hi);
      77. obj.realFeel = heatindex;
      78. }
      79. }
      80. // Ende der Berrechnung
      81. updateWeather(obj);
      82. }
      Alles anzeigen

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von FirstDefender ()

    • ich habe mir schon die main.js angeschaut
      ich muss nur wissen was ich alles zur abfrage des wetters brauche
      und was das soll

      Java-Quellcode

      1. if (iOS == false) { var url = "widgetweather.xml" } else { var url = "file:///private/var/mobile/Documents/widgetweather.xml"; }

      und das hier

      Java-Quellcode

      1. function updateWeather_XML() {
      2. var files = "widgetweather" + xmlnumber + ".xml";
      3. switch (GroovyPlus) { /* Dual purpose switch by GroovyCarrot, NewD & Chevy */
      4. case true:
      5. groovyAPI.do ({ read: files }, function(data) { weatherHandler(data);
      6. }).fail( function () {
      7. document.getElementById("desc").innerHTML = "No widgetweather.xml file !";
      8. });
      9. break;
      10. case false:
      11. if (XML_TEST == true) { url = files; } else { url = "file:///private/var/mobile/Documents/" + files; }
      12. jQuery.get(url, function(data) { weatherHandler(data);
      13. }).fail( function () {
      14. document.getElementById("desc").innerHTML = "No widgetweather.xml file !";
      15. });
      16. break;
      17. }
      Alles anzeigen
    • das habe ich jetzt extrahiert :)

      nur was benötige ich für mein alten code und was ist das andere alles ?

      Java-Quellcode

      1. function updateWeather() {
      2. if (iOS == false) { var url = "widgetweather.xml" } else { var url = "file:///private/var/mobile/Documents/widgetweather.xml"; }
      3. jQuery.get(url, function(data) {
      4. obj.updatetimestring = $(data).find('updatetimestring').text();
      5. if (updateFileTimer != obj.updatetimestring) {
      6. obj.high = new Array;
      7. obj.low = new Array;
      8. obj.code = new Array;
      9. obj.daynumber = new Array;
      10. obj.dayofweek = new Array;
      11. obj.time24hour = new Array;
      12. obj.htemp = new Array;
      13. obj.hcode = new Array;
      14. obj.hpop = new Array;
      15. obj.hwhere = new Array;
      16. obj.accuTStormProb = new Array;
      17. $(data).find('currentcondition').each( function() {
      18. obj.city =$(this).find('name').text();
      19. obj.extraLocCity = $(this).find('extraLocCity').text();
      20. obj.extraLocNeighborhood = $(this).find('extraLocNeighborhood').text();
      21. obj.extraLocCounty = $(this).find('extraLocCounty').text();
      22. obj.extraLocLine1 = $(this).find('extraLocLine1').text();
      23. obj.state =$(this).find('state').text();
      24. obj.country =$(this).find('extraLocCountry').text();
      25. obj.countrycode =$(this).find('extraLocCountryCode').text();
      26. obj.statecode =$(this).find('extraLocStateCode').text();
      27. obj.locationid = $(this).find('locationid').text();
      28. obj.temp = $(this).find('temp').text();
      29. obj.icon = $(this).find('code').text();
      30. obj.description = $(this).find('description').text();
      31. obj.observationtime = $(this).find('observationtime').text();
      32. obj.sunset = $(this).find('sunsettime').text();
      33. obj.sunrise = $(this).find('sunrisetime').text();
      34. obj.tempUnit = $(this).find('celsius').text();
      35. obj.moonphase = $(this).find('moonphase').text()*1;
      36. obj.pressure = $(this).find('pressure').text();
      37. obj.humidity = $(this).find('humidity').text();
      38. obj.rising = $(this).find('rising').text()*1;
      39. obj.visibility = $(this).find('visibility').text();
      40. obj.RealFeel = $(this).find('chill').text();
      41. obj.cardinal = $(this).find('cardinal').text();
      42. obj.direction = $(this).find('direction').text()*1;
      43. obj.windspeed = $(this).find('speed').text()*1;
      44. obj.unitsdistance = $(this).find('unitsdistance').text();
      45. obj.unitspressure = $(this).find('unitspressure').text();
      46. obj.unitsspeed = $(this).find('unitsspeed').text();
      47. obj.unitstemperature = $(this).find('unitstemperature').text();
      48. obj.wuForecast = $(this).find('wuForecast').text();
      49. obj.wuForecastMetric = $(this).find('wuForecastMetric').text();
      50. obj.wuWeatherStation = $(this).find('wuWeatherStation').text();
      51. obj.wuElevation = $(this).find('wuElevation').text();
      52. obj.wuCity = $(this).find('wuCity').text();
      53. obj.wuWindText = $(this).find('wuWindText').text();
      54. obj.fioCloudCover = $(this).find('fioCloudCover').text()*100;
      55. obj.fioOzone = $(this).find('fioOzone').text()*1;
      56. obj.fioStormDistance = $(this).find('fioStormDistance').text()*1;
      57. obj.fioMinuteSummary = $(this).find('fioMinuteSummary').text();
      58. obj.fioHourlySummary = $(this).find('fioHourlySummary').text();
      59. obj.fioDailySummary = $(this).find('fioDailySummary').text();
      60. obj.fioPrecipIntensity = $(this).find('fioPrecipIntensity').text()*1;
      61. obj.fioStormBearing = $(this).find('fioStormBearing').text()*1;
      62. obj.accuUV = $(this).find('accuUV').text()*1;
      63. obj.accuCity = $(this).find('accuCity').text();
      64. obj.accuPrecip = $(this).find('accuPrecip').text();
      65. obj.accuShortSumm = $(this).find('accuShortSumm').text();
      66. obj.accuLongSumm = $(this).find('accuLongSumm').text();
      67. });
      68. $(data).find('googlelocation').each( function() {
      69. obj.gCity = $(this).find('gCity').text();
      70. obj.gNeigh = $(this).find('gNeigh').text();
      71. obj.gPlace = $(this).find('gPlace').text();
      72. obj.gBus = $(this).find('gBus').text();
      73. obj.gTrain = $(this).find('gTrain').text();
      74. obj.gNeigh2 = $(this).find('gNeigh2').text();
      75. obj.gNeigh3 = $(this).find('gNeigh3').text();
      76. obj.gPostal = $(this).find('gPostal').text();
      77. obj.gPostalSuffix = $(this).find('gPostalSuffix').text();
      78. obj.gHouse = $(this).find('gHouse').text();
      79. obj.gStreet = $(this).find('gStreet').text();
      80. obj.gCounty = $(this).find('gCounty').text();
      81. obj.gFullAddr0 = $(this).find('gFullAddr0').text();
      82. obj.gFullAddr1 = $(this).find('gFullAddr1').text();
      83. obj.gFullAddr2 = $(this).find('gFullAddr2').text();
      84. obj.gCoordinates = Math.round($(this).find('gLatitude').text()*1000000)/1000000 + ", " + Math.round($(this).find('gLongitude').text()*1000000)/1000000;
      85. });
      86. $(data).find('multicurrentcondition').each( function() {
      87. obj.accuDesc = $(this).find('accuDesc').text();
      88. obj.accuHigh = $(this).find('accuHigh').text()*1;
      89. obj.accuLow = $(this).find('accuLow').text()*1;
      90. obj.accuTemp = $(this).find('accuTemp').text()*1;
      91. obj.yahooDesc = $(this).find('yahooDesc').text();
      92. obj.yahooHigh = $(this).find('yahooHigh').text();
      93. obj.yahooLow = $(this).find('yahooLow').text();
      94. obj.yahooTemp = $(this).find('yahooTemp').text();
      95. obj.fioDesc = $(this).find('fioDesc').text();
      96. obj.fioHigh = $(this).find('fioHigh').text();
      97. obj.fioLow = $(this).find('fioLow').text();
      98. obj.fioTemp = $(this).find('fioTemp').text();
      99. obj.wuDesc = $(this).find('wuDesc').text();
      100. obj.wuHigh = $(this).find('wuHigh').text();
      101. obj.wuLow = $(this).find('wuLow').text();
      102. obj.wuTemp = $(this).find('wuTemp').text();
      103. });
      104. $(data).find('environment').each( function() {
      105. obj.accuAirQuality = $(this).find('accuAirQuality').text();
      106. obj.accuAirQualityType = $(this).find('accuAirQualityType').text();
      107. obj.accuWeeds = $(this).find('accuWeeds').text();
      108. obj.accuMold = $(this).find('accuMold').text();
      109. obj.accuGrass = $(this).find('accuGrass').text();
      110. obj.accuTree = $(this).find('accuTree').text();
      111. obj.accuMercury = $(this).find('accuMercuryRise').text() + " / " + $(this).find('accuMercurySet').text();
      112. obj.accuVenus = $(this).find('accuVenusRise').text() + " / " + $(this).find('accuVenusSet').text();
      113. obj.accuMars = $(this).find('accuMarsRise').text() + " / " + $(this).find('accuMarsSet').text();
      114. obj.accuJupiter = $(this).find('accuJupiterRise').text() + " / " + $(this).find('accuJupiterSet').text();
      115. obj.accuSaturn = $(this).find('accuSaturnRise').text() + " / " + $(this).find('accuSaturnSet').text();
      116. obj.accuUranus = $(this).find('accuUranusRise').text() + " / " + $(this).find('accuUranusSet').text();
      117. obj.accuNeptune = $(this).find('accuNeptuneRise').text() + " / " + $(this).find('accuNeptuneSet').text();
      118. });
      119. $(data).find('settings').each( function() {
      120. obj.timehour = $(this).find('timehour').text();
      121. ampm = (obj.timehour == "24h") ? false : true;
      122. });
      123. var i=0;
      124. $(data).find('day').each( function() {
      125. obj.high[i] =$(this).find('high').text();
      126. obj.low[i] = $(this).find('low').text();
      127. obj.code[i] = $(this).find('code').text();
      128. obj.daynumber[i] = $(this).find('daynumber').text();
      129. obj.dayofweek[i] = $(this).find('dayofweek').text();
      130. obj.accuTStormProb[i] = $(this).find('accuTStormProb').text();
      131. i++;
      132. });
      133. var h=0;
      134. $(data).find('hour').each( function() {
      135. obj.htemp[h] = $(this).find('temp').text();
      136. obj.hcode[h] = $(this).find('code').text();
      137. obj.hpop[h] = Math.round($(this).find('percentprecipitation').text());
      138. obj.time24hour[h] = $(this).find('time24hour').text();
      139. h++;
      140. });
      141. updateFileTimer = obj.updatetimestring;
      142. dealWithWeather(obj);
      143. }
      144. }).fail(function() {
      145. document.getElementById("desc").innerHTML = "No XML file !";
      146. });
      147. refreshTimer = setTimeout(updateWeather, 20*1000);
      Alles anzeigen
    • Da hast ja jetzt eine js genommen die direkt für WW3 ist.

      Das neue an WW3 ist ja , dass du verschiedene Wetter Anbieter nehmen kannst, also forecast.io. WeatherUnderground (beide benötigen einen Kay),AccuWeather usw..
      Das siehst du in den Settings von Widget Weather, demzufolge stehen auch mehr Daten für die jeweiligen Abfragen in der js.

      Wenn du das nutzen willst, ok, wenn nicht dann nimm eine js für WW2.

      Abgesehen davon würde ich mir die Arbeit so wie du das vor hast, nicht machen.
      WW2 Widget als Vorlage und dann entsprechend des alten Widgets anpassen, ist aber nur meine Meinung.
    • @uhoffi
      eigentlich ist es egal wie rum ich das mache da beides arbeit macht
      ich habe ja soweit alles fertig nur die *.js muss angepasst werden bzw. die Daten abfrage

      ich verwende das hier als abfrage für die Daten
      aber es will nicht :(

      Java-Quellcode

      1. function updateWeather() {
      2. if (iOS == false) { var url = "test_files/widgetweather" + ".xml"; } else { var url = "file:///private/var/mobile/Documents/widgetweather" + ".xml"; }
      3. jQuery.get(url, function(data) {
      4. obj.updatetimestring = $(data).find('updatetimestring').text();
      5. if (updateFileTimer != obj.updatetimestring) {
      6. obj.high = [];
      7. obj.low = [];
      8. obj.code = [];
      9. obj.pop = [];
      10. obj.dayofweek = [];
      11. obj.sunset;
      12. obj.sunrise;
      13. obj.moondesc;
      14. obj.UVindex;
      15. obj.day_direction;
      16. obj.day_speed;
      17. obj.day_desc;
      18. updateFileTimer = obj.updatetimestring;
      19. obj.lastupdate = updateFileTimer.split(' ');
      20. $(data).find('currentcondition').each( function() {
      21. obj.ort = $(this).find('city').text(); // Stadt / Ort
      22. obj.celsius = $(this).find('celsius').text(); // Grad
      23. obj.woeid = $(this).find('woeid').text();
      24. obj.temp = $(this).find('temp').text()*1; // Temperatur
      25. obj.icon = $(this).find('code').text(); // Wetter ID-Code
      26. obj.desc = $(this).find('description').text(); // Wetter als Text
      27. obj.observationtime = $(this).find('observationtime').text();
      28. obj.timezone = $(this).find('timezone').text().replace("GMT","")*1;
      29. obj.moondesc = $(this).find('moondesc').text();
      30. obj.sunrise = ($(this).find('sunrisetime').text());
      31. obj.sunset = ($(this).find('sunsettime').text());
      32. obj.pressure = $(this).find('pressure').text();
      33. obj.humidity = $(this).find('humidity').text();
      34. obj.rising = $(this).find('rising').text()*1;
      35. obj.visibility = $(this).find('visibility').text();
      36. obj.realFeel = ($(this).find('chill').text() == "") ? obj.temp : $(this).find('chill').text()*1;
      37. obj.direction = $(this).find('direction').text()*1;
      38. obj.windspeed = $(this).find('speed').text()*1;
      39. obj.unitsdistance = $(this).find('unitsdistance').text();
      40. obj.unitspressure = $(this).find('unitspressure').text();
      41. obj.unitsspeed = $(this).find('unitsspeed').text();
      42. obj.unitstemperature = $(this).find('unitstemperature').text();
      43. obj.latitude = $(this).find('latitude').text()*1;
      44. obj.longitude = $(this).find('longitude').text()*1;
      45. obj.extraLocLine1 = $(this).find('extraLocLine1').text();
      46. obj.extraLocName = $(this).find('extraLocName').text().replace(" ","");
      47. obj.extraLocCity = $(this).find('extraLocCity').text();
      48. obj.extraLocNeighborhood = $(this).find('extraLocNeighborhood').text();
      49. obj.extraLocCounty = $(this).find('extraLocCounty').text();
      50. obj.extraLocState = $(this).find('extraLocState').text();
      51. obj.extraLocCountry = $(this).find('extraLocCountry').text();
      52. obj.extraLocCountryCode = $(this).find('extraLocCountryCode').text();
      53. obj.extraLocUzip = $(this).find('extraLocUzip').text();
      54. obj.dewpt = $(this).find('dewpt').text();
      55. obj.UVindex = $(this).find('uvindex').text();
      56. });
      57. document.getElementById("wetterdcode").innerHTML = "test abfrage 1 :) ";
      58. $(data).find('settings').each( function() {
      59. obj.interval = $(this).find('interval').text();
      60. obj.timehour = $(this).find('timehour').text();
      61. });
      62. ampm = (obj.timehour == "24h") ? false : true;
      63. Distance_In_Miles = (obj.unitsdistance == "km") ? false : true;
      64. Inches_Of_Mercury = (obj.unitspressure == "mb") ? false : true;
      65. // CORRECT YOUR HOME ADDRESS HERE
      66. if (obj.extraLocLine1 == "National Hwy") { // Type inside inverted comma's the wrong address exactly as shown on screen
      67. obj.extraLocLine1 = "Home"; // Type inside inverted comma's what you want it to show
      68. }
      69. var i=0;
      70. $(data).find('day').each( function() {
      71. obj.high[i] = ($(this).find('high').text() == "") ? "null" : $(this).find('high').text()*1;
      72. obj.low[i] = $(this).find('low').text()*1;
      73. obj.code[i] = $(this).find('code').text();
      74. obj.pop[i] = $(this).find('pop').text();
      75. obj.dayofweek[i] = $(this).find('dayofweek').text()*1;
      76. if (i != 0) {
      77. obj.UVindex[i] = $(this).find('uvindex').text();
      78. }
      79. if (updateTimer.getDate() == currentTime.getDate()) {
      80. if (currentTime.getDay() == obj.dayofweek-1) { obj.daydate = new Date(currentTime.getTime() + (24 * 60 * 60 * 1000 * i)); }
      81. else { obj.daydate = new Date(currentTime.getTime() + (24 * 60 * 60 * 1000 * (i-1))); }
      82. } else {
      83. if (updateTimer.getDay() == obj.dayofweek-1) { obj.daydate = new Date(updateTimer.getTime() + (24 * 60 * 60 * 1000 * i)); }
      84. else { obj.daydate = new Date(updateTimer.getTime() + (24 * 60 * 60 * 1000 * (i-1))); }
      85. }
      86. i++;
      87. });
      88. // WORKAROUND FOR NULL TEMP
      89. if (obj.high[0] == "null") { obj.high[0] = "--"; }
      90. // WORKAROUND FOR CURRENT CODE IS NULL
      91. if (obj.icon == "" || obj.icon == 3200) {
      92. }
      93. // FOR LIVE FORECAST VIEW
      94. obj.code[0] = obj.icon;
      95. //obj.day_desc = obj.desc;
      96. if (obj.extraLocName != "") {
      97. obj.latitude = obj.extraLocName.split(",")[0]*1;
      98. obj.longitude = obj.extraLocName.split(",")[1]*1;
      99. }
      100. // WEATHER CONDITION TEST (MUST BE COMMENTED-OUT FOR NOLMAL USE)
      101. //obj.code[0] = 23;
      102. dealWithWeather(obj);
      103. } else {
      104. // CHECK IF ONLINE OR OFFLINE
      105. if ( currentTime.getTime() - UTC*3600*1000 - updateTimer.getTime() > obj.interval*60*1000 ) {
      106. obj.offline = true;
      107. document.getElementById("ort").className = "FontColorRed";
      108. }
      109. } // End of updateWeather function
      110. }).fail(function() {
      111. document.getElementById("desc").innerHTML = "No widgetweather.xml file!";
      112. });
      113. // REINITIALIZE THE TIMER
      114. clearTimeout(refreshTimer);
      115. refreshTimer = setTimeout(updateWeather, 20*1000);
      116. document.getElementById("wetterdcode").innerHTML = "test geschaft :) ";
      117. }
      Alles anzeigen
    • Seit heute wieder ein JB und auch mal wieder im Forum...

      Wenn Du ein altes Widget/ ein alten LS von yahoo auf WW2 umprogrammieren willst, dann nehme ich mein laufendes WW2 und passe dieses auf das gewünschte LS an (nicht umgekehrt).

      Falls Du Hilfe brauchst, gib Bescheid.

      LS Downloadlink benötige ich und einen Screenshot (, falls Du ihn noch hast, wäre auch klasse).