@@ 7080-7093 (lines=14) @@ | ||
7077 | $credits_parent = array_values(array_unique($credits_parent)); |
|
7078 | } |
|
7079 | // DESCRIPTION |
|
7080 | if ($description_parent = $this->get_item_tags(SIMPLEPIE_NAMESPACE_MEDIARSS, 'description')) |
|
7081 | { |
|
7082 | if (isset($description_parent[0]['data'])) |
|
7083 | { |
|
7084 | $description_parent = $this->sanitize($description_parent[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT); |
|
7085 | } |
|
7086 | } |
|
7087 | elseif ($description_parent = $parent->get_channel_tags(SIMPLEPIE_NAMESPACE_MEDIARSS, 'description')) |
|
7088 | { |
|
7089 | if (isset($description_parent[0]['data'])) |
|
7090 | { |
|
7091 | $description_parent = $this->sanitize($description_parent[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT); |
|
7092 | } |
|
7093 | } |
|
7094 | // DURATION |
|
7095 | if ($duration_parent = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ITUNES, 'duration')) |
|
7096 | { |
|
@@ 7412-7425 (lines=14) @@ | ||
7409 | } |
|
7410 | } |
|
7411 | // TITLES |
|
7412 | if ($title_parent = $this->get_item_tags(SIMPLEPIE_NAMESPACE_MEDIARSS, 'title')) |
|
7413 | { |
|
7414 | if (isset($title_parent[0]['data'])) |
|
7415 | { |
|
7416 | $title_parent = $this->sanitize($title_parent[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT); |
|
7417 | } |
|
7418 | } |
|
7419 | elseif ($title_parent = $parent->get_channel_tags(SIMPLEPIE_NAMESPACE_MEDIARSS, 'title')) |
|
7420 | { |
|
7421 | if (isset($title_parent[0]['data'])) |
|
7422 | { |
|
7423 | $title_parent = $this->sanitize($title_parent[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT); |
|
7424 | } |
|
7425 | } |
|
7426 | // Clear the memory |
|
7427 | unset($parent); |
|
7428 | // Attributes |