该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

屏幕截图

  • The settings.
  • The usage.
  • The output.

安装

  1. Upload meteohub.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to the plugin settings and enter the meteohub all-sensors.txt file path or URL.

评价

此插件暂无评价。

贡献者及开发者

“Meteohub” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Meteohub”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.2

  • Fixed a bug displaying the trend arrows incorrectly.
  • Fixed a bug displaying date/time wrong.

1.1

  • Added backward compatibility with the old Meteodata plugin. The meteodata tag is now treated like the meteohub tag.

1.0

  • Initial release.