nitter icon indicating copy to clipboard operation
nitter copied to clipboard

Link Preview in RSS -feed - text missing

Open hermann-san opened this issue 3 years ago • 4 comments

Hi there, In Nitter there is a link preview for a Tweet and it has an image and text. However, when I generate a RSS-Feed for that Twitter user and check in my RSS Reader, then the preview text is missing. I wonder if it is possible to include the preview text in the RSS-Feed as well. It has valuable information about the link and helps deciding whether it's worth clicking on it or not. Thanks.

Nitter Link Prevew with Image preview and Link text preview Auswahl_005

RSS-Feed Reader Liferea (preview text missing) Auswahl_006

BTW. I wonder if you can provide some information on how you've implemented the link preview feature in Nitter. The developer of RSS-Bridge is considering to implement that feature as well but would need so technical idea on how to do it. Thanks again https://github.com/RSS-Bridge/rss-bridge/issues/2430

hermann-san avatar Aug 10 '22 09:08 hermann-san

BTW. I wonder if you can provide some information on how you've implemented the link preview feature in Nitter.

Here (just parse card object of a tweet response ) : https://github.com/zedeus/nitter/blob/5f31e86e0e8578377fa7d5aeb9631bbb2d35ef1e/src/parser.nim#L132-L187

if it is possible to include the preview text in the RSS-Feed as well.

Yes. Just add card.title and card.text here https://github.com/zedeus/nitter/blob/5f31e86e0e8578377fa7d5aeb9631bbb2d35ef1e/src/views/rss.nimf#L51-L56

jackyzy823 avatar Aug 12 '22 08:08 jackyzy823

@jackyzy823 thanks for your pointer and hints. regarding the card.text and card.title info, am I right in assuming that I have to use my own Nitter installation to get this working? Currently I use nitter.net to get the feed.

hermann-san avatar Aug 13 '22 18:08 hermann-san

@hermann-san

am I right in assuming that I have to use my own Nitter installation to get this working?

Yes , modify and compile then run.

jackyzy823 avatar Aug 14 '22 13:08 jackyzy823

I've never compiled apps and I'm not a dev. I would probably use Nittter via Yunohost. I will see if that works for me. Thanks for your help so far.

hermann-san avatar Aug 14 '22 15:08 hermann-san