prof18 / RSS-Parser

A Kotlin Multiplatform library to parse a RSS Feed
Apache License 2.0
502 stars 127 forks source link

No Image #13

Closed monowar1993 closed 6 years ago

monowar1993 commented 6 years ago

Image is returning null always.

yatima1460 commented 6 years ago

I have the same problem newer RSS seem to use "media:thumbnail url=" for thumbnails

rgocal commented 6 years ago

Most thumbnails are included in the description and this library doesn't support it tho probably wouldn't be to hard to modify for support

prof18 commented 6 years ago

Yes, in the next update I'm gonna implement this

prof18 commented 6 years ago

Hi all, can you provide an example of the image content? For example I've found this on Android Authority feed: <media:content name="AndroidAuthority" url="https://cdn57.androidauthority.net/wp-content/uploads/2017/08/Sony-Xperia-XZ1-Compact-6-300x169.jpg" medium="image">

But in another feed ( https://zeromag.eu/feed/ ) there isn't a specific tag for content images.

I think that i'm gonna to implement a thing like that: first search for a specific tag, then search in the description, than in the article.

prof18 commented 6 years ago

FIxed. I'm gonna release an update soon.

rgocal commented 6 years ago

You rock

monowar1993 commented 6 years ago

you can also check with

https://feeds.bbci.co.uk/news/health/rss.xml