Enclosures don't work for Atom feeds #381

Open
h1bay1 opened this Issue Oct 22, 2014 · 0 comments

Projects

None yet

1 participant

@h1bay1
h1bay1 commented Oct 22, 2014

I am trying to retrieve the link of an Atom enclosure

E.g.

My code runs

if ($enclosures = $feed_item->get_enclosures())
{
foreach ($enclosures as $enclosure)
{
$imagesrc = $enclosure->get_link();
}
}

However the $imagesrc value is always null for this feed.

Does SimplePie support atom still?

The feed I am pulling is http://www.nmit.ac.nz/nmit-news/rss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment