Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
public static WeatherInfo parserYahooWeatherInfo(Document docWeather){ if (docWeather == null){ Log.e(TAG,"Invalid doc weatehr"); return null; } String strCity = null; String strCountry = null; String strTempUnit = null; String strTempValue = null; String strHumidity = null; String strText = null;; String strCode = null;; String strDate = null;; String strVisi = null; try { Element root = docWeather.getDocumentElement(); root.normalize(); NamedNodeMap locationNode = root.getElementsByTagName(PARAM_YAHOO_LOCATION).item(0).getAttributes(); if (locationNode != null){ strCity = locationNode.getNamedItem(ATT_YAHOO_CITY).getNodeValue(); strCountry = locationNode.getNamedItem(ATT_YAHOO_COUNTRY).getNodeValue(); } NamedNodeMap unitNode = root.getElementsByTagName(PARAM_YAHOO_UNIT).item(0).getAttributes(); if (unitNode != null){ strTempUnit = unitNode.getNamedItem(ATT_YAHOO_TEMP_UNIT).getNodeValue(); } NamedNodeMap atmosNode = root.getElementsByTagName(PARAM_YAHOO_ATMOSPHERE).item(0).getAttributes(); if (atmosNode != null){ strHumidity = atmosNode.getNamedItem(ATT_YAHOO_HUMIDITY).getNodeValue(); strVisi = atmosNode.getNamedItem(ATT_YAHOO_VISI).getNodeValue(); } NamedNodeMap conditionNode = root.getElementsByTagName(PARAM_YAHOO_CONDITION).item(0).getAttributes(); if (conditionNode != null){ strText = conditionNode.getNamedItem(ATT_YAHOO_TEXT).getNodeValue(); strCode = conditionNode.getNamedItem(ATT_YAHOO_CODE).getNodeValue(); strDate = conditionNode.getNamedItem(ATT_YAHOO_DATE).getNodeValue(); } NamedNodeMap temNode = root.getElementsByTagName(PARAM_YAHOO_VALUE).item(0).getAttributes(); if (temNode != null){ strTempValue = temNode.getNamedItem(ATT_YAHOO_TEMP).getNodeValue(); } } catch (Exception e){ Log.e(TAG,"Something wroing with parser data"); return null; } /* Weather info */ WeatherInfo yahooWeatherInfo = new WeatherInfo(strCity, strCountry, strTempValue, strHumidity, strText, strCode, strDate, strTempUnit, strVisi); return yahooWeatherInfo; }