Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Episode mapping reference

How each element of a podcast feed item is produced from an episode - the Title, Description, Category and Enclosure mappings of an export source, which datatypes each accepts, and the elements that come from the item…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/podcasters/episode-mapping-reference.md

On this page

Episode mapping reference

This page is for producers and administrators who map an episode class in a podcast export, and for anyone who wants to know where a value in the feed comes from. The code is eZRSSExport::podcastItemList() and podcastText() in kernel/classes/ezrssexport.php; the mapping columns are in eZRSSExportItem (kernel/classes/ezrssexportitem.php).

Contents

  1. The four mappings
  2. Datatypes and what the feed gets
  3. Elements from the item itself
  4. Which mapping applies
  5. Common mistakes

The four mappings

Each source of an export has a class and four attribute choices:

MappingFeed elementIf empty or not mapped
Titletitle and itunes:titlethe item's name
Descriptiondescriptionthe element is left out
Categorycategorythe element is left out
Enclosure (media)enclosure with url, length and typethe episode is left out of the feed

Datatypes and what the feed gets

For Title, Description and Category (podcastText()):

Datatype of the mapped fieldWhat is written
Rich text (ezxmltext)the field's rendered output, as text (the markup escaped into the XML)
Keywords (ezkeyword)the keywords as one string
Text line, text block, numbers and other fields with a plain valuethat value
Anything elsenothing

For the Enclosure:

DatatypeResult
Media (ezmedia)used: address, size and type of the stored file
File (ezbinaryfile)used: the same
Image or any othernot an enclosure: the episode is left out of a podcast feed

The form's help says an enclosure may be "a media, image or file attribute". The podcast writer accepts only media and file fields, and the RSS 1.0, RSS 2.0 and Atom writers use no enclosure at all (generateFeed() in the same file writes none).

Elements from the item itself

ElementSource
linkthe episode page: the nice URL with URL translation on, else /content/view/full/<node id>, after the export's site address
guid (isPermaLink="false")the object's remote id, which survives moving, renaming and republishing
pubDatethe object's published date, as an RFC 2822 date
enclosure url<site>/content/download/<object id>/<attribute id>/<file name>
enclosure lengththe file size in bytes, as stored
enclosure typethe stored MIME type, decided by the file suffix through settings/mime.ini
itunes:durationHH:MM:SS, worked out from the first MPEG-1 Layer III frame and the file size; missing for other files
itunes:explicitthe channel's Contains explicit content
itunes:authorthe name of the user who created the item (the node's creator)

Which mapping applies

An item is matched to a mapping by its class and by the source location being in its path. With two sources for two shows, each episode gets the mapping of the show it is in. An item that matches no mapping is skipped. Hidden items are skipped unless the site shows hidden items.

Common mistakes

MistakeEffectFix
Enclosure not mappedthe feed has a channel and no itemsmap the media or file field
Enclosure mapped to the imageno itemsmap the audio field
Wrong class on the sourceno itemschoose the episode class and press Set again
Description mapped to a very long fieldapps cut the textmap a short field; keep long notes on the page
An M4A file without a mime.ini entrytype="application/octet-stream"add the suffix (Working with your administrator)
Episodes created by a shared technical useritunes:author shows that user's namecreate episodes with personal accounts, or accept the name

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x