| 1 |
<?php
|
| 2 |
// $Id$
|
| 3 |
|
| 4 |
/**
|
| 5 |
* @file
|
| 6 |
*/
|
| 7 |
|
| 8 |
/**
|
| 9 |
* Construct iTunes extension data array.
|
| 10 |
*
|
| 11 |
* @param $zend_itunes
|
| 12 |
* @param array $feed
|
| 13 |
* @return array
|
| 14 |
*/
|
| 15 |
function _parser_zend_feed_parse_itunes($zend_itunes, $feed) {
|
| 16 |
return array(
|
| 17 |
'author' => 'Artist column', // optional, default to the main author value
|
| 18 |
'owner' => array(
|
| 19 |
'name' => 'name of the owner', // optional, default to main author value
|
| 20 |
'email' => 'email of the owner', // optional, default to main email value
|
| 21 |
), // Owner of the podcast // optional
|
| 22 |
'image' => 'album/podcast art', // optional, default to the main image value
|
| 23 |
'subtitle' => 'short description', // optional, default to the main description value
|
| 24 |
'summary' => 'longer description', // optional, default to the main description value
|
| 25 |
'block' => 'Prevent an episode from appearing (yes|no)', // optional
|
| 26 |
'category' => array(
|
| 27 |
array(
|
| 28 |
'main' => 'main category', // required
|
| 29 |
'sub' => 'sub category' // optional
|
| 30 |
),
|
| 31 |
// up to 3 rows
|
| 32 |
), // 'Category column and in iTunes Music Store Browse' // required
|
| 33 |
'explicit' => 'parental advisory graphic (yes|no|clean)', // optional
|
| 34 |
'keywords' => 'a comma separated list of 12 keywords maximum', // optional
|
| 35 |
'new-feed-url' => 'used to inform iTunes of new feed URL location', // optional
|
| 36 |
); // Itunes extension data // optional, ignored if atom is used
|
| 37 |
}
|