Ticket #7680 (closed patch: fixed)
Opened 2 years ago
Last modified 2 years ago
Use image/jpeg enclosures as thumbnails in MythNews
| Reported by: | otto at kolsi dot fi | Owned by: | ijr |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | Plugin - MythNews | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
Attached patch adds support for jpeg images in <enclosure> tags so that these are treated like thumbnails.
Modification to mythnews.cpp fixes issue where previous thumbnail image was shown for current news article when current article does not have thumbnail. I noticed this while working with the enclosure improvement. Even if that part would not be applied, this fix probably should be.
Following feed can be used to test both enclosures and the case where (most of the time) not every article/item has a thumbnail/enclosure: http://yle.fi/uutiset/rss/news.rss
Without this patch, those jpeg image enclosures are treated as downloadable media. They are downloaded (I think, haven't verified) when you select that article but then nothing is shown. What's more problematic is that this download behaviour blocks the feature where you can open the article to MythBrowser?. So without this patch, you cannot open the articles (with enclosures) in above feed.
Attachments
Change History
comment:1 Changed 2 years ago by paulh
- Status changed from new to closed
- Resolution set to fixed
