ahorn / android-rss

Lightweight Android library to parse RSS 2.0 feeds.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enclosure null

marshallino16 opened this issue · comments

Hello,

I'm using this library and try to get enclosure from the RSS Feed like :
http://lesclesdedemain.lemonde.fr/screens/RSS/sw_getFeed.php?idTheme=HOME
or
http://www.gamergen.com/rss

But the return value is always null, any idea of which class I can edit to perform enclosure retrieving ?

Cheers.

it was because an non handling of null value for url or mimetype or lenght so, I modified for this :

if (url == null or lenght == null or mimetype == null) to handle exceptions by myself.