Giter Club home page Giter Club logo

Comments (7)

Chocobozzz avatar Chocobozzz commented on June 1, 2024

However a major limitation is that the feeds only appear on the instance that hosts the channel

What feed are you talking about? Because the "Videos of a specific channel" feed correctly appears on remote channels too.

from peertube.

kevincox avatar kevincox commented on June 1, 2024

I can't reproduce this on any of the instances I have found. (But note that I am not running my own, so maybe this is just a common configuration option to disable on public instances?). The feed exists and has the correct metadata but no videos. Browsing the HTML UI shows videos.

Original (works): https://framatube.org/feeds/videos.xml?videoChannelId=2215

Not working:

from peertube.

kevincox avatar kevincox commented on June 1, 2024

Actually with further searching I did find one instance with a working feed: https://neat.tube/feeds/videos.xml?videoChannelId=370

Maybe there is some sort of issue when rendering new channels as feeds? It seems like if the regular HTML page works though the feed should also work.

from peertube.

Chocobozzz avatar Chocobozzz commented on June 1, 2024

These instances don't seem to have federated content with framatube (maybe because they don't follow framasoft account, framaconf channel or framatube.org instance). For example https://diode.zone/c/[email protected]/videos is empty.

If you find an instance federated with framatube.org, like peertube2.cpy.re you can see there are videos: https://peertube2.cpy.re/c/[email protected]/videos

And the RSS feed works as expected: https://peertube2.cpy.re/feeds/videos.xml?videoChannelId=25078

from peertube.

kevincox avatar kevincox commented on June 1, 2024

I see videos for that example:
image

And the feed is empty:

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>FramaConf</title>
        <link>https://diode.zone/c/[email protected]/videos</link>
        <description>Replays de conférences données par les membres de Framasoft</description>
        <lastBuildDate>Tue, 12 Mar 2024 13:36:00 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>Toraifōsu</generator>
        <image>
            <title>FramaConf</title>
            <url>https://diode.zone/lazy-static/avatars/cda26839-356f-42a6-ad32-9051cb5e6f8b.png</url>
            <link>https://diode.zone/c/[email protected]/videos</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://diode.zone/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://diode.zone/feeds/videos.xml?videoChannelId=6804" rel="self" type="application/rss+xml"/>
    </channel>

from peertube.

Chocobozzz avatar Chocobozzz commented on June 1, 2024

Ok I understand now: you're logged in so the instance displays videos. I'm not so I can't see the videos (it's an admin setting to allow users or anonymous users to "escape" from the admin federation).

Common RSS feeds (except your subscriptions feed) don't support authentication so it's as if you were not logged-in, and so you can't see videos.

from peertube.

kevincox avatar kevincox commented on June 1, 2024

Ah yes, you are right. I was logged in to https://diode.zone. If I browse in a private window there are no videos there.

You are also right that the subscription feed does have an auth token. I missed that on my first look at the page. (It isn't advertised via RSS auto-discovery, but if you find the link on the page it has an auth token)

The subscriptions solution is ok. It is kind of annoying that they all get bundled into one feed but it is good enough. Maybe I can file a dedicated feature request to allow auth tokens for any feed if the videos would otherwise be suppressed.

Also maybe it is better to return a 404 or 401 for these feeds to make it clear that they are intended non-functioning, rather than providing a "working" feed that will never get a video.

from peertube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.