Code Monkey home page Code Monkey logo

Comments (4)

zedeus avatar zedeus commented on May 10, 2024

Well I can do this, but it makes all RSS feed validators complain about this:

Undefined author element: name
Undefined author element: uri
Invalid email address

Like I said I don't use it myself, so I don't know if this is an issue in the wild with common RSS readers. I tried want-my-rss which displays the same thing for both

from nitter.

TheFrenchGhosty avatar TheFrenchGhosty commented on May 10, 2024

I just compared and it looks likes you're using a different type of RSS:

Invidious uses:
<feed xmlns:yt="http://www.youtube.com/xml/schemas/2015" xmlns:media="http://search.yahoo.com/mrss/" xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">

While you use:
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">

It looks like you're following the rules of atom (xmlns:atom) while Invidious uses something custom (feed xmlns:yt).

I will need to do some more research about it

from nitter.

zedeus avatar zedeus commented on May 10, 2024

Both are atom but invidious includes the YouTube xml namespace which allows these lines:

<yt:videoId>8w3McEymcc8</yt:videoId>
<yt:channelId>UCERm5yFZ1SptUEU4wZ2vJvw</yt:channelId>

from nitter.

zedeus avatar zedeus commented on May 10, 2024

Closing for now, please reopen if you find a better solution that doesn't break RSS compliance.

from nitter.

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.