Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSSHub RSS: Handle remaining Twitter URLs and metadata/encoding oddities #132

Open
nemobis opened this issue Jun 25, 2023 · 4 comments
Open

Comments

@nemobis
Copy link
Contributor

nemobis commented Jun 25, 2023

Importing an RSSHub RSS feed works very well, but there are a few issues.

Quote tweets are posted with a literal div and a link to the original tweet (though rewritten if nitter_base_url is configured)

Example: https://respublicae.eu/@danutahuebner/110604120830026002

t.co links aren't always converted. Example: https://respublicae.eu/@danutahuebner/110604122030104574

Retweets use the display name instead of mentioning the @username, for example:

RT PlatformaObywatelska

https://respublicae.eu/@danutahuebner/110604122554679766

Retweets don't convert t.co links, for example:

RT EPWashingtonDC
🧵 1/2 Support to Ukraine, sanctions, security and stability, trade and technology and NATO enlargement were among topics discussed in the latest meeting of the Transatlantic Legislators' Dialogue led by @radeksikorski and @RepNateMoran. More details: https://europa.eu/!mRRgC9 https://t.co/ADbqcF0nGt

https://respublicae.eu/@danutahuebner/110604122444876527

Escaped & are left lingering, like:

Re -We agreed on the need for new elections. We discussed modalities & way ahead
-Arbitrary arrests or mistreatment of prisoners is unacceptable. @EULEXkosovo will play a more robust role in monitoring

If the & is correctly escaped in the RSSHub XML, then maybe we need to parse the XML differently (with a different library which handles escaping automatically?).

That "Re " is also something added by RSSHub, suggesting replies aren't handled as such.

@nemobis
Copy link
Contributor Author

nemobis commented Jun 25, 2023

Quote tweets also get their nitter URL truncated, for example https://respublicae.eu/@BasEickhout/110606157846634382 points to https://nitter.lacontrevoie.fr/BasEickhout/status/16711142107496 instead of https://nitter.lacontrevoie.fr/BasEickhout/status/1671114210749607939 . I've not checked whether it's always a 5 characters error.

@edel79
Copy link

edel79 commented Jul 10, 2023

Another improvement with RSSHub (and probably Nitter, too): when a single request get more than one tweet per user, the display order has to be inverted.
Currently the tweets are displayed from newest to oldest. Expected is from oldest to newest, especially for the threads.

@dawnerd
Copy link

dawnerd commented Jul 21, 2023

looks like rsshub is dead for twitter feeds :\

@nemobis
Copy link
Contributor Author

nemobis commented Jul 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants