[Weather 0.3.x Update Data 1.4]

; INI Headers

[Header]
; The name field contains the string that will appear to the user.  Please be unique.
;  (for example, "Yahoo Weather")
Name=weather.gov.cn

; The internal name is the string that will be used to set the weather ID, and are used
; internally to obtain the weather update information.  This string should be short and
; unique.
;  (for example, "yw" for "Yahoo Weather")
Internal Name=nmc

; The following 3 fields are used in the plugin for INI information only, but it also
; gives user some information about the file.
Description=中央气象台
Author=Vivian Liu (www.liuweinan.com)
Version=2.5.26

; For the following three default fields, %s is used for station ID (the one with the
; internal name taken away, for example, CAXX0001)
[Default]
; The default URL for getting more weather information from contact menu or brief info
; dialog.  This setting is the default one assigned to the weather contact when it is
; added, but can be changed by user in the Edit Settings dialog.
Default URL=http://www.weather.gov.cn/publish/forecast/%s.html

; The default URL for getting weather map from contact menu.  Same as above.
Default Map=http://www.weather.gov.cn/publish/satellite/fy2.htm

; The URL for retrieving weather updates.
Update URL=http://wap.weather.gov.cn/forecast/%s.html
Update URL2=http://www.weather.gov.cn/publish/forecast/%s_iframe.html
Update URL3=http://www.weather.gov.cn/publish/forecast/%s.html
Update URL4=

; Set cookie(s) when retrieving weather updates.
Cookie= 

; ======================================================================================

; Weather Data Fields

[Condition]
Start=天气：
End=</div>

[Today]
Start=【
End=今天

[Lunar]
Start=农历
End=】

[Sunrise]
Start=今日日出日落：
End=|

[Sunset]
Start=
End=<div class="w365">

[SunriseTomorrow]
Start=明日日出日落：
End=|
Hidden=true

[Alert Text]
Start=
End=<div class="city_wind">
Hidden=true

[Alert Text]
Break Data=年
Source=Alert Text
End=Alert
Hidden=true

[Temperature]
Start=气温：
End=<br/>
Unit=C

[Feel]
Start=体感温度：
End=<br/>
Unit=C

[Pressure]
Start=气压：
End=<br/>
Unit=hPa

[Humidity]
Start=相对湿度：
End=%<br/>
Unit=%

[Wind Text]
Start=风向风速：
End=<br/>
Hidden=true

[Wind Direction Text]
Break Data=风
Source=Wind Text
End=Wind
Hidden=true

[Wind Direction]
Set Data=[Wind Direction Text] & "风"

[Wind Speed]
Start=<div class="wind_text" style="top:43px;">
End=</div>
Unit=m/s

[Update Date]
Start=setRealWeatherDate('
End=');
Hidden=true

[Forecast Day 1 Date]
Start=<div class="name">
End=</div>
Hidden=true

[Forecast Day 1 Temp]
Start=高温
End=℃
Unit=C
Hidden=true

[Forecast Day 1 Condition]
Start=<li class="weather_desc">
End=</li>
Unit=Cond
Hidden=true

[Forecast Day 1 Wind]
Start=<li class="wind">
End=</li>
Hidden=true

[Forecast Night 1 Temp]
Start=低温
End=℃
Unit=C
Hidden=true

[Forecast Night 1 Condition]
Start=<li class="weather_desc">
End=</li>
Unit=Cond
Hidden=true

[Forecast Night 1 Wind]
Start=<li class="wind">
End=</li>
Hidden=true

[Forecast Day 2 Date]
Start=<div class="name">
End=</div>
Hidden=true

[Forecast Day 2 Temp]
Start=高温
End=℃
Unit=C
Hidden=true

[Forecast Day 2 Condition]
Start=<li class="weather_desc">
End=</li>
Unit=Cond
Hidden=true

[Forecast Day 2 Wind]
Start=<li class="wind">
End=</li>
Hidden=true

[Forecast Night 2 Temp]
Start=低温
End=℃
Unit=C
Hidden=true

[Forecast Night 2 Condition]
Start=<li class="weather_desc">
End=</li>
Unit=Cond
Hidden=true

[Forecast Night 2 Wind]
Start=<li class="wind">
End=</li>
Hidden=true

[Forecast Day 3 Date]
Start=<div class="name">
End=</div>
Hidden=true

[Forecast Day 3 Temp]
Start=高温
End=℃
Unit=C
Hidden=true

[Forecast Day 3 Condition]
Start=<li class="weather_desc">
End=</li>
Unit=Cond
Hidden=true

[Forecast Day 3 Wind]
Start=<li class="wind">
End=</li>
Hidden=true

[Forecast Night 3 Temp]
Start=低温
End=℃
Unit=C
Hidden=true

[Forecast Night 3 Condition]
Start=<li class="weather_desc">
End=</li>
Unit=Cond
Hidden=true

[Forecast Night 3 Wind]
Start=<li class="wind">
End=</li>
Hidden=true

[Forecast Day 4 Date]
Start=<div class="name">
End=</div>
Hidden=true

[Forecast Day 4 Temp]
Start=高温
End=℃
Unit=C
Hidden=true

[Forecast Day 4 Condition]
Start=<li class="weather_desc">
End=</li>
Unit=Cond
Hidden=true

[Forecast Day 4 Wind]
Start=<li class="wind">
End=</li>
Hidden=true

[Forecast Night 4 Temp]
Start=低温
End=℃
Unit=C
Hidden=true

[Forecast Night 4 Condition]
Start=<li class="weather_desc">
End=</li>
Unit=Cond
Hidden=true

[Forecast Night 4 Wind]
Start=<li class="wind">
End=</li>
Hidden=true

[Forecast Day 5 Date]
Start=<div class="name">
End=</div>
Hidden=true

[Forecast Day 5 Temp]
Start=高温
End=℃
Unit=C
Hidden=true

[Forecast Day 5 Condition]
Start=<li class="weather_desc">
End=</li>
Unit=Cond
Hidden=true

[Forecast Day 5 Wind]
Start=<li class="wind">
End=</li>
Hidden=true

[Forecast Night 5 Temp]
Start=低温
End=℃
Unit=C
Hidden=true

[Forecast Night 5 Condition]
Start=<li class="weather_desc">
End=</li>
Unit=Cond
Hidden=true

[Forecast Night 5 Wind]
Start=<li class="wind">
End=</li>
Hidden=true

[Forecast Day 6 Date]
Start=<div class="name">
End=</div>
Hidden=true

[Forecast Day 6 Temp]
Start=高温
End=℃
Unit=C
Hidden=true

[Forecast Day 6 Condition]
Start=<li class="weather_desc">
End=</li>
Unit=Cond
Hidden=true

[Forecast Day 6 Wind]
Start=<li class="wind">
End=</li>
Hidden=true

[Forecast Night 6 Temp]
Start=低温
End=℃
Unit=C
Hidden=true

[Forecast Night 6 Condition]
Start=<li class="weather_desc">
End=</li>
Unit=Cond
Hidden=true

[Forecast Night 6 Wind]
Start=<li class="wind">
End=</li>
Hidden=true

[]
Break Data=-
Source=Update Date
End=Update

[High]
Set Data=[Forecast Day 1 Temp]

[Low]
Set Data=[Forecast Night 1 Temp]

[Forecast Day 1]
Set Data=[Forecast Day 1 Date] & ": " & "白天" & " " & [Forecast Day 1 Condition] & " " & [Forecast Day 1 Temp] & " " & [Forecast Day 1 Wind] & "; " & "夜间" & " " & [Forecast Night 1 Condition] & " " & [Forecast Night 1 Temp] & " " & [Forecast Day 1 Wind]

[Forecast Day 2]
Set Data=[Forecast Day 2 Date] & ": " & "白天" & " " & [Forecast Day 2 Condition] & " " & [Forecast Day 2 Temp] & " " & [Forecast Day 2 Wind] & "; " & "夜间" & " " & [Forecast Night 2 Condition] & " " & [Forecast Night 2 Temp] & " " & [Forecast Day 2 Wind]

[Forecast Day 3]
Set Data=[Forecast Day 3 Date] & ": " & "白天" & " " & [Forecast Day 3 Condition] & " " & [Forecast Day 3 Temp] & " " & [Forecast Day 3 Wind] & "; " & "夜间" & " " & [Forecast Night 3 Condition] & " " & [Forecast Night 3 Temp] & " " & [Forecast Day 3 Wind]

[Forecast Day 4]
Set Data=[Forecast Day 4 Date] & ": " & "白天" & " " & [Forecast Day 4 Condition] & " " & [Forecast Day 4 Temp] & " " & [Forecast Day 4 Wind] & "; " & "夜间" & " " & [Forecast Night 4 Condition] & " " & [Forecast Night 4 Temp] & " " & [Forecast Day 4 Wind]

[Forecast Day 5]
Set Data=[Forecast Day 5 Date] & ": " & "白天" & " " & [Forecast Day 5 Condition] & " " & [Forecast Day 5 Temp] & " " & [Forecast Day 5 Wind] & "; " & "夜间" & " " & [Forecast Night 5 Condition] & " " & [Forecast Night 5 Temp] & " " & [Forecast Day 5 Wind]

[Forecast Day 6]
Set Data=[Forecast Day 6 Date] & ": " & "白天" & " " & [Forecast Day 6 Condition] & " " & [Forecast Day 6 Temp] & " " & [Forecast Day 6 Wind] & "; " & "夜间" & " " & [Forecast Night 6 Condition] & " " & [Forecast Night 6 Temp] & " " & [Forecast Day 6 Wind]

; ======================================================================================

; The setting for find and add contacts.

; ID search is used when the user type in the ID in the "Station ID" field and pressed
; "Search"
[ID Search]

; This can be "true" or "false" (without quotation, not case sensitive)
; If this is set to "false", all the following strings are ignored and the ID are NOT
; going to search for this weather service.
; If this field is set to FALSE, no matter what the user type for station ID, the
; plugin will always return a result with station name empty and ID the same as what
; the user has typed.
Available=false

; The URL for ID search.  Note that %s is used for placing the ID.
Search URL=

; The string appeared in the downloaded information when there is no match
;	(ie. "Document not found")
; If this string is found while searching, the search process quit and return no result.
Not Found Str=

; Similar to weather information retrival above.  This is the string preceeding the
; station name obtained from searching.  Note that the parsing is the same as above, and
; spaces can be used.
Name Start=

; This is what's after the station name.
Name End=

; END ID SEARCH

; Name search is used when the user type in any of the name field (Nick, First, Last) and
; click on the "search" button.
[Name Search]

; This can be "true" or "false" (without quotation, not case sensitive)
; If this is set to "false", then the plugin igmore the information stated in the Single
; fields (ie. from "Single Name Start" to "Single ID End")
Single Result=true

; This can be "true" or "false" (without quotation, not case sensitive)
; If this is set to "false", then the plugin igmore the information stated in the Multiple 
; fields (ie. from Multiple Name Start" to Multiple ID End")
; Note that if both single and multiple are disabled, the Name search are disabled for 
; this weather service.
Multiple Result=false

; The URL for doing the name search.  %s will be replaced by the station name input from
; the user.
Search URL=http://www.weather.gov.cn/search_result.php?keys=%s

; The string appeared in the downloaded information when there is no match
;	(ie. "Document not found")
; If this string is found while searching, the search process quit and return no result.
Not Found Str=请您查看是否输入错误或请关注当地气象台预报信息

; This field determines whether the search will return a single result or multiple result
; If the string stated in this field is found and Single Result is enabled from above, the
; settings for single result will be used.  Otherwise, the settings in multiple result
; will be used.
Single Result Str=<iframe

; These fields are for the single result

; Determine which item is the first to appear in the download search result file
; This field can be ID or Name (not case sensitive).
; For example, if ID is used here, it means that station ID appears before the station
;   name in the downloaded document.
Single First=Name

; The start and end string for station name.  Parsing using the same way as discribed
; above for weather information.
; Note that if both fields are empty, then whatever the user type into the search field
; will be used for the station name.
Single Name Start=<meta name="keywords" content="
Single Name End=天气,

; The start and end string for station name.  Parsing using the same way as discribed
; above for weather information.
Single ID Start=src="/publish/forecast/
Single ID End=_iframe.html"

; The multiple result is similar to the single result as described above.
; For this search, the plugin will loop until no more Name's and ID's can be founded
; in the downloaded file.
Mult First=
Mult Name Start=
Mult Name End=
Mult ID Start=
Mult ID End=

; END NAME SEARCH

; ======================================================================================

; INI Defined Icon Assignments (new in v1.2)

[Icons]
Sunny=晴

Partly Cloudy=云

Cloudy=阴

Ligntning=雷阵雨

Rain Shower=阵雨

Rain=雨

Snow Shower=阵雪

Snow=雪

Fog=雾
Fog=沙
Fog=尘