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

Temporary Fix Xiaohongshu for #17: Resolves Duplicate Items in Feed #21

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

slikie
Copy link
Contributor

@slikie slikie commented Sep 19, 2024

This PR addresses the issue mentioned in #17, "RSS feed only showing the pinned post without updates". After some investigation, noteCard.noteId is not available due to changes on the site. As a result, the links for all note items in the feed were identical, causing RSS readers to treat them as duplicates and only display a single one of the notes.

This PR introduces a guid field using noteCard.displayTitle as a unique identifier for each note. It ensures that RSS readers can distinguish between the different notes, avoiding duplicate entries. User can then be alerted the update of the notes and check them from the user page.

Future Considerations:

  • A more permanent fix will require addressing adapting to the site's structural changes, xsecToken expiration
  • For improved compatibility, we could consider using SHA1 or Base64 encoding of the title for the guid field instead of the raw title itself.

This change helps mitigate the issue for now, ensuring the feed remains functional for RSS users.

@yllhwa yllhwa merged commit bc4b6cf into yllhwa:main Sep 19, 2024
Vinfall pushed a commit to Vinfall/RSSWorker that referenced this pull request Sep 20, 2024
TdlifePeng added a commit to TdlifePeng/RSSWorker that referenced this pull request Oct 14, 2024
This reverts commit b40dc15.

Revert "try fixup with guid field (yllhwa#21)"

This reverts commit bc4b6cf.

Revert "fix: telegram encoding err when slice long title"

This reverts commit 4748f6a.

Revert "ci: bump actions/checkout to v4 (yllhwa#19)"

This reverts commit 60c1d28.

Revert "fix yllhwa#16: weibo error"

This reverts commit ef7af11.

Revert "改进 bilibili 的稳定性"

This reverts commit ff96d76.

Revert "添加 bilibili 视频支持"

This reverts commit fd4ae13.
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

Successfully merging this pull request may close these issues.

2 participants