Install
Works with Drupal: ^10.3 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
2.6 MB
MD5: 36fcbcdb728178f3a4536dbfed68e71a
SHA-1: cec6df98001237a7e05b9f88c2c5a1312b4f5f18
SHA-256: 3d4b6f2b5a3b9251ca38fc8201cf55f499faf7d4fe72d461a7156e2ea4d12d33
Download zip
2.75 MB
MD5: 1af19addbfb071ad257b76845097be10
SHA-1: f10a4473da9852e212f1c196936088470ef6630e
SHA-256: 82c96a503a2deb26d437e8ac7c58d47902033e4b43c0c9dc441e24b4b9fa270e
Release notes
New
- #3502294: New optional module Podcast Publisher Import. It imports a podcast from the RSS feed of another host, with its episodes, audio files, images, transcripts, chapters and people. Episodes keep their GUID, so podcast apps do not show them as new. Use the form at Podcasts → Import podcast or
drush podcast-publisher:import. See Import a podcast. - #3428024: Analytics identifies apps, devices and bots with the OPAWG user-agents-v2 lists. The dashboard gains a devices breakdown, shows apps, devices, sources and formats as pie charts, and counts browser downloads for the web app that linked to them.
Bugfixes
- The analytics filter form is shown as one bar.
- A podcast shows only its own Analytics tab.
Security hardening
- #3604389: The download tracker redirected to any host given in the
external_hostquery parameter. Tracking URLs of externally hosted audio files are now signed, and unsigned ones return 404.
Update instructions
Sites without Podcast Publisher Analytics only need steps 1, 2 and 4.
- Back up the database and the files directory.
- Update the code:
composer update drupal/podcast_publisher --with-dependencies - Analytics only, before the database updates: install the OPAWG user agent lists at
web/libraries/user-agents-v2. The module no longer ships its own list. Without the lists, the status report shows an error, and apps, devices and bots are not detected. Add this package repository to your project'scomposer.json:
{ "type": "package", "package": { "name": "opawg/user-agents-v2", "version": "1.0.0", "type": "drupal-library", "dist": { "url": "https://github.com/opawg/user-agents-v2/archive/refs/heads/master.zip", "type": "zip" } } }Then run
composer require opawg/user-agents-v2. For a manual download, see Analytics. - Run the database updates and rebuild caches:
drush updatedb && drush cache:rebuild. The update adds devices to the user agents your site already knows. - Analytics only, optional: updates do not change the Views of existing sites, so the dashboard keeps its old breakdowns. To get the new ones, re-import the two analytics Views. This overwrites your own changes to Podcast Analytics and Podcast Analytics Downloads:
drush config:import --partial --source=web/modules/contrib/podcast_publisher/modules/podcast_publisher_analytics/config/install
Good to know
- Feeds with externally hosted audio files: podcast apps that hold an older copy of the feed get 404 for those tracking URLs until they refresh the feed. Audio files hosted on the site itself are not affected.
- Podcast Publisher Import is not enabled by the update. Enable it with
drush en podcast_publisher_importand grant the restricted permission Import podcasts from feeds.