Hiding and retiring episodes
This page is for producers who need an episode off the site: a rights window ends, a guest withdraws consent, a mistake cannot be fixed by editing, or old material is retired. Exponential offers hiding, removing to the trash, and both at a date. Each has a different effect on the feed.
Contents
- The options
- Effect on the feed
- Hide or remove now
- Hide or remove at a date
- Bringing an episode back
- Good practice
The options
| Option | On the site | In the administration | Reversible |
|---|---|---|---|
| Hide | gone for visitors, with everything below it | still there, marked hidden | yes: unhide |
| Remove | gone | in the trash | yes: Restore from the trash, until it is emptied |
| Delete from the trash | gone | gone | no |
Hide at a date (hide.php) | gone after the date | marked hidden | yes |
Remove at a date (unpublish.php) | gone after the date | in the trash | yes, from the trash |
Details: Publishing, versions and the trash.
Effect on the feed
The podcast export reads the items below its sources at the time it writes the feed (podcastItemList() in
kernel/classes/ezrssexport.php):
| Action | Feed |
|---|---|
| Hidden | the item is skipped, unless the site is set to show hidden items |
| In the trash or removed | the item is no longer below the source and is not listed |
| Restored or unhidden | the item returns with its same guid (the object's remote id), so apps recognize it |
The change reaches the feed when the feed cache runs out (CacheTime, 1200 seconds as shipped). Apps that already
downloaded the episode keep their copy; Exponential cannot remove files from listeners' devices.
Hiding is about what the site shows; it is not a permission. If the file must certainly not be fetched any more, for example for legal reasons, remove the item, or move it to a section visitors may not read (Members-only episodes), and test the old download address signed out.
Hide or remove now
- Open the episode.
- Hide: in the tree, open the item's menu and choose Advanced > Hide / unhide (Hide an item).
- Remove: press Remove on the item's page and confirm; the item goes to the trash (Remove and restore).
Hide or remove at a date
Both cronjobs run in the default part of settings/cronjob.ini and do nothing until an administrator fills in their
settings in settings/content.ini:
| Cronjob | Settings | What it needs in the class |
|---|---|---|
hide.php | [HideSettings] RootNodeList[] and HideDateAttributeList[<class>]=<date field> | a date field, for example hide_date |
unpublish.php | [UnpublishSettings] RootNodeList[] and ClassList[] | a field unpublish_date |
For a show with licensed material that may only be online for a period, add a date field to the episode class and
let hide.php hide episodes when the period ends. See Scheduled publishing.
Bringing an episode back
- Hidden: unhide it (Advanced > Hide / unhide). It returns to lists and the feed.
- In the trash: Restore it to its old place or a new one (The trash).
- Deleted from the trash: it cannot come back. Creating it again makes a new item with a new
guid; apps list it as a new episode.
Good practice
- Prefer hiding when the episode may return; leave removed episodes in the trash for a while before deleting them for good.
- Write down why and when an episode was retired, for example in an internal note field or your team's log.
- If an episode goes because of a rights or consent issue, check that its audio is not linked from other pages, embeds or the show notes of other episodes (Rights and licensing).
- Retiring a whole show is different: see Moving, pausing or ending a show.
Related pages
- Archiving and the trash
- Scheduling a release
- Publishing, versions and the trash
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.