For the removals, it's just looking at /r/undelete
For restoring the listing filtering, I have it look at all the subreddits in the top 100 of /r/all and the top 100 subs by activity. I fetch those subs in groups of 10 like /r/sub1+sub2.../hot
I build hot scores for every post retried from /r/all as well as those from the popular subreddits, and insert those from the popular subreddits into proper positions on /r/all based on their hot score. If the post wasn't present in the /r/all results but should be due to hotness I mark it as filtered from /r/all
view the rest of the comments →
johnnybgoode ago
Can you explain a little bit about how your client works and what criteria it uses to determine what's being censored from /r/all?
go1dfish ago
The code for the /r/all restoration is here: https://github.com/snew/snew/blob/master/app/routes/index.js#L14
For the removals, it's just looking at /r/undelete
For restoring the listing filtering, I have it look at all the subreddits in the top 100 of /r/all and the top 100 subs by activity. I fetch those subs in groups of 10 like /r/sub1+sub2.../hot
I build hot scores for every post retried from /r/all as well as those from the popular subreddits, and insert those from the popular subreddits into proper positions on /r/all based on their hot score. If the post wasn't present in the /r/all results but should be due to hotness I mark it as filtered from /r/all