QuantumBadger / QuantumBadger/RedReader
Provide a method to add subreddits with Geofilters
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.7k
- Forks
- 527
- Avg merge
- 20d 10h
- Merged PRs (30d)
- 3
Description
if you open the reddit website in the browser by default the GLOBAL geofilter is applied. it is like opening:
reddit.com/r/popular/?geo_filter=GLOBAL
however, we can change that to other countries, like:
reddit.com/r/popular/?geo_filter=GERMAN
and then only popular posts from subreddits of the country specific area are shown.
if I try to add a subreddit in RedReader with the URL above it gives me an error: invalid subreddit name.
it doesn't handle the GEOFILTER parameter.
It would be good if RedReader could add a geofilter option, it's currently missing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by tracing how RedReader validates subreddit URLs when adding a subreddit, using the example reddit.com/r/popular/?geo_filter=GERMAN; done means a country geofilter URL is accepted and the requested regional popular content can be added without the invalid-subreddit error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100