ninetwozero/BF3-Battlelog — pull request #87 by peter-budo (2012-06-29 15:23:26+00:00)
Title: Refactor feed

Issue #72 you can try to do something like this.

This still is not ideal solution due to the complexity of switch statement, but it may stay like this for the moment. Later we may have look at it as I believe you are trying to do one too many things which may be loosely marked as feed item related