OdyseeTeam / odysee-frontend

The code that runs odysee.com
https://odysee.com
MIT License
213 stars 68 forks source link

Generate clickable links in RSS, just like in video descriptions. [enhancement] #3097

Open belkka opened 5 months ago

belkka commented 5 months ago

A video description may have some URLs.

They are displayed as clickable links on odysee.com: odysee video description

But they are non-clickable plain text in RSS: odysee feed view

For comparison, here is how youtube's feed looks like (see clickable underlined links at the bottom): youtube feed view

Another comparison, with Peertube [Feed](https://apertatube.net/feeds/videos.xml?videoChannelId=5) from Peertube: ![image](https://github.com/OdyseeTeam/odysee-frontend/assets/16609579/0a3985c4-3a43-41e3-8df1-244adf0f563e) Vs [feed](https://odysee.com/$/rss/@surveillancereport:2) from Odysee: ![image](https://github.com/OdyseeTeam/odysee-frontend/assets/16609579/63616691-ba9f-4771-8574-5cb86067d133) I like feeds from Odysee though, because they ship with an image thumbnail.

It would be nice to have clickable links in feeds from Odysee.

belkka commented 5 months ago

Interestingly, peertube feeds have <a href=...> tags around URLs, but youtube feeds do not.

youtube uses <feed> as a root element and ships video description in entry > media:group > media:description tag with no markup (apparently, my RSS reader recognizes links by themself).

peertube and odysee use <rss version="2.0"> as a root element

peertube ships descriptions in item > content:encoded tag with html markup and <a href=...> around URLs; they also have a short item > description. odysee ships full video description in item > description with some html markup (e. g. <br> tags), but no <a href=...> around URLs.

tzarebczan commented 5 months ago

Thank you for the detailed issue @belkka ! We'll see if we can get this done soon.