ciderpunx / twitrssme

TwitRSS.me: Tool to make Twittter timelines and searches into RSS feeds
https://twitrss.me
GNU General Public License v2.0
360 stars 59 forks source link

Don't show tweets duplicated, set "Tweet" as title #72

Closed glye closed 5 years ago

glye commented 5 years ago

RSS items have a title and a description, but tweets only have a single piece of text content. Currently TwitRSS.me sets the content of the tweet both as title and description, so RSS readers show each tweet text twice. This duplication takes up screen space and adds no value imho. I have replaced the title simply with the text "Tweet" - so I have something to click to load the tweet in Twitter.

Another, perhaps better solution could be to show the first 10-15 characters of the tweet in the title.

Thank you for TwitRSS.me! It is a great help.

ciderpunx commented 5 years ago

Thanks for the patch.

So the reason why it works in that way is that that is how Twitter used to present their feeds when they used to have them, and y'know backwards compatibility. At this stage I think changing the behaviour is likely to break things for some folks.

So could you add a config variable to enable or disable setting the title? Something like "$alternate_tweet_title". If empty (the default) behave as now, if set use that string as the title.

glye commented 5 years ago

Right, I see. I'll give it a go. (Related: Emoji don't show up in the title, only in the description. Dunno if that's an RSS limitation, charset issue, or what have you.)