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

Ignore Medium's comments #4

Merged
merged 8 commits into from
Jul 27, 2020

Conversation

khaosdoctor
Copy link
Contributor

Medium treats comments as blog posts. This way all comments appear on the feed, but they don't have categories as normal articles do:

image

Adding a condition to check if the siteUrl contains the medium.com/feed keywords, if so, checks if the item contains at least one category. If it does, then continues, if not return empty.

@khaosdoctor
Copy link
Contributor Author

Added some better filtering instead of doing it in the map

@khaosdoctor khaosdoctor reopened this Jul 22, 2020
@gautamkrishnar gautamkrishnar changed the base branch from master to develop July 27, 2020 13:53
@gautamkrishnar
Copy link
Owner

@khaosdoctor thanks a lot for the fix

@gautamkrishnar gautamkrishnar merged commit 817f010 into gautamkrishnar:develop Jul 27, 2020
@khaosdoctor khaosdoctor deleted the patch-1 branch July 27, 2020 15:03
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