Skip to content

Plugins and content filtering, extensibility, etc.

ken restivo edited this page Oct 30, 2015 · 2 revisions

We also have "plugin hooks" in critical places which let you look at fields such as language, from every post (before we send it to your web browser) and choose some action as a result. You can decide the action. One such action might be to translate the post. Another might be to discard the post. Anything you could imagine. You could have it beep at you or shrink the text down to microscopic size or count how many German posts you get in a day. Anything.

The hard work has already been done. It could be as simple as 15-20 lines of cut and paste code to drop the post. It could require learning about a few different open source translation libraries and their APIs if you wanted to translate it. There's really no rocket science or complicated logic involved.

(Source: Mike)