| Summary: | Entries coming from PeerTube feeds should show the thumbnail of the video in the web feed | ||
|---|---|---|---|
| Product: | [Websites] Planet KDE | Reporter: | Paul Brown <paul.brown> |
| Component: | feeds | Assignee: | Jonathan Riddell <jr> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | d_debnath, mundolibre, phu.nguyen |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/websites/planet-kde-org/commit/7ce3b49561f10012929de127496b3c91a0d3625d | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
Entries coming from YouTube show a clickable thumbnail of the video
PeerTube entries lacka a preview and paragraphs are mangles |
||
|
Description
Paul Brown
2021-07-22 17:21:26 UTC
Created attachment 140264 [details]
PeerTube entries lacka a preview and paragraphs are mangles
Yeah, I can confirm this. This is a problem with the PeerTube feed content, not with the Planet site. On the right-hand side of each article on Planet, you can see an "Atom" or "RSS" link to the actual content of the feed which includes the current and other articles from the same publisher. Planet only reads the content from those feeds (and removes custom CSS). The content of items in the feed, each corresponding to one article, should be in HTML. For example, here is the (RSS) feed of Nicco's personal site https://write.as/niccolove/feed/ in each "content" tag, you can see links to YouTube videos along with preview images, that's why those can be shown on Planet, as well as other feed readers. On the other hand, here is the (Atom) feed of the KDE channel on the PeerTube instance https://tube.kockatoo.org/feeds/videos.atom?videoChannelId=3 "content" tags include no video link, some are even in Markdown which is not supported. You can see these entries appear as-is not only on Planet but also in Thunderbird for example. Maybe you can try looking in PeerTube configurations for something related to feed content format? After some more digging, I've found out that PeerTube seems to only support something called Media RSS (MRSS), not RSS 2.0 or Atom which Planet supports. So right now there might be no configuration in PeerTube to produce a feed in a format that is compatible right away with Planet. Git commit 7ce3b49561f10012929de127496b3c91a0d3625d by Phu Nguyen. Committed on 04/12/2022 at 06:35. Pushed by phunh into branch 'master'. Embed videos from KDE PeerTube M +4 -0 scripts/custom_generation.py https://invent.kde.org/websites/planet-kde-org/commit/7ce3b49561f10012929de127496b3c91a0d3625d |