this post was submitted on 07 Dec 2023
30 points (96.9% liked)

Selfhosted

40198 readers
1002 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Wasn't quite sure where to ask this question, but figured if anyone, it would be selfhosters who are mostly into RSS.

I've recently been getting into RSS feeds for reading my news, watching YT (via FreeTube) and listening to podcasts - and its been nothing but great! However I was wondering how RSS works under the hood. I couldn't find many good sources on it, so if you have any good reads please hit me up. My main question; is RSS a one-way protocol? Considering when using Freetube or Newpipe, it's able to fetch videos, views and comments etc, but I assume its only a one way thing seeing one cannot comment or like the video? And I guess this applies to podcasts and news sites as well? What happens during podcasts if I skip ads during the podcast? Does that hurt the podcaster, in the sense that I am skipping the ad-section, or does it still count as the RSS feed has already been "pulled" to my device?

If anyone could help clear this up for me I would greatly appreciate it :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 11 months ago (2 children)

RSS feeds are XML files which contain a list of documents hosted on the internet (articles, audio/video). The feed entries contain basic metadata (title, date, author, summary) and a link to the original website (or audio/video file in the case of a podcast).

Feed readers send a simple web request to the website hosting the feed, downloading it if it has changed since the last update. The content is then combined with other feeds and displayed. This way you can have a personalized news reading experience without needing to create an account at a a central provider or open every individual site.

Alternative YouTube clients use RSS feeds provided by YouTube (example: https://www.youtube.com/feeds/videos.xml?channel_id=UC2DjFE7Xf11URZqWBigcVOQ), but they are only used to update subscriptions. All other requests (search, watching videos) are handled by the same web interface as the YouTube desktop application. Fetching the RSS feeds is a lot faster than opening the channel page, so the RSS featuee allows you update 100 or more channels in a few seconds.

The way podcast ads work is either just like YouTube sponsorships (the podcaster gets paid by a company to speak an advertisement themselves) or they are dynamically inserted by the podcast provider (these are the interrupting ads). Since most podcast apps dont store cookies, there is no way to track users and personalization is done only via the IP-based location and topic of the podcast. RSS-based podcast players have no way of directly reporting back playback telemetry. The server hosting the podcasts can only count the number of downloads/playbacks. So there is no way to count the amount of watched ads when using a RSS-based podcast player like AntennaPod or Kasts. Note: this does not apply to podcasts on Spotify, Apple Music or similar platforms. These platforms absolutely track your listening activity. I have no idea whether this affects ad/sponsorship earnings.

[–] [email protected] 4 points 11 months ago

Superb, that answered a lot of what I was curious about thanks 🌻

[–] [email protected] 0 points 11 months ago (1 children)

Here is an alternative Piped link(s):

https://www.piped.video/feeds/videos.xml?channel_id=UC2DjFE7Xf11URZqWBigcVOQ

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago)

Bad bot, you should verify whether Piped can accept an URL and not simply link all YouTube URLs to Piped.