Title: Sparkling Appcast
Author: usielriedl
Published: <strong>23. veljače 2025.</strong>
Last modified: 01. ožujka 2025.

---

Pretraga dodataka

Dodatak **nije testiran s zadnje 3 glavna izdanja WordPressa**. Možda ga se više
ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama
WordPressa.

![](https://s.w.org/plugins/geopattern-icon/sparkling-appcast.svg)

# Sparkling Appcast

 Od [usielriedl](https://profiles.wordpress.org/usielriedl/)

[Preuzmi](https://downloads.wordpress.org/plugin/sparkling-appcast.0.7.zip)

 * [Detalji](https://hr.wordpress.org/plugins/sparkling-appcast/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/sparkling-appcast/#reviews)
 * [Razvoj](https://hr.wordpress.org/plugins/sparkling-appcast/#developers)

 [Podrška](https://wordpress.org/support/plugin/sparkling-appcast/)

## Opis

Sparkling Appcast is a WordPress plugin. It allows you to use your WordPress site
to distribute your macOS App via [Sparkle](https://sparkle-project.org/). 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.

    ```
    <rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
        <channel>
            <title>MyApp</title>
            <link>/wp-json/sparkling-appcast/v1/appcast.xml</link>
            <item>
                <title>Version 1.0.1 (2)</title>
                <description><![CDATA[ This version is better but not yet released! ]]></description>
                <sparkle:channel>Alpha</sparkle:channel>
                <sparkle:version>2</sparkle:version>
                <sparkle:shortVersionString>1.0.1</sparkle:shortVersionString>
                <pubDate>Wed, 08 Jan 2025 08:56:19 +0000</pubDate>
                <sparkle:minimumSystemVersion>14.0</sparkle:minimumSystemVersion>
                <enclosure url="http://localhost:8088/wp-content/uploads/2025/01/app_v2.zip" length="4713394" type="application/octet-stream"/>
            </item>
            <item>
                <title>Version 1.0.0 (1)</title>
                <description><![CDATA[ - New features - New bugs ]]></description>
                <sparkle:version>1</sparkle:version>
                <sparkle:shortVersionString>1.0.0</sparkle:shortVersionString>
                <pubDate>Wed, 08 Jan 2025 07:43:06 +0000</pubDate>
                <sparkle:minimumSystemVersion>14.0</sparkle:minimumSystemVersion>
                <enclosure url="http://localhost:8088/wp-content/uploads/2025/01/app_v1.zip" length="4713394" type="application/octet-stream"/>
            </item>
        </channel>
    </rss>
    ```

### 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](https://github.com/Usiel/fastlane-plugin-wp_sparkling_appcast)
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`).

## Recenzije

Nema recenzija za ovaj dodatak.

## Suradnici i Programeri

“Sparkling Appcast” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom
dodatku.

Suradnici

 *   [ usielriedl ](https://profiles.wordpress.org/usielriedl/)

[Prevedite “Sparkling Appcast” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/sparkling-appcast)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/sparkling-appcast/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/sparkling-appcast/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/sparkling-appcast/)
od [RSS](https://plugins.trac.wordpress.org/log/sparkling-appcast/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **0.7**
 *  Zadnje ažuriranje **prije 2 godine**
 *  Aktivnih instalacija **Manje od 10**
 *  WordPress inačica ** 5.0 ili viša **
 *  Testirano do **6.7.11**
 *  Language
 * [English (US)](https://wordpress.org/plugins/sparkling-appcast/)
 * Oznake
 * [distribution](https://hr.wordpress.org/plugins/tags/distribution/)[macos](https://hr.wordpress.org/plugins/tags/macos/)
   [sparkle](https://hr.wordpress.org/plugins/tags/sparkle/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/sparkling-appcast/advanced/)

## Ocjena

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/sparkling-appcast/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/sparkling-appcast/reviews/)

## Suradnici

 *   [ usielriedl ](https://profiles.wordpress.org/usielriedl/)

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/sparkling-appcast/)