[WordPress] 外掛分享: Hockey GMS Feed

首頁外掛目錄 › Hockey GMS Feed
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
330 天前
最後更新
問題解決
PHP 5.3+ v3.20 上架:2021-11-11

內容簡介

使用短代碼在您的文章和頁面中顯示來自 England Hockey Game Management System (GMS) 的賽程、比分和聯賽排名。該外掛的第一版從臨時網站 GMS Match Site 嵌入內容。第二版使用了英國曲棍球 GMS 數據倉庫的 Azure API。您必須獲得 EH GMS 支援的許可才能在您的俱樂部網站上嵌入 GMS 資料。

最初的 GMS Match Site 是一個臨時解決方案,用於顯示 2021-2022 賽季的賽程、比分和聯賽排名。現在提供了一個改進版,用於 2022-2023 賽季,使用了 API。希望 widgets (由英國曲棍球提供的自定義 HTML,可嵌入您的網站) 將提供一個永久解決方案,取代此外掛或提供一個替代方案。

如果您正在尋找此外掛的功能,但不使用 WordPress,則可以使用此 Web 服務作為替代選項 GMS Feed。

目前,此外掛將使用「api」或「parse」方法嵌入 GMS 資料。當此外掛首次啟用時,它將默認為「api」方法。安裝後,使用外掛設置以了解和使用這些方法。此外掛提供多個功能:

完全控制表格樣式,使用 CSS
分別顯示賽程、比分和聯賽排名
選擇特定球隊和比賽的賽程和比分
使用 whatson 過濾,僅包括即將到來的賽程或最近的比賽
伺服器端快取 GMS 資料,以提供性能優勢

使用此外掛可以在文章或頁面中使用「gms」短代碼包含賽程、比分和聯賽排名,例如:

[gms team="31c4b1d8-ef73-40ee-a09a-1817ec821524" whatson=14] - 顯示指定 ID 球隊的下 14 天賽程 (預設為「api」方法)
[gms method="api" show="league+results" comp_id="6e16da76-87a3-4092-9f53-71d500fffcdb" team="31c4b1d8-ef73-40ee-a09a-1817ec821524"] - 顯示指定聯賽的排名表和指定球隊的比賽結果
[gms club_id="19fd1b0c-e11c-46f9-9114-45c2262a1e90"] - 顯示所有隊伍於下次比賽日的賽程,包括俱樂部的所有球隊
[gms show="results" whatson=7 team="31c4b1d8-ef73-40ee-a09a-1817ec821524" link="https://london.englandhockey.co.uk/teams/old-kingstonian-mens-o50-mens"] - 顯示指定球隊上週的比賽結果,並提供到外部網站的連結

如果需要生成 GMS 短代碼時,您可以使用以下工具 生成短代碼。

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.20) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Hockey GMS Feed」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Use a shortcode to show fixtures, results and league tables from England Hockey Game Management System (GMS) in your posts and pages. The latest version of this plugin uses an API into the England Hockey Azure data warehouse of GMS data. You must have permission from EH GMS support to embed GMS data on your club website.
If you are looking for the features of this plugin but do not use WordPress then you may use this web service as an alternative GMS Feed.
Once installed use the plugin settings for help understanding the features provided:

Full control of table styling using CSS
Display fixtures, results and league tables separately
Select the fixtures and results for a specific team and competition
Filter using whatson to only include upcoming fixtures or recent results
Change the order of fixtures and results to show by start time on given day or reverse the default date order
Server side caching of GMS data to provide performance benefits

Using this plugin allows fixtures, results and league tables to be included within posts or pages using a “gms” shortcode e.g.

[gms team="31c4b1d8-ef73-40ee-a09a-1817ec821524" whatson=14] – Show the fixtures (default) over the next 14 days for the team with the id specified.
[gms method="api" show="league+results" comp_id="6e16da76-87a3-4092-9f53-71d500fffcdb" team="31c4b1d8-ef73-40ee-a09a-1817ec821524" sort_by="reverseDate"] – Show league table for the competition and results for the team specified with most recent result first.
[gms method="api-dynamic" show="results" whatson=14 options="showList:auto"] – Show the results in the last fortnight for the club (default) with a filter to select results, fixtures and league tables by team.
[gms club_id="19fd1b0c-e11c-46f9-9114-45c2262a1e90" sort_by="fixtureTime" options="showGender:yes"] – Show the fixtures (default) for the next match day, for all teams in the club specified, ordered by start time, with a suffix to indicate team gender.
[gms show="results" whatson=7 team="31c4b1d8-ef73-40ee-a09a-1817ec821524" link="https://london.englandhockey.co.uk/teams/old-kingstonian-mens-o50-mens"] – Show the results in last week for the team specified and provide a link to an external site.
[gms show="teams" club_id="19fd1b0c-e11c-46f9-9114-45c2262a1e90"] – List all teams in club with external links to England Hockey.

For help generating GMS shortcodes you must use the following tool Generate Shortcode.

文章
Filter
Apply Filters
Mastodon