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

Fixed post duplication issue when syndicating back to source site. #130

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

chetansatasiya
Copy link

Fixes #127

@philipjohn
Copy link
Contributor

Thanks for this @chetansatasiya ! Can I ask you to provide an overview of what the code here does please?

@philipjohn
Copy link
Contributor

Looking over this code again @chetansatasiya I'm thinking that the using an API endpoint might be more processing than is really necessary.

Instead, I'm wondering about having each post contain a piece of meta with an array of sites it has passed through. This meta would get passed on as the post is syndicated through multiple sites, with each site adding itself to the array.

If at any point a site finds itself in that array, it would skip syndicating that post to avoid the duplicate.

@GaryJones GaryJones changed the base branch from master to develop February 11, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants