bcotton reported a new issue against the project: `fedora-websites` that you are
following:
``
The magfeed.py script blindly takes the first `<enclosure>` element to use as the
thumbnail for
start.fedoraproject.org. This is fine in most cases, but if the article has
embedded video, we end up with a blank thumbnail. The RSS feed in that case contains
multiple enclosure elements and the featured image is listed last.
<enclosure
url="https://fedoramagazine.org/wp-content/uploads/2020/06/Screencas...
length="410087" type="video/webm"/>
<enclosure
url="https://fedoramagazine.org/wp-content/uploads/2020/06/Screencas...
length="388173" type="video/webm"/>
<enclosure
url="https://fedoramagazine.org/wp-content/uploads/2020/06/Screencas...
length="398605" type="video/webm"/>
<enclosure
url="https://fedoramagazine.org/wp-content/uploads/2020/06/Screencas...
length="1964954" type="video/webm"/>
<enclosure
url="https://fedoramagazine.org/wp-content/uploads/2020/07/networkan...
length="36634" type="image/jpg"/>
We want it to only use enclosures with a type of `"image/jpg"` (note that the
RSS feed uses this type for both jpg and png images) to prevent this.
``
To reply, visit the link below or just reply to this email
https://pagure.io/fedora-websites/issue/1045