Link Verification for Mastodon

外掛說明

這個 WordPress 外掛非常易用,它僅會將類似 <link rel="me" href="https://your.mastodon.instance/@yourusername" /> 的程式碼新增置網站的 <head> 標籤。

螢幕擷圖

  • 外掛設定

安裝方式

自動安裝

自動安裝是最簡單的安方式,WordPress 會處理檔案傳輸,使用者不需離開瀏覽器。

  1. 登入 WordPress 控制台。
  2. 前往 [外掛] 選單。
  3. 搜尋「Link Verification for Mastodon」。
  4. 點擊 [立即安裝],WordPress 便會處理接下來的程序。
  5. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。

手動安裝

  1. 將解壓縮所得的 link-verification-for-mastodon 資料夾上傳至 wp-content/plugins/ 目錄中。
  2. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。

外掛啟用後

  1. 登入 WordPress 控制台後,前往 [設定]→[Mastodon 驗證]。
  2. 複製 Mastodon 使用者名稱 (格式類似 @yourusername@your.mastodon.instance) 並貼上。
  3. 點擊 [儲存設定]。
  4. 過一陣子後,在 Mastodon 個人資料輸入的網站連結便會顯示為已驗證。

常見問題集

什麼是 Mastodon 使用者名稱?

Mastodon 帳號的格式與電子郵件地址類似,例如 @name@some.mastodon.instance。使用者必須在外掛中輸入完整帳號。

這個外掛是否能驗證多個 Mastodon 帳號?

可以。只要以逗號分隔多個使用者名稱即可。

如何回報程式碼錯誤或提交新功能需求?

如果發現程式碼錯誤或想提出新功能要求,請在這裡提出。

如何支持這個外掛的開發工作?

支持外掛開發工作是使用者的個人選擇,這個外掛會永遠保持免費,但是如果想要支持外掛開發工作,那對我來說意義重大,並解能協助我繼續開發實用的外掛。如果想要提供支援,請使用這個連結提供贊助。

使用者評論

2023 年 7 月 5 日
After trying anything from HTML snippets to adding the code to a random page or via social icon, without success, I tried this plugin and, Behold!, it worked immediately. Make sure to add your website to your Mastodon profile once more after installation, and the verification is immediate 😉
2022 年 11 月 28 日
Have just tested this out after my embedded Mastodon links refused to connect. I may take a short while but works perfectly.
2022 年 11 月 20 日
Painless and straightforward. My site was verified on Mastodon within a few moments. Thank you.
閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Link Verification for Mastodon〉的開發相關工作。

參與者

〈Link Verification for Mastodon〉外掛目前已有 4 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Link Verification for Mastodon〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1.2: December 13, 2023

  • Set default values to avoid PHP warnings when the plugin is activated for the first time (thanks to @jeherve)
  • Escape Mastodon usernames in the plugin’s settings page (thanks to @jeherve)

1.1.1: April 15, 2023

  • Add donation link to readme.txt and the plugin’s settings page

1.1.0: February 26, 2023

  • Add support for multiple Mastodon usernames

1.0.3: November 22, 2022

  • Sanitize text fields to automatically trim any leading and/or trailing whitespace

1.0.2: November 19, 2022

  • Bump version number

1.0.1: November 19, 2022

  • Update readme.txt
  • Update screenshot

1.0: November 19, 2022

  • Initial version.