When using Medium as a source it is possible that the a lot of items might be spam when following a tag. To reduce the spam, we filter these items based on a word list and an calculated score. The score is calculated by the number of words which are included in the title from our word list.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/feeddeck/feeddeck/pull/79
**Author:** [@ricoberger](https://github.com/ricoberger)
**Created:** 11/26/2023
**Status:** ✅ Merged
**Merged:** 11/26/2023
**Merged by:** [@ricoberger](https://github.com/ricoberger)
**Base:** `main` ← **Head:** `medium-remove-spam`
---
### 📝 Commits (1)
- [`e631e21`](https://github.com/feeddeck/feeddeck/commit/e631e21934be1530609797d185d1483d080b1026) [medium] Remove Spam
### 📊 Changes
**1 file changed** (+35 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `supabase/functions/_shared/feed/medium.ts` (+35 -0)
</details>
### 📄 Description
When using Medium as a source it is possible that the a lot of items might be spam when following a tag. To reduce the spam, we filter these items based on a word list and an calculated score. The score is calculated by the number of words which are included in the title from our word list.
<!--
Keep PR title verbose enough and add prefix telling about what source it touches e.g "[rss] Add feature xyz" or if the
the PR is not realated to a source use "[core]", e.g. "[core] Fix xyz".
If you add a breaking change within your PR you should add ":warning:" to the title,
e.g. ":warning: [core] My breaking change"
-->
<!--
Description of what have been changed. Please also reference an issue, when available.
-->
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/feeddeck/feeddeck/pull/79
Author: @ricoberger
Created: 11/26/2023
Status: ✅ Merged
Merged: 11/26/2023
Merged by: @ricoberger
Base:
main← Head:medium-remove-spam📝 Commits (1)
e631e21[medium] Remove Spam📊 Changes
1 file changed (+35 additions, -0 deletions)
View changed files
📝
supabase/functions/_shared/feed/medium.ts(+35 -0)📄 Description
When using Medium as a source it is possible that the a lot of items might be spam when following a tag. To reduce the spam, we filter these items based on a word list and an calculated score. The score is calculated by the number of words which are included in the title from our word list.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.