Use the content of posts (and comments?) to search for predetermined category keywords. Regex can be used to achieve this in a simple manner.