syndication icon indicating copy to clipboard operation
syndication copied to clipboard

Fixed post duplication issue when syndicating back to source site.

Open chetansatasiya opened this issue 8 years ago • 2 comments

Fixes #127

chetansatasiya avatar May 26 '17 14:05 chetansatasiya

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

philipjohn avatar Jun 17 '17 15:06 philipjohn

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.

philipjohn avatar Jun 27 '17 10:06 philipjohn