invidious icon indicating copy to clipboard operation
invidious copied to clipboard

Improve atom feeds

Open SamantazFox opened this issue 2 years ago • 10 comments

Make the following changes to Atom feeds:

  • Remove non-standard <yt:videoId> and <yt:channelId> elements
  • Make entry IDs RFC compliant (must be an URI) => This should also prevent some web-based RSS readers from embedding the youtube player
  • Base all URLs (icons, links, etc) on HOST_URL
  • Fix the different problems reported by W3C validator

Notes:

  • RSS feeds are TODO
  • Player can't be embedded without breaking RFC compliance (See why in issues listed below)

Fixes #1064 Fixes #2248 Fixes #2249

SamantazFox avatar Jan 14 '22 15:01 SamantazFox

This pull request has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely abandoned or outdated. If you think this pull request is still relevant and applicable, you just have to post a comment and it will be unmarked.

github-actions[bot] avatar Mar 02 '22 01:03 github-actions[bot]

Anything else to be done @SamantazFox ?

ghost avatar Mar 02 '22 02:03 ghost

@Loki-L1130 yes! See the .to_xml methods here and there? Those needs to be cleaned up and merged into a single function.

SamantazFox avatar Mar 02 '22 06:03 SamantazFox

See the .to_xml methods here and there? Those needs to be cleaned up and merged into a single function.

Well, I presume, It would take about an Hour to fix though. I just made a comment because the Github bot marked it as stale and to close in 30 Days if without any activity. So, I did pinged you.

ghost avatar Mar 02 '22 14:03 ghost

See the .to_xml methods here and there? Those needs to be cleaned up and merged into a single function.

Well, I presume, It would take about an Hour to fix though. I just made a comment because the Github bot marked it as stale and to close in 30 Days if without any activity. So, I did pinged you.

yeah, the bot marks PRs as "stale" if there wasn't activity for 30 days. Don't worry, though, I see the notifications and remove the label in the ay after, or so. I'm just very busy IRL atm, so I haven't got the time to work on that feature.

SamantazFox avatar Mar 02 '22 17:03 SamantazFox

This pull request has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely abandoned or outdated. If you think this pull request is still relevant and applicable, you just have to post a comment and it will be unmarked.

github-actions[bot] avatar Apr 17 '22 01:04 github-actions[bot]

Deployed on test.invidious.io

SamantazFox avatar May 24 '22 06:05 SamantazFox

Hiii As requested I'm leaving a comment here about this pull request requiring changes on the FreeTube side, as we use the <yt:videoId> elements, which are present in the YouTube feeds too. We currently use the same code to parse both the YouTube RSS and Invidious Atom feeds, however with this change we'll likely need to split up the parsing, to handle the two different feeds.

Please let us know when this pull request is ready to merge, so we can make the necessary changes on our side, thanks in advance :).

https://github.com/FreeTubeApp/FreeTube/blob/c2235ade8a66b7f0554d63ac8da59c7d26531ded/src/renderer/views/Subscriptions/Subscriptions.js#L433-L463

absidue avatar Jun 12 '23 16:06 absidue

This pull request has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely abandoned or outdated. If you think this pull request is still relevant and applicable, you just have to post a comment and it will be unmarked.

github-actions[bot] avatar Dec 18 '23 01:12 github-actions[bot]