Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getMedias() items always have empty URL #67

Closed
AlexanderMatveev opened this issue Jun 4, 2015 · 2 comments
Closed

getMedias() items always have empty URL #67

AlexanderMatveev opened this issue Jun 4, 2015 · 2 comments

Comments

@AlexanderMatveev
Copy link

Hello!
Please tell me, am I using this bundle a wrong way?
Because it does not parse URL from this feed http://ria.ru/export/rss2/index.xml

<enclosure url="http://cdn14.img22.ria.ru/images/43313/87/433138710.jpg" type="image/jpeg" length="26331"/>

Using this code:

$medias = $item->getMedias();
foreach ( $medias as $media ) {
var_dump($media->getUrl());
}

Medias array is filled by items with empty URLs

@alexdebril
Copy link
Owner

Hello!

The problem comes from the bundle not your code. I fixed it, you should get a correct URL now.

Cheers,

Alex

@AlexanderMatveev
Copy link
Author

@alexdebril Thanks, I see new attrs support added, it works now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants