[詢問] 關於主題待機畫面的天氣地點更改 - iPhone4.TW

會員登入



顯示結果從 1 到 8 共計 8 條
  1. #1
    reck321 的頭像

    愛用者

    註冊日期:12-15-2008
    文章:54
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    如題
    有嘗試照她敘述的至http://www.weather.com/
    但是還是不知道該如何找到"台北"天氣並做更改
    希望會的人可以幫幫忙囉

    ;==========================================================
    ; Just Weather by 10n3xw01f
    ; Thanks to MerlinTheRed for weather icons
    ;==========================================================

    ;============================== Weather ================================

    [Variables]
    ;You may delete "&unit=m" if you prefer the Fahrenheit Scale.
    Go to http://www.weather.com/ and find weather code for your location then change link below!
    IMPORTANT: Change only one part of this link (BKXX0005) > this is code for Zenica, Bosnia and Herzegovina
    URL=http://xml.weather.com/weather/local/BKXX0005?cc=*&unit=m&dayf=6
    Font=Century Gothic
    ;---------------------------
    [MeasureWeatherRSS]
    Measure=Plugin
    Plugin=Plugins\WebParser.dll
    UpdateRate=3600
    Url=#URL#
    RegExp="(?siU)<weather ver="(.*)">(.*)<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
    StringIndex=1
    IfAboveValue=1
    IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]
    ;Debug=1
    ;---------------------------
    [MeasureWeatherTemp]
    Measure=Plugin
    Plugin=Plugins\WebParser.dll
    Url=[MeasureWeatherRSS]
    StringIndex=3
    [MeasureWeatherDesc]
    Measure=Plugin
    Plugin=Plugins\WebParser.dll
    Url=[MeasureWeatherRSS]
    StringIndex=5
    [MeasureWeatherIcon]
    Measure=Plugin
    Plugin=Plugins\WebParser.dll
    Url=[MeasureWeatherRSS]
    StringIndex=7
    ;---------------------------
    [MeterTemp]
    MeasureName=MeasureWeatherTemp
    Meter=STRING
    X=45
    Y=20
    FontColor=255, 255, 255, 80
    StringStyle=NORMAL
    FontSize=70
    StringAlign=CENTER
    FontFace=Century Gothic
    Antialias=0

    ;[MeterDesc]
    MeasureName=MeasureWeatherDesc
    Meter=STRING
    X=5
    Y=25
    FontColor=ACACAC
    FontSize=7
    StringAlign=LEFT
    StringStyle=NORMAL
    FontFace=Century Gothic
    Antialias=0
    [MeterIconNA]
    ImageName=na.png
    Meter=IMAGE
    X=0
    Y=4

    [MeterIcon]
    MeasureName=MeasureWeatherIcon
    Meter=IMAGE
    X=100
    Y=8
    ;Hidden=1


  2. #2

    海盜船長

    註冊日期:03-07-2008
    文章:15
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    [QUOTE=reck321;391342]如題
    有嘗試照她敘述的至http://www.weather.com/
    但是還是不知道該如何找到"台北"天氣並做更改
    希望會的人可以幫幫忙囉

    ;==========================================================
    ; Just Weather by 10n3xw01f
    ; Thanks to MerlinTheRed for weather icons
    ;==========================================================

    ;============================== Weather ================================

    [Variables]
    ;You may delete "&unit=m" if you prefer the Fahrenheit Scale.
    Go to http://www.weather.com/ and find weather code for your location then change link below!
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    更改下面的Link中的天氣代碼為你所在的區域..

    IMPORTANT: Change only one part of this link (BKXX0005) > this is code for Zenica, Bosnia and Herzegovina
    URL=http://xml.weather.com/weather/local/BKXX0005?
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    你把你查到的Taipei的代碼替換掉後面的BKXX0005,就可以了..

    cc=*&unit=m&dayf=6
    Font=Century Gothic

    ....後面吃光


  3. #3
    reck321 的頭像

    愛用者

    註冊日期:12-15-2008
    文章:54
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    改好了~但是還是沒有改變耶......
    [Variables]
    ;You may delete "&unit=m" if you prefer the Fahrenheit Scale.
    Go to http://www.weather.com/ and find weather code for your location then change link below!
    IMPORTANT: Change only one part of this link (TWXX0021) > this is code for Zenica, Bosnia and Herzegovina
    URL=http://xml.weather.com/weather/local/TWXX0021
    Font=Century Gothic
    ;---------------------------


  4. #4

    愛用者

    註冊日期:03-22-2009
    文章:75
    謝謝你: 15
    在 0篇文章中獲得 0個感謝
    想請教!
    有辦法讓顯示天氣的地點隨當時所在地點自動變更嗎?


  5. #5

    愛用者

    註冊日期:03-22-2009
    文章:75
    謝謝你: 15
    在 0篇文章中獲得 0個感謝
    至於手動變更地點的方式,小弟是傻傻地去把內建的天氣功能裡,把想看的地點移到第一個,再去lockinfo按更新,就出來了耶!
    不知道這樣有沒有幫上忙!


  6. #6
    a0939868666 的頭像

    超熱血的愛用者

    註冊日期:12-04-2008
    文章:848
    謝謝你: 35
    在 1篇文章中獲得 1個感謝
    引用 作者: reck321 查看文章
    改好了~但是還是沒有改變耶......
    [Variables]
    ;You may delete "&unit=m" if you prefer the Fahrenheit Scale.
    Go to http://www.weather.com/ and find weather code for your location then change link below!
    IMPORTANT: Change only one part of this link (TWXX0021) > this is code for Zenica, Bosnia and Herzegovina
    URL=http://xml.weather.com/weather/local/TWXX0021
    Font=Century Gothic
    ;---------------------------
    你用TWXX021是台北市沒錯.但你根本一開始就選錯地方修改,當然不會改變.

    你應該找那個主題裡其他檔案去改地區代碼.方便的話.整個主題放上來,我幫你看看.


  7. #7

    愛用者

    註冊日期:10-12-2010
    文章:59
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    改地點的方式只要搜尋到下列字var locale = "USCA0638請把中間的字改成TWXX0021.這是台北的代碼.其他城市請自行爬文
    另外要改溫度如下var useRealFeel = false.請把false改成true
    順便再說個更改時間為24小時的方法var DisplayTwentyFourHourClock = false也是把false改成true.
    希望大家都能利用到
    此篇文章於 12-21-2010 00:54 被 theo1358 編輯。


  8. #8

    愛用者

    註冊日期:10-12-2010
    文章:59
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    var isCelsius = false
    抱歉.剛剛更改溫度的錯了.上面這才是正確的


 

 

發文規則

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