ZF-11659: Add getImage() method

Issue Type: Improvement Created: 2011-08-11T08:43:53.000+0000 Last Updated: 2011-08-11T08:43:53.000+0000 Status: Open Fix version(s): Reporter: Fabio Bacigalupo. (openhaus) Assignee: Pádraic Brady (padraic) Tags: - Zend_Feed_Reader

  • Image
  • RSS
  • enhancement
  • method

Related issues: Attachments:


It is not possible to access the ITunes image through the Podcast/ITunes extension (Zend/Feed/Reader/Extension/Podcast/Entry.php).

<pre class="highlight">
     * Get the entry image
     * @return string
    public function getImage()
        if (isset($this->_data['image'])) {
            return $this->_data['image'];

        $image = $this->_xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:image/@href)');

        if (!$image) {
            $image = null;

        $this->_data['image'] = $image;

        return $this->_data['image'];

That would be a really nice enhancement!


No comments to display

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.