DocumentationTechnical → XML tags and their correspondence

Podcast Generator XML specific tags

Podcast Generator relies on XML to store episodes and categories data. When uploading or editing every episode, an XML 1.0 file containing information provided by the user (e.g. title, description, related categories, keywords, etc...) is generated and associated to the uploaded media file. This data is then merged into the RSS podcast feed.

The adoption of XML to store episodes data offers a number of advantages:

  • XML fields structure is flexible and can be updated incrementally;
  • XML is based on international standards;
  • XML allows metadata exchange between applications;
  • XML is platform-independent and assure forward and backward compatibility;
  • Data stored into XML structure can be used to develop further web ontologies schemas and semantic models.

In addition, the use of XML as database allows to keep low server requirements to run the program Podcast Generator (i.e no DBMS such as MySQL is required).

The following table shows the structure of Podcast Generator episodes database and the correspondence of the data with the generated feed (including iTunes specific tags):

Podcast Generator XML Corresponding RSS tag Description Notes
<episode> <item> Root tag which defines a single episode
<titlePG> <title> Episode title CDATA
<shortdescPG> <itunes:subtitle> and <description> Short Description CDATA
<longdescPG> <itunes:summary> Long Description. A summary of the episode content. CDATA (max 4000 characters).
<imgPG> Filename of the image associated to the episode. This tag is currently not applied to the RSS feed.
<categoriesPG> Categories associated to a single episode This tag is currently not applied to the RSS feed. It may currently contain up to 3 nested tags: <category1PG>, <category2PG> and <category3PG>. The categories are listed on the Podcast Archive menu.
<keywordsPG> <itunes:keywords> Keywords associated to a single episode The content of this tag is not visible but can be searched in the iTunes Store.
<explicitPG> <itunes:explicit> Specifies the presence of explicit content in the episode. The 3 possible values are: "yes", "no", and "clean". If this tag is populated with "yes", an "explicit" parental advisory appears next to the podcast artwork on the iTunes Music Store, and in the Name column in iTunes.
<authorPG> <itunes:author> and <author> Author of the episode. This tag contains 2 nested tags: <namePG> (author's name) and <emailPG> (author's email address). According to the RSS 2.0 specifications, the tag <author> must contain a valid email address. In iTunes the content of the <itunes:author> tag is shown in the Artist column.

To see how the tags contained in the RSS feed created by Podcast Generator are displayed in the iTunes store, see Apple's official documentation.

Copyright ©2020 | Released under the GNU/GPL license | Source Code | Podcast Hosting | Credits