Tiny Tiny RSS: Community

Media-RSS support

I am not sure if I posted in the right category, if not, I apologize.

Some video platform like Youtube or Peertube [1] use the Media-RSS [2] extension to provide metadata about the videos. They generally do not use the whole tags available, but provide tags for the video description, the thumbnail, and the number of views.

Youtube and Peertube videos are detected as attachments, and only the peertube thumbnails are displayed.
It would be amazing if tiny tiny RSS could display the thumbnail and the description for videos.

An extract of a Youtube feed [3]:

   <media:title>Can You Observe a Typical Universe?</media:title>
   <media:content url="https://www.youtube.com/v/q-6oU3jXAho?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i2.ytimg.com/vi/q-6oU3jXAho/hqdefault.jpg" width="480" height="360"/>
   <media:description>Sign Up on Patreon to get access to the Space Time Discord! 

Check out the Space Time Merch Store

The moment you started observing reality, you hopelessly polluted any conclusions you might make about it. The anthropic principle guarantees that you are NOT seeing the universe in most typical state. But used correctly, this highly controversial idea can be extremely powerful. So, how do you correctly use the anthropic principle?

Hosted by Matt O'Dowd
Written by Matt O'Dowd
Graphics by Leonardo Scholzer &amp; Adriano Leal
Directed by: Andrew Kornhaber
Executive Producers: Eric Brown &amp; Andrew Kornhaber 
    <media:starRating count="7709" average="4.92" min="1" max="5"/>
    <media:statistics views="176224"/>

An extract of a Peertube feed [4] :

  <media:content type="application/x-bittorrent" url="https://framatube.org/static/torrents/ed5c048d-01f3-4ceb-97db-6e278de512b0-1080.torrent" isDefault="true">
  <media:content type="application/x-bittorrent" url="https://framatube.org/static/torrents/ed5c048d-01f3-4ceb-97db-6e278de512b0-720.torrent">
  <media:content type="application/x-bittorrent" url="https://framatube.org/static/torrents/ed5c048d-01f3-4ceb-97db-6e278de512b0-480.torrent">
  <media:content type="application/x-bittorrent" url="https://framatube.org/static/torrents/ed5c048d-01f3-4ceb-97db-6e278de512b0-360.torrent">
  <media:content type="application/x-bittorrent" url="https://framatube.org/static/torrents/ed5c048d-01f3-4ceb-97db-6e278de512b0-240.torrent">
<media:thumbnail url="https://framatube.org/static/thumbnails/ed5c048d-01f3-4ceb-97db-6e278de512b0.jpg" height="122" width="223">

How they are both displayed:

What do you think?

[1] : https://joinpeertube.org
[2] : http://www.rssboard.org/media-rss
[3] : https://www.youtube.com/feeds/videos.xml?channel_id=UC7_gcs09iThXybpVgjHZ_7g
[4] : https://framatube.org/feeds/videos.xml?accountId=3

this should be easily solved via a plugin. bloating the parser with this because of youtube is probably not the best idea.

This is not just about Youtube and Peertube, as Media-RSS is an open standard, other tools use it, like RSS-Bridge (https://github.com/RSS-Bridge/rss-bridge) and some podcast providers.

just because something is supported by (a thing) and is an open standard doesn’t necessarily mean it has to be in core code. write a media-rss plugin, publish it on github for everyone, enjoy.

i wrote the plugin system for a reason. use it.

I have a plugin that makes it possible to do XSLT-type stuff to feeds, and I did just this for youtube’s RSS feed. The plugin recreates XSLT-style processing in php, I am considering rewriting it using php’s XSLT library; so I am not sure I want to publish it to the masses yet. :thinking: