前言介紹
- 這款 WordPress 外掛「MKD Air Quality」是 2020-02-24 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2022-06-26,距離現在已有 1043 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
darkog |
外掛標籤
skopje | macedonia | airquality |
內容簡介
空氣品質數據由北馬其頓環境和物理規劃部提供,僅適用於該國。數據通過實體測站測量,並通過 RESTful 服務提供。更多信息可在空氣質量門戶網站上找到:
政府空氣質量門戶網站
該插件將數據緩存 30 分鐘,每小時刷新一次。
友情提示:該插件僅適用於北馬其頓國內,無法與任何其他國家一起使用。
範例
只是一些組合的幾個例子:
折線圖
默認值:(stations_selector=1, station=Centar, timemode=Week, date=today, unit=PM10, xlabels=0)
顯示今天的 PM10 數據,將時間標籤顯示在 X 軸上。 Centar 是默認的站點。
[mkdaiq_chart timemode=’Day’ xlabels=1]
顯示過去 7 天的 PM10 數據,隱藏 X 軸上的時間標籤。Rektorat 是默認的站點。
[mkdaiq_chart station=’Rektorat’ unit=’PM10′ timemode=’Week’]
顯示 Kicevo 過去 7 天的一氧化碳數據。隱藏其他站點的替換下拉列表。
[mkdaiq_chart station=’Kicevo’ stations_selector=0 unit=’CO’ timemode=’Week’]
顯示 Bitola1 在 2020 年新年當天的 PM10 數據。顯示 X 軸上的時間標籤。
[mkdaiq_chart station=’Bitola1′ unit=’PM10′ timemode=’Day’ date=’2020-01-01′ xlabels=1]
地圖
默認值:(date=today, unit=PM10, zoom=8, units_selector=1)
為今天繪製 PM10 地圖,隱藏單位選擇器。
[mkdaiq_map date=’today’ units_selector=0 unit=’PM10′]
繪製縮放為 8 的 PM10 地圖,並在 2020 年新年當天顯示單位選擇欄。
[mkdaiq_map date=’2020-01-01′ zoom=8]
排名
默認值:(date=today, unit=PM10, type=last, order=1)
基於最後已知結果按最污染排序,為今天繪製 PM10 排行榜表格。
[mkdaiq_rank date=’today’ timemode=’Day’ type=’last’ order=’1′]
基於平均結果按最污染排序,繪製過去 7 天的 PM10 排名表格。
[mkdaiq_rank date=’today’ timemode=’Week’ type=’average’ order=’1′]
備註
圖標由 flaticon 提供。
原文外掛簡介
The Air Quality data is provided by the Ministry of environment and physical planning of R. Macedonia and will only work for the country.
The data is measured by physical stations across the country and is provided via RESTful service. More information can be found on the AIR Quality portal:
Governemnt Air Quality Portal
The data is cached for 30 minutes by the plugin and it’s refreshed hourly.
Friendly Note: The plugin is country specific and will not work with any other countries.
Examples
Just a few examples out of a lot combinations 🙂
Line Chart
Defaults: (stations_selector=1, station=Centar, timemode=Week, date=today, unit=PM10, xlabels=0)
PM10 data for today, show the time labels on the X axis. Default station is Centar.
[mkdaiq_chart timemode=’Day’ xlabels=1]
PM10 data for the last 7 days, hide the time labels on the X axis. Default station is Rektorat
[mkdaiq_chart station=’Rektorat’ unit=’PM10′ timemode=’Week’]
Show Carbon monoxide levels from Kicevo for the past 7 days. Hide the other stations dropdown
[mkdaiq_chart station=’Kicevo’ stations_selector=0 unit=’CO’ timemode=’Week’]
PM10 from Bitola1 on the 2020 New Year’s day. show the time labels on the X axis.
[mkdaiq_chart station=’Bitola1′ unit=’PM10′ timemode=’Day’ date=’2020-01-01′ xlabels=1]
MAP
Defaults: (date=today, unit=PM10, zoom=8, units_selector=1)
Draw PM10 map for today, hide the units selector.
[mkdaiq_map date=’today’ units_selector=0 unit=’PM10′]
Draw PM10 map with zoom 8 for 2020 New Year’s day and show units field.
[mkdaiq_map date=’2020-01-01′ zoom=8]
RANK
Defaults: (date=today, unit=PM10, type=last, order=1)
Draw PM10 rank table for today based on the last known result ordered by most polluted
[mkdaiq_rank date=’today’ timemode=’Day’ type=’last’ order=’1′]
Draw PM10 rank table for the last 7 days based on the average result ordered by most polluted
[mkdaiq_rank date=’today’ timemode=’Week’ type=’average’ order=’1′]
Credits
Icons by flaticon
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「MKD Air Quality」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.1.0 | 1.1.1 | 1.1.2 | trunk |
延伸相關外掛(你可能也想知道)
MK to Lat 》這個外掛可以將文章標題中使用的馬其頓斯拉夫文轉換為拉丁字母,以便更好地建立易讀且對搜索引擎友好的 URL。, 例如:, 假設您希望您的 WordPress 網站使用馬...。
TIME.MK Widget 》保持與 Time.mk 的最新標題同步。選擇您感興趣的類別,標題數量,水平或垂直類型,複製所顯示的代碼到所需的位置,並在您的網頁上追蹤 Time.mk 的最新標題。。
Ping.mk Share Button 》這個 Ping.mk 外掛可以讓您在您的文章上加上一個分享按鈕,以分享到馬其頓新聞聚合網站 Ping.mk。該外掛提供了三種互動按鈕供您選擇,讓讀者可以投票支持文章...。