Community Documentation

Open Media Airing

Last updated March 24, 2011. Created by kreynen on January 22, 2011.
Edited by pdcarto, stefanwray, synchlayer. Log in to edit this page.

Installing the Modules
om_airing includes a submodule om_airing_feed.

om_airing - Creates the om_airing content type with the following fields: field_om_airing_date, field_om_airing_duration*, field_om_airing_mpeg2

om_airing_feed - Creates the om_airing_feed content type that utilizes FeedAPI to pull airing information from RSS.

*Hint: Some people have said the duration field is unnecessary because field_om_airing_date has both the start and end dates and times. The duration is the difference. True, but have the calculated duration stored in a field makes filtering upcoming airings to only shows longer that 60 seconds much easier.

Configure Open Media Airing Feed Content Type
Under the Feed API settings:
check - Is a feed content type
Supply feed as: URL
Default settings: Update existing feed items
Parser settings:
Parser SimplePie: Enable
Weight: 0
FeedAPI Node - create nodes from feed items: Enable
Weight: 1
Node type of feed items: Airing
FeedAPI Inherit - pass on taxonomy, author, language and organic group information from feed to feed items: enabled
Weight: 2
checked - Feed item nodes inherit taxonomy settings from parent feed.

Create a Feed
Create a new Open Media Airing Feed node
Title: [YOUR CHANNEL NAME]
Channels: [SELECT YOUR CHANNEL]
URL: [VARIES BY PLAYBACK SERVER]
Princeton -
Cablecast -
Leightronix -
Synergy -

Mapping the Elements of Feed Items to Airing Fields

Data fields for the Open Media Airing module are populated by an RSS feed from the playback server. The RSS feed contains specific information about each show. If you have multiple playback channels, it is recommended to have an RSS feed for each one. At a minimum, the RSS feed must include the following XML elements that are mapped to the following om_airing content type fields:

  • title ---> Map to Title (node)
  • description ---> Map to Body (node)
  • start time/date ---> Map to field_om_airing_date (date): Start Date (date and time)
  • end time/date ---> Map to field_om_airing_date (date): End Date (date and time)
  • filename ---> Map to MPEG2 (content)

Working with om_show:
If om_show is enabled, om_airing will attempt to create a nodereference between the new airing node and an existing show node (on cron) based on the mpeg2 file name. This only works if local mpeg2 file storage is chosen.

Page status

About this page

Drupal version
Drupal 6.x
Audience
Developers and coders, Site administrators, Themers
Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.