Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RSS and syndication feeds #23

Closed
15 of 16 tasks
dadall opened this issue Nov 28, 2016 · 19 comments
Closed
15 of 16 tasks

Add RSS and syndication feeds #23

dadall opened this issue Nov 28, 2016 · 19 comments

Comments

@dadall
Copy link
Contributor

dadall commented Nov 28, 2016

It could be awesome to get the content of a PT instance via a RSS feed, even better with a RSS feed per tags.


Implemented in 244e76a:

  • instance-wide RSS feed
    • json
    • rss
    • atom
    • mrss
  • account-wide RSS feed
    • json
    • rss
    • atom
    • mrss

Delayed for later implementation

  • channel-wide RSS feed
    • json
    • rss
    • atom
    • mrss
  • per-tag RSS feed (as seen by an instance and local to an instance) -> BLOCKED until Advanced search #60 gets done.
@ghost
Copy link

ghost commented Nov 28, 2017

@dadall What about using Atom instead of RSS?

@yannicka
Copy link

yannicka commented Dec 2, 2017

Or maybe a JSON Feed? (in replacement or as an alternative to RSS)

@ghost
Copy link

ghost commented Dec 12, 2017

@yannicka Thank you, I didn't know JSON Feed.

@r3k2
Copy link
Contributor

r3k2 commented Feb 11, 2018

Atom/RSS is good because most podcast players need this.. json fine but first Atom/RSS IMO

@ghost
Copy link

ghost commented Feb 27, 2018

@ReK2Fernandez I agree with you. I studied a bit JSON feed, it's not really standard. If I wanted to use JSON, I would rather stick to a jsonified version of Atom than a JSON format trying to imitate both RSS and Atom.

@Openmedianetwork
Copy link

This is a core feature that needs to be in ASP as it allows easy setup of home seeboxes based on a torrent app downloading all content and seeding it.
Atom/RSS and what ever... just use a standard libeary.

@rigelk
Copy link
Collaborator

rigelk commented Mar 16, 2018

Seems like https://github.com/jpmonette/feed and https://github.com/dylang/node-rss are the two main libraries dealing with that in Node.

@prysme01
Copy link

yes please add feed to peertube it would be great !

@qwertygc
Copy link

I'We can add a feed by account user for follow a channel.

@ghost
Copy link

ghost commented Mar 23, 2018

Second that, would be great to have an rss feed.

@rigelk
Copy link
Collaborator

rigelk commented Mar 31, 2018

Since we aim to syndicate rich multimedia content, we should maybe have a look at http://www.rssboard.org/media-rss#description

EDIT: just realised it could be interesting to describe what it brings. Basically <media:[stuff]> elements. It can be anything from media:content, media:player, media:peerLink or media:location. For instance peerLink directs to a torrent file. So instead of an attachement we would have a named resource, that MRSS-compatible clients could recognize as such:

<media:peerLink type="application/x-bittorrent" href="http://www.example.org/sampleFile.torrent" />

rigelk added a commit to rigelk/PeerTube that referenced this issue Apr 12, 2018
Provides rss 2.0, atom 1.0 and json 1.0 feeds for videos (instance and account-wide) on listings, miniatures and video-watch views as designed in Chocobozzz#23.

* still lacks redis caching
* still lacks MRSS support
* still lacks lastBuildDate support
* still lacks channel-wide support
* still lacks semantic annotation (for licenses, NSFW warnings, etc.)
* still lacks torrent enclosure/attachement
* still lacks love ( ˘ ³˘)
rigelk added a commit to rigelk/PeerTube that referenced this issue Apr 12, 2018
Provides rss 2.0, atom 1.0 and json 1.0 feeds for videos (instance and account-wide) on listings, miniatures and video-watch views as designed in Chocobozzz#23.

* still lacks redis caching
* still lacks MRSS support
* still lacks lastBuildDate support
* still lacks channel-wide support
* still lacks semantic annotation (for licenses, NSFW warnings, etc.)
* still lacks torrent enclosure/attachement
* still lacks love ( ˘ ³˘)
@rigelk
Copy link
Collaborator

rigelk commented Apr 14, 2018

I've actually ended up forking jpmonette/feed to rigelk/feed, published as pfeed.

rigelk added a commit to rigelk/PeerTube that referenced this issue Apr 16, 2018
Provides rss 2.0, atom 1.0 and json 1.0 feeds for videos (instance and account-wide) on listings and video-watch views.

* still lacks redis caching
* still lacks lastBuildDate support
* still lacks channel-wide support
* still lacks semantic annotation (for licenses, NSFW warnings, etc.)
* still lacks love ( ˘ ³˘)

* RSS: has MRSS support for torrent lists!
* RSS: includes the first torrent in an enclosure
* JSON: lists all torrents in the 'attachments' object
* ATOM: lacking torrent listing support

Advances Chocobozzz#23
Partial implementation for the accountId generation in the client, which will need a hotfix to add a way to get the proper account id.
@rigelk rigelk removed their assignment Apr 16, 2018
@rigelk rigelk changed the title Add RSS feeds Add RSS and syndication feeds Apr 19, 2018
@Chocobozzz Chocobozzz self-assigned this Apr 25, 2018
@Chocobozzz
Copy link
Owner

Implemented the video channel feed: e0ea4b1

I don't think per-tag feed would be interesting, but if you really want it create another issue :)

@ashledombos
Copy link

Hello,

not sure if I should open a specific issue for this, and if it's appropriate, but can you please provide also some syndication feed for peertube's blog :) (Atom would be a better tribute to Aaron Schwartz though ;) )

@Chocobozzz
Copy link
Owner

@ashledombos Hi, I created the issue on the appropriate repository: https://framagit.org/framasoft/peertube/joinpeertube/issues/23 :)

@trymeouteh
Copy link

Please allow Peertube accounts to have a RSS feed for their own subscribe channels.

@mj-saunders
Copy link
Contributor

Given that #60 is now dealt with, is there anything holding back implementing RSS feed for tags?

@rigelk
Copy link
Collaborator

rigelk commented Dec 8, 2020

@mj-saunders not that I can think of

@mj-saunders
Copy link
Contributor

Implemented the video channel feed: e0ea4b1

I don't think per-tag feed would be interesting, but if you really want it create another issue :)

Apologies for continuing this here. Have opened #3430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests