zedeus / nitter

Alternative Twitter front-end
https://nitter.net
GNU Affero General Public License v3.0
10.14k stars 536 forks source link

RSS tested, only 1 missing feature #41

Closed TheFrenchGhosty closed 5 years ago

TheFrenchGhosty commented 5 years ago

I did some more testing with the RSS and the only thing missing is the fact that the author field does not contain a link to the nitter author page

Invidious implemented it like that:

    <author>
      <name>Linus Tech Tips</name>
      <uri>https://invidio.us/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>
    </author>

While you use:

     <dc:creator>@elonmusk</dc:creator>

According to http://www.rssboard.org/rss-profile#namespace-elements-dublin-creator there is a limitation in <dc:creator> so you need to use <author\>

Otherwise everything else is perfect and RSS appears to be feature complete

zedeus commented 5 years ago

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

TheFrenchGhosty commented 5 years ago

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

Invidious uses: ``

`` While you use: `` `` 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
zedeus commented 5 years ago

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

<yt:videoId>8w3McEymcc8</yt:videoId>
<yt:channelId>UCERm5yFZ1SptUEU4wZ2vJvw</yt:channelId>
zedeus commented 5 years ago

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