Simbe Weather Ticker

外掛說明

Simbe Weather Ticker shows the current weather for the towns you pick, either as a scrolling
ticker or as a table.

  • Scrolling ticker with weather icon, town name and temperature
  • Weather table with sortable columns
  • Town search built in, no API key needed
  • Celsius or Fahrenheit
  • Works with shortcodes and blocks
  • Caches responses so your pages stay fast

Data comes from Open-Meteo, which needs no account or API key. Open-Meteo asks every plugin
and site to credit them, so the ticker and the table link back:

  • Terms of Use: https://open-meteo.com/en/terms
  • Privacy Policy: https://open-meteo.com/en/terms#privacy
  • Data licence (CC BY 4.0): https://open-meteo.com/en/licence

Usage

Shortcodes:

  • [simbe_weather_ticker] – scrolling ticker with all configured towns
  • [simbe_weather_ticker towns="london,paris"] – only the towns you name
  • [simbe_weather_ticker theme="light" duration="25" condition="yes"] – lighter and faster
  • [simbe_weather_table] – table with all configured towns
  • [simbe_weather_table columns="icon,condition,wind" orderby="temp" order="desc"] – chosen columns, warmest first

Blocks:

  • Weather Ticker
  • Weather Table

Configuration

Go to Settings > Simbe Weather Ticker, search for a town and press Add. Use the arrow buttons
to change the order, Remove to drop a town, or Add town manually to enter coordinates
yourself. Everything else on that screen is a default for the shortcodes and blocks.

The panel at the bottom of the settings screen records recent save attempts, which is
useful if you need to report a problem.

適用於區塊編輯器

這個外掛提供 2 個可供區塊編輯器使用的區塊。

  • Weather Ticker
  • Weather Table

常見問題集

Do I need an API key?

No. Simbe Weather Ticker uses Open-Meteo, which is free and keyless.

Who provides the weather data and can I use it?

Open-Meteo, under the CC BY 4.0 data licence. Their free API is limited to 10,000 calls per
day and to non-commercial sites, so this plugin suits private, non-profit and hobby sites. Read
their Terms of Use at https://open-meteo.com/en/terms and their Privacy Policy at
https://open-meteo.com/en/terms#privacy before you rely on the data.

Why is the ticker empty?

The ticker needs at least one town. Add towns under Settings > Simbe Weather Ticker.

How often is the weather refreshed?

Forecasts are cached for 30 minutes by default. Use Clear weather cache on the settings
screen to fetch fresh data immediately.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Simbe Weather Ticker〉的開發相關工作。

參與者

將〈Simbe Weather Ticker〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.1.0

  • Renamed the plugin to Simbe Weather Ticker and moved it to the simbe-weather-ticker slug, so the
    plugin now has a distinctive name and its prefixes are no longer generic.
  • The shortcodes are now [simbe_weather_ticker] and [simbe_weather_table]. Please update any
    existing posts, and note that the settings screen moves to Settings > Simbe Weather Ticker.
  • The blocks are now Weather Ticker and Weather Table under the Simbe Weather Ticker name.
  • Settings are stored under a new namespaced option, so towns have to be added again after the
    update.
  • Open-Meteo is credited in the ticker and the table, as their terms require.

1.0.5

  • Added the Open-Meteo credit line to the ticker and the table, as their terms require.
  • Documented the Open-Meteo terms of use, privacy policy and CC BY 4.0 data licence.
  • Added GPL license headers to every PHP, JavaScript and CSS file.

1.0.4

  • Author, author profile, plugin page and donation link added.

1.0.3

  • Declared tested compatibility with the current WordPress release.
  • Moved the plugin bootstrap and the uninstall routine out of the global namespace.
  • Fixed the plugin folder name so the text domain matches the plugin slug.

1.0.2

  • Fixed town rows being lost when a town was added in the admin.
  • Towns can no longer be wiped by a settings submission that arrives without them.
  • Version bump so browsers pick up the new admin script immediately.
  • Added a save diagnostics panel to the settings screen.
  • Removed the placeholder Plugin URI header and added this readme file.

1.0.1

  • Fixed the ticker icon for clear nights.
  • Fixed the missing Temperature column heading in the table.

1.0.0

  • First release.