[WordPress] 外掛分享: Sparkling Appcast

前言介紹

  • 這款 WordPress 外掛「Sparkling Appcast」是 2025-02-22 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2025-03-01,距離現在已有 64 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

usielriedl |

外掛標籤

macos | appcast | sparkle | distribution |

內容簡介

總結:
Sparkling Appcast 是一個 WordPress 外掛,讓你可以透過提供 appcast.xml endpoint,使用你的 WordPress 網站來發佈 macOS App 使用 Sparkle。

問題與答案:



  • 什麼是 Sparkling Appcast?

    Sparkling Appcast 是什麼?


  • Sparkling Appcast 能做什麼?

    Sparkling Appcast 能讓你透過 WordPress 網站分發 macOS App 使用 Sparkle 嗎?


  • 如何使用 Sparkling Appcast?

    如何透過 Sparkling Appcast 提供 appcast.xml endpoint 來分發 macOS App?

原文外掛簡介

Sparkling Appcast is a WordPress plugin. It allows you to use your WordPress site to distribute your macOS App via Sparkle. Sparkling Appcast supports multiple channels (alpha, beta, …).
Sparkling Appcast exposes a new shortcode to display a list of app builds.
[sappcast_display_builds sappcast_channel="{channel-id-or-slug}"]

Configure Sparkle to ingest the appcast.xml at https://your.site/wp-json/sparkling-appcast/v1/appcast.xml. You will see something like the following XML.


MyApp /wp-json/sparkling-appcast/v1/appcast.xml
Version 1.0.1 (2)

Alpha
2
1.0.1 Wed, 08 Jan 2025 08:56:19 +0000 14.0



Version 1.0.0 (1)

1
1.0.0 Wed, 08 Jan 2025 07:43:06 +0000 14.0



Configuration
To get started name the application you want to distribute on your WordPress site. You can find the settings page under the App Builds menu.

If you have multiple channels besides stable, you can should add them on wp-admin under the App Builds menu.

Usage
Fastlane
We recommend you use the wp_sparkling_appcast plugin to upload assets and create builds.
Other
To distribute a new build, you must upload the asset (1), create a build draft (2), after which you can finalize the build and publish it (3). Steps 1 and 2 are typically executed by your build server, while step 3 is done by a human.
1. Uploading Asset
curl --location "localhost:8088/wp-json/wp/v2/media?status=publish&title=MyApp%20${VERSION}%20(${BUILD_NUMBER})" \
--header "Content-Disposition: attachment; filename=\"myapp_v${VERSION}_${BUILD_NUMBER}.zip\"" \
--header 'Content-Type: application/zip' \
--user "${USER}:${APPLICATION_PASSWORD}" \
--data-binary '@/path/to/asset.zip'

2. Create Build Draft
curl --location 'localhost:8088/wp-json/wp/v2/sappcast_app_build' \
--header 'Content-Type: application/json' \
--user "${USER}:${APPLICATION_PASSWORD}" \
--data '{
"meta": {
"sappcast_app_build_version": string,
"sappcast_app_build_number": int,
"sappcast_app_build_min_system_version": string,
"sappcast_app_build_attachment_id": int,
"sappcast_app_build_changelog": string,
},
"sappcast_channel": int,
"status": "draft"
}'

3. Publish Build
The user may now go to “App Build” on wp-admin and publish the draft after verifying the build. After publishing the build will appear on the relevant appcast (/wp-json/sparkling-appcast/v1/appcast.xml).

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Sparkling Appcast」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.6 | 0.7 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon