PHPackages                             nr/processpodcastsubscriptions - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nr/processpodcastsubscriptions

ActivePw-module[Utility &amp; Helpers](/categories/utility)

nr/processpodcastsubscriptions
==============================

Subscribe Podcast RSS feed and save as new page

1.0.4(2y ago)111MITPHP

Since Feb 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/neuerituale/ProcessPodcastSubscriptions)[ Packagist](https://packagist.org/packages/nr/processpodcastsubscriptions)[ Docs](https://github.com/neuerituale/ProcessPodcastSubscriptions)[ RSS](/packages/nr-processpodcastsubscriptions/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (6)Used By (0)

ProcessPodcastSubscriptions
===========================

[](#processpodcastsubscriptions)

What it does
------------

[](#what-it-does)

Subscribe to podcast RSS feeds and save the data as anything you want. The module uses the great PHP Library [podcast-feed-parser](https://github.com/lukaswhite/podcast-feed-parser) by Lukas White, which makes processing the podcast data a breeze. Thanks!

The module comes with an example module `ProcessPodcastSubscriptionsEpisodes` to demonstrate how to create new pages per episode.

Features
--------

[](#features)

- Subscribe / Unsubscribe Podcast XML-Feeds
- Periodically fetch feeds with LazyCron
- Simple hookable actions
- ProcessModule for administration
- Optional module `ProcessPodcastSubscriptionsEpisodes`

Install
-------

[](#install)

1. Copy the files for this module to /site/modules/ProcessPodcastSubscriptions/
2. Execute the following command in the /site/modules/ProcessPodcastSubscriptions/ directory. ```
    composer install
    ```
3. If not done automatically, create a new admin page with the process `ProcessPodcastSubscriptions`
4. Install the additional module `ProcessPodcastSubscriptionsEpisodes` (optional) or build your own processor
5. Subscribe to Podcast feeds...

Install via composer
--------------------

[](#install-via-composer)

1. Execute the following command in your website root directory. ```
    composer require nr/processpodcastsubscriptions
    ```

Configuration Subscriptions
---------------------------

[](#configuration-subscriptions)

`Modules` &gt; `Configure` &gt; `ProcessPodcastSubscriptions`

### Lazycron

[](#lazycron)

Setup the LazyCron schedule. The cache expiration is configurable in the field settings.

[![Lazycron](https://user-images.githubusercontent.com/11630948/154841723-e624ce01-eeb4-4938-9d23-f9b5c5636d95.png)](https://user-images.githubusercontent.com/11630948/154841723-e624ce01-eeb4-4938-9d23-f9b5c5636d95.png)

### Episode Meta

[](#episode-meta)

You can add subscribe links to the podcast. Configure the providers and then attach the links to the podcast.

[![Episode Parent](https://user-images.githubusercontent.com/11630948/190591854-cbe87d80-be1e-41f6-aaf9-c2b266c97382.png)](https://user-images.githubusercontent.com/11630948/190591854-cbe87d80-be1e-41f6-aaf9-c2b266c97382.png)

Configuration Episodes
----------------------

[](#configuration-episodes)

`Modules` &gt; `Configure` &gt; `ProcessPodcastSubscriptionsEpisodes`

### Episode Parent

[](#episode-parent)

Set parent page for new episode pages.

[![Episode Parent](https://user-images.githubusercontent.com/11630948/154841724-b4c709a7-cb27-41d6-98a9-ea1ed73a742c.png)](https://user-images.githubusercontent.com/11630948/154841724-b4c709a7-cb27-41d6-98a9-ea1ed73a742c.png)

Podcast Class and Episode Class
-------------------------------

[](#podcast-class-and-episode-class)

The `Podcast` object has a lot of handy methods to do anything you want with the returned data.

- [Podcast class](https://htmlpreview.github.io/?https://github.com/lukaswhite/podcast-feed-parser/blob/main/docs/html/classes/Lukaswhite_PodcastFeedParser_Podcast.xhtml)
- [Episode class](https://htmlpreview.github.io/?https://raw.githubusercontent.com/lukaswhite/podcast-feed-parser/main/docs/html/classes/Lukaswhite_PodcastFeedParser_Episode.xhtml)

```
class Podcast implements HasArtwork {

   public array getEpisodes()
   public string getLanguage()
   public string getAuthor()
   public string getTitle()
   public string getSubtitle()
   public string getDescription()
   public DateTime getLastBuildDate()

   public string getType()
   public bool isEpisodic()
   public bool isSerial()

   public string getUpdatePeriod()
   public Artwork getArtwork()
   public string getExplicit()
   public array getCategories()

   /* ... and much more ... */
}
```

```
class Episode {

    public string getGuid()
    public int getEpisodeNumber()
    public Media getMedia()
    public DateTime getPublishedDate()
    public string getTitle()
    public string getDescription()
    public Artwork getArtwork()
    public string getLink()
    public string getExplicit()

    /* ... and much more ... */
}
```

Hook
----

[](#hook)

```
// init.php or ready.php
$wire->addHookBefore('ProcessPodcastSubscriptions::processPodcast', function (HookEvent $event) {

    /** @var \ProcessWire\WireData $feed */
    $feed = $event->arguments(0);

    /** @var \Lukaswhite\PodcastFeedParser\Podcast $podcast */
    $podcast = $event->arguments(1);

    // process
    foreach($podcast->getEpisodes() as $episode) {
        /* create or update episode pages... */
    }

});
```

Example Rendering
-----------------

[](#example-rendering)

In the folder `ProcessPodcastSubscriptions/templates/podcasts-example.php` you will find a sample rendering for a podcast and episode list. Have fun with it.

[![Episode Parent](https://user-images.githubusercontent.com/11630948/190590890-473dbdcb-884a-46fc-ad47-20efea1424b7.png)](https://user-images.githubusercontent.com/11630948/190590890-473dbdcb-884a-46fc-ad47-20efea1424b7.png)

Todos
-----

[](#todos)

- Respect lastBuildDate from feed for update action.
- Handle long running script on subscribe.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~235 days

Total

4

Last Release

839d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/61a0639a232837322b461271ef1775f769c3ff4e289141c9ee5bdcebc8f29835?d=identicon)[nr](/maintainers/nr)

---

Top Contributors

[![julianwinkel](https://avatars.githubusercontent.com/u/11630948?v=4)](https://github.com/julianwinkel "julianwinkel (15 commits)")[![bi11n3r](https://avatars.githubusercontent.com/u/31960287?v=4)](https://github.com/bi11n3r "bi11n3r (1 commits)")

---

Tags

processwiremodulepodcast

### Embed Badge

![Health badge](/badges/nr-processpodcastsubscriptions/health.svg)

```
[![Health](https://phpackages.com/badges/nr-processpodcastsubscriptions/health.svg)](https://phpackages.com/packages/nr-processpodcastsubscriptions)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
