RSS-Bridge / rss-bridge

The RSS feed for websites missing it
https://rss-bridge.org/bridge01/
The Unlicense
7.2k stars 1.03k forks source link

enclosures? #175

Closed mro closed 8 years ago

mro commented 8 years ago

any hint how I would add an enclosure link? To mke e.g. arte.tv a video podcast.

mitsukarenai commented 8 years ago

... not sure I understand what you mean, sorry ^^

mro commented 8 years ago

arte +7 is mostly about videos. But the rss feed doesn't contain the video link - at least not in a way that can be directly played by e.g. Miro oder iTunes.

The enclosure element is the way to achieve this and is explained here: https://en.wikipedia.org/wiki/RSS_enclosure or below http://www.apple.com/itunes/podcasts/specs.html#rss.

Or see an example atom feed here: http://linkeddata.mro.name/open/tv/mediathek/ardmediathek.de/series/602916/feed.atom

Does this answer you question?

mitsukarenai commented 8 years ago

I was about to say it's something easy to do for the thumbnails, yet even this implies deep changes in formats/AtomFormat.php. About the video files it's even more a nightmare: fetching each individual video page, trying to extract the file URLs,.. please don't overestimate rss-bridge ^^

teromene commented 8 years ago

Well... Here I don't totally agree with you @mitsukarenai : Enclosures are also for photo sites, magnet links etc. and can be used to include the RSS feed in multiple automatic tools (automatic wallpaper changer, downloader for every new media...) and is quite usefull.

The implementation of this in AtomFormat is not that difficult (enclosures are just hyperlinks with a particular rel attribute), and I could do it.

I don't know if you can include enclosures in the Arte +7 bridge, but enclosures can be really useful for other bridges (TPB bridge, Wallpapers bridge....)

mitsukarenai commented 8 years ago

It could be quite useful indeed. Well, it's worth a try :) Do you prefer enclosure support be included in alpha 0.2 or rather as small upgrade later in alpha 0.2.1 ?

teromene commented 8 years ago

Whatever, depends on what you want to do for the documentation and when :wink:

mitsukarenai commented 8 years ago

Okay, let's squeeze it into alpha 0.2 since I have no ETA for @sebsauvage's enabling of the repo wiki ^^

teromene commented 8 years ago

Kk. I start working on this.