You are here

function emaudio_podomatic_info in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 5 contrib/emaudio/providers/podomatic.inc \emaudio_podomatic_info()
  2. 6 contrib/emaudio/providers/podomatic.inc \emaudio_podomatic_info()

hook emaudio_PROVIDER_info this returns information relevant to a specific 3rd party audio provider

Return value

an array of strings requested by various admin and other forms 'name' => the translated name of the provider 'url' => the url to the main page for the provider 'settings_description' => a description of the provider that will be posted in the admin settings form 'supported_features' => an array of rows describing the state of certain supported features by the provider. These will be rendered in a table, with the columns being 'Feature', 'Supported', 'Notes'.

File

contrib/emaudio/providers/podomatic.inc, line 21
This include processes Podomatic audio files for use by emaudio.module.

Code

function emaudio_podomatic_info() {
  $features = array(
    array(
      t('Autoplay'),
      t('No'),
      '',
    ),
    array(
      t('RSS Attachment'),
      t('No'),
      '',
    ),
    array(
      t('Thumbnails'),
      t('No'),
      t(''),
    ),
  );
  return array(
    'provider' => 'podomatic',
    'name' => t('podOmatic'),
    'url' => EMAUDIO_PODOMATIC_MAIN_URL,
    'settings_description' => t('These settings specifically affect audio podcasts displayed from <a href="@podomatic" target="_blank">podOmatic</a>.', array(
      '@podomatic' => EMAUDIO_PODOMATIC_MAIN_URL,
    )),
    'supported_features' => $features,
  );
}