
內容簡介
這個外掛可以藉由短代碼在你的網站內容中輕易地顯示來自 Meteohub all-sensors.txt 檔案的資料。
例如:
溫度:[meteohub sensor=’actual_th1_temp_c’]°C
最大風速:[meteohub sensor=’alltime_wind0_maxspeeddir_nl’] [meteohub sensor=’alltime_wind0_gustspeedmax_bft’] bft ([meteohub sensor=’alltime_wind0_gustspeedmax_kmh’]) 於 [meteohub sensor=’alltime_wind0_gustspeedmax_time’]
將顯示為:
溫度:9°C
最大風速:NNW 12.4 bft (130.3 km/h) 於 2013-10-28 12:31
該外掛會自動根據 WordPress 的時間及日期設定重新編寫日期和時間,趨勢值會被重新編寫為箭頭圖像。
我與 Meteohub 沒有任何關係,不因任何佣金或推薦而從中獲利。
外掛標籤
開發者團隊
原文外掛簡介
This plugin lets you show the data from Meteohub all-sensors.txt file easily in the content of your website using shorttags.
For example:
Temperature: [meteohub sensor=’actual_th1_temp_c’]°C
Max windspeed: [meteohub sensor=’alltime_wind0_maxspeeddir_nl’] [meteohub sensor=’alltime_wind0_gustspeedmax_bft’] bft ([meteohub sensor=’alltime_wind0_gustspeedmax_kmh’]) on [meteohub sensor=’alltime_wind0_gustspeedmax_time’]
will result in:
Temperature: 9°C
Max windspeed: NNW 12.4 bft (130.3 km/h) on 28-10-2013 at 12:31
The plugin automatically rewrites the date and time according to your WordPress time and date settings, and trend values get rewritten to arrow images.
I am in no way, shape or form affiliated with Meteohub and do not in any way profit from commissions or referrals to them.
