rss-bridge icon indicating copy to clipboard operation
rss-bridge copied to clipboard

[Twitter bridge] In long status second part comes first in feed

Open dariottolo opened this issue 6 years ago • 3 comments

Describe the bug Sometimes tweets that are long are broken down in two. In my RSS feed the second part comes first, making it hard to follow

To Reproduce

  1. Use RSS-Bridge to generate feed for https://twitter.com/realDonaldTrump bridge/?action=display&bridge=Twitter&u=realDonaldTrump&norep=on&noretweet=on&format=Atom
  2. Subscribe to RSS in a reader, I use TT-RSS
  3. this status (https://twitter.com/realDonaldTrump/status/1181232249821388801) is broken in two, and "....the captured [snip]" comes before "As I have stated [snip]..."

Expected behavior The second part should come after the first

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 7
  • Browser Chrome
  • Version git.master.b0884e9

trump

dariottolo avatar Oct 07 '19 21:10 dariottolo

I also noticed this happening with that very feed.

The problem here is that some of those tweets are published on the same second.

The RSS format doesn't have a better time resolution than seconds, there's not much to do other than faking the dates. Should not be attempted.

The Atom format does allow for sub-second accuracy.

Twitter does return the time in milliseconds, but it's still the same :cry: :

https://twitter.com/realDonaldTrump/status/1181232251390042118:

<span class="_timestamp js-short-timestamp " data-aria-label-part="last" data-time="1570462689" data-time-ms="1570462689000" data-long-form="true">Oct 7</span>

https://twitter.com/realDonaldTrump/status/1181232249821388801

<span class="_timestamp js-short-timestamp " data-aria-label-part="last" data-time="1570462689" data-time-ms="1570462689000" data-long-form="true">Oct 7</span>

https://github.com/RSS-Bridge/rss-bridge/blob/50b234d89349669868f057d7c6884c2068f6a745/bridges/TwitterBridge.php#L232-L233


The better option would be to join tweets published in the same second in a single feed item, with the multiple individual tweets linked in the body. This should be optional and disabled by default, IMHO, since it breaks the expectation that the bridge returns all tweets separately.

somini avatar Oct 12 '19 16:10 somini

@dariottolo Can you check if this issue still persists?

dvikan avatar Mar 26 '22 23:03 dvikan

I am sorry I can not be helpful. I had issues only with the feed in the initial request, which does not exist anymore.

dariottolo avatar Mar 28 '22 14:03 dariottolo