[已解決] 關於修改地區天氣 拜託各位大大幫幫忙 - iPhone4.TW

會員登入



顯示結果從 1 到 7 共計 7 條
  1. #1

    愛用者

    註冊日期:12-21-2009
    文章:36
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    對不起小弟又有個疑問了
    我把原檔案內容複製跟我修改後的內容都上來
    想請問各位經驗老道的大大們
    這個檔該如何改才有辦法改成台灣台北的天氣
    因為我怎麼試都不太對 麻煩各位 感激不盡
    以下是原檔案內容......................................................................
    /* Weather Config */
    /*---------------------------------- SringBoard options ----------------------------------*/
    /* SringBoard weather Enabled?
    Not used here
    var enableWallpaper = true
    */

    /* SytleSheets Pick one from the list and imput its name after var stylesheetWall = "***** */ /* NEW!! */
    var stylesheetWall = "Top-(White)"
    /*
    Style sheets
    1. Bottom
    2. Bottom-(White)
    3. Top
    4. Top-(White)
    5. split
    */

    /* Icon Styles Pick one from the list and imput its name after var iconSetWall = "***** */ /* NEW!! */
    var iconSetWall = "klear"
    /*
    Icon Sets
    1. klear
    2. tango
    3. rycon
    4. mau
    5. HTC
    */
    /* Icon Extensions Pick one from the list and imput its name after var iconExtWall = "***** */ /* NEW!! */

    var iconExtWall = ".png"
    /*
    Icon Extensions
    1. .png
    2. .gif
    */

    /*---------------------------------- Lockscreen options ----------------------------------*/
    /* Lockscreen Enabled? */
    var enableLockScreen = true
    /* SytleSheets Pick one from the list and imput its name after var stylesheetLock = "***** */ /* NEW!! */
    var stylesheetLock = "LockScreen"
    /*
    Style sheets
    1. LockScreen
    */

    /* Icon Styles Pick one from the list and imput its name after var iconSetLock = "***** */ /* NEW!! */
    var iconSetLock = "tango"
    /*
    Icon Sets
    1. klear
    2. tango
    3. rycon
    */

    /* Icon Extensions Pick one from the list and imput its name after var iconExtLock = "***** */ /* NEW!! */

    var iconExtLock = ".png"
    /*
    Icon Extensions
    1. .png
    2. .gif
    */

    /*---------------------------------- options ----------------------------------*/
    /* There are two sources available, 'appleAccuweatherStolen' and 'yahooWeather'. */
    var source = "yahooWeather"

    /* Two methodes to set up your location depending on the source:
    accuWeather: 'City, State' (e.g. 'Karlsruhe, Germany')
    yahooWeather: 'US zip' or 'location code' (e.g. Uk Dumbarton = UKXX0663 ) */
    var locale = "42276"
    /* Set to 'false' for Farenheit. */
    var isCelsius = false
    /* AccuWeather RealFeel Temperature Enabled? */
    var useRealFeel = false
    /* Update interval */
    var updateInterval = 60

    以下是我修改後的內容...............................................................................
    /* Weather Config */
    /*---------------------------------- SringBoard options ----------------------------------*/
    /* SringBoard weather Enabled?
    Not used here
    var enableWallpaper = true
    */

    /* SytleSheets Pick one from the list and imput its name after var stylesheetWall = "***** */ /* NEW!! */
    var stylesheetWall = "Top-(White)"
    /*
    Style sheets
    1. Bottom
    2. Bottom-(White)
    3. Top
    4. Top-(White)
    5. split
    */

    /* Icon Styles Pick one from the list and imput its name after var iconSetWall = "***** */ /* NEW!! */
    var iconSetWall = "klear"
    /*
    Icon Sets
    1. klear
    2. tango
    3. rycon
    4. mau
    5. HTC
    */
    /* Icon Extensions Pick one from the list and imput its name after var iconExtWall = "***** */ /* NEW!! */

    var iconExtWall = ".png"
    /*
    Icon Extensions
    1. .png
    2. .gif
    */

    /*---------------------------------- Lockscreen options ----------------------------------*/
    /* Lockscreen Enabled? */
    var enableLockScreen = true
    /* SytleSheets Pick one from the list and imput its name after var stylesheetLock = "***** */ /* NEW!! */
    var stylesheetLock = "LockScreen"
    /*
    Style sheets
    1. LockScreen
    */

    /* Icon Styles Pick one from the list and imput its name after var iconSetLock = "***** */ /* NEW!! */
    var iconSetLock = "tango"
    /*
    Icon Sets
    1. klear
    2. tango
    3. rycon
    */

    /* Icon Extensions Pick one from the list and imput its name after var iconExtLock = "***** */ /* NEW!! */

    var iconExtLock = ".png"
    /*
    Icon Extensions
    1. .png
    2. .gif
    */

    /*---------------------------------- options ----------------------------------*/
    /* There are two sources available, 'appleAccuweatherStolen' and 'yahooWeather'. */
    var source = "yahooWeather"

    /* Two methodes to set up your location depending on the source:
    accuWeather: 'City' (e.g. 'Taipai)
    yahooWeather: 'TW zip' or 'location code' (e.g.'TWXX0021') */
    var locale = "42276"
    /* Set to 'false' for Farenheit. */
    var isCelsius = false
    /* AccuWeather RealFeel Temperature Enabled? */
    var useRealFeel = false
    /* Update interval */
    var updateInterval = 60


  2. #2

    愛用者

    註冊日期:08-23-2009
    文章:145
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    find the line var locale = "42276" and change 42276 into "TWXX0021"

    that should change the weather city..

    make sure u respring after...


  3. #3

    愛用者

    註冊日期:12-21-2009
    文章:36
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    改了 還是沒辦法* = =


  4. #4

    愛用者

    註冊日期:12-21-2009
    文章:36
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    無法成功修改 = =


  5. #5

    愛用者

    註冊日期:08-23-2009
    文章:145
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    maybe u can take a screen shot and upload your setting.xml?


  6. #6

    超熱血的愛用者

    註冊日期:07-10-2009
    文章:803
    謝謝你: 102
    在 84篇文章中獲得 228個感謝


  7. #7

    愛用者

    註冊日期:12-21-2009
    文章:36
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    喔喔!
    因為這是兩個不同的主題 謝謝


 

 

發文規則

  • 不可以發表新主題
  • 不可以發表回覆
  • 不可以上傳附件
  • 不可以編輯自己的文章
  •  
回到此頁頂端