Top
Best
New

Posted by speckx 3 hours ago

An NSFW filter for Marginalia search(www.marginalia.nu)
43 points | 7 comments
8organicbits 37 minutes ago|
Have you seen many examples of websites labeling themselves, perhaps using rating meta tags (<meta name="rating" ...>)? Self-labeling seems valuable in some ways, but I don't think I've seen it catch on.
marginalia_nu 34 minutes ago|
Meta tags are almost universally garbage, but the presence of '18 USC 2257' (or U.S.C.) is a very strong NSFW signal.
Wingy 17 minutes ago||
Does this comment make this page NSFW on Marginalia?
marginalia_nu 1 hour ago||
This was a very meandering project, and trying to corral it into some sort of coherent narrative was a bit of an undertaking on its own. Hopefully it makes some sense.
BrunoBernardino 47 minutes ago|
Hi Viktor! Really cool write-up, thanks! Uruky is already using the `nsfw` param, but set to `0` or `1`, and I see in your example this looks like a new value option (`2`) that's "better" than `1`? How "safe" is it to implement it as the value to send when someone wants SFW results?
marginalia_nu 36 minutes ago||
0 disables all filtering

1 filters 'harmful' sites per the UT1 blacklists

2 is 1 + the new NSFW filter.

The new filter works pretty good in my assessment. It's not infallible, but it gives significantly cleaner results.

And if you do find queries it fails to sanitize, I'd love to hear about them.

BrunoBernardino 7 minutes ago||
Thanks, already implemented and tested a couple of queries and it does look good!
GenericDev 12 minutes ago|
[dead]