Added category info to the atom feed.

Code copied from the linked post in the previous commit message again.