Conversation
I miss when I could aggregate RSS feeds from actual websites on my own terms instead of being fed ragebait of the day by social media algorithms.
1
0
0
@Takom then welcome back (you can get rss feeds of users actually lmao). Btw, do you know about yt rss feeds?
2
0
1

@snacks @Takom if they ever get rid of em im gonna throw away my computers

0
0
2
@snacks
Fedi clears, as always. But I miss being able to aggregate and sort news.

I dont know about yt rss news, no.
1
0
1
@Takom you used to be able to just export your subscriptions as a bunch of rss feeds but not anymore. Newpipe has a button to get the rss feed from a channel but you can prob just put the channel id into your own template or smth
1
0
1

@snacks @Takom relevant snippet to run on a channels home page to get the rss feed :

for (var arrScripts = document.getElementsByTagName('script'), i = 0; i < arrScripts.length; i++) {
    if (arrScripts[i].textContent.indexOf('externalId') != -1) {
        var channelId = arrScripts[i].textContent.match(/\"externalId\"\s*\:\s*\"(.*?)\"/)[1];
        var channelRss = 'https://www.youtube.com/feeds/videos.xml?channel_id=' + channelId;
        var channelTitle = document.title.match(/\(?\d*\)?\s?(.*?)\s\-\sYouTube/)[1];
        alert('The rss feed of the channel \'' + channelTitle + '\' is:\n' + channelRss);
        break;
    }
}
4
0
3

@snacks @Takom while with bsky i dont really remember but im pretty sure its trivial.

1
0
1

@fiore @snacks @Takom it’s neat that invidious just has a button to get the rss feed imo

0
0
0
@fiore @Takom @snacks well surely you know a bit of javascript regex notation as a physicist
1
0
1

@twinspin6 @Takom @snacks i really do not . i can guess what it does because it seems like its a kinda normal regex ? but regex and js are things i try to touch as little as possible ngl

1
0
1
@fiore @Takom @snacks ok i looked it up
javascript string.match returns an array and apparently allows you to do cursed things like functioncall(args)[arrayindex] to immediately grab a specific entry from the returned array
2
0
0
why is that cursed, literally anything C derived (C included) lets you do that. you can also call the returned function immediately fn()(). This is much more fun to read :D.

CC: @fiore@brain.worm.pink @snacks@netzsphaere.xyz @Takom@netzsphaere.xyz
1
0
2

@twinspin6 @Takom @snacks @eris imean not wrong . other languages have reasons for letting you do things , in js its “anything goes” so like . cursed by default

0
0
1