Closed crazy-max closed 6 years ago
Good idea, should be added to picoFeed first and retrieved via $item->getThumbnail(). This should only be done for the
I think we need to retrieve the image link from picoFeed like you said but for media:thumbnail and the first picture in content. Then the method would be $item->getImage()
In ownCloud News we can process picture exceeding a predefined size (64x64) using GD2 library and crop to square then resize for example ?
Maybe this can involved performance issues ?
If there are no picture in the rss item, we can put a default picture like the ownCloud News logo ?
I'd go for the following:
I see the main purpose for the thumbnail in adding a proper padding and @position to the first image.
Seems nice :)
Is this owncloud plugin not maintained anymore? Or merged to nextcloud?
By parsing the
<content>
to find the first<img>
or retrieve the<media:thumbnail>
(for RSS media) we can display a preview of a RSS item like Feedly :RSS 2 first image in content :
RSS Media with media:thumbnail (youtube) :