請問如何改天氣configureMe.js,爬了很多文了。(看到眼睛掉下來了
目前有二個問題。
configureMe.js裡面有二種天氣的修改的方面。
1.yahooWeather 這是最常看到修改方式,例如台北市碼是:TWXX0021 這個我會,可是有時候沒辦法出來呢?!
2.accuWeather 這種我就不會了.可是我有看到一些IPHONE迷修改過,我也照他們修改啊.為什麼還是不行,例如是:台北市台灣應該輸入是Taipei,Taiwan,還是不給我顯示出來,還是繼續顯示中國,香港.
不知道那裡錯誤...
----------------------------------------------------------------------------------------
///////// There are two sources available, 'accuWeather' and 'yahooWeather'. /////////
//var source = "appleAccuweatherStolen"
var source = "accuWeather"
//var source = "yahooWeather"

///////// Two methodes to set up your location depending on the source: /////////
///////// accuWeather: 'City, State' (e.g. 'Taipei,TW') /////////
///////// yahooWeather: 'US zip' or 'location code' (e.g. Uk Dumbarton = TWXX0021 ) /////////
//var locale = 'Taipei,TW'
var locale = 'Taipei,TW'
///////// Set to 'false' for Farenheit. /////////
var isCelsius = true
//var isCelsius = flase
///////// Choose a style from the 'Stylesheet' folder (e.g. 'split'). /////////
//var stylesheet = "AppleStyle-Bottom"
var stylesheet = "AppleStyle-Bottom-(White)"
//var stylesheet = "AppleStyle-Top"
//var stylesheet = "AppleStyle-Top-(White)"
///////// You can choose one of the icons sets located in the 'Icon Sets' folder (e.g. 'klear'). /////////
//var iconSet = "klear"
var iconSet = "tango"
//var iconSet = "rycon"
///////// Adjust the files extension if necessary (defalt is '.png'). /////////
//var iconSet = "klear"
//var iconExt = ".bmp"
//var iconExt = ".jpg"
//var iconExt = ".gif"
var iconExt = ".png"
///////// You can modify the refreshtime here. Doesn't need to be changed normally. /////////
var updateInterval = "60" //Minutes