A transaction was necessary here in the first place

Otherwise all changes will be committed in a single transaction which is not
possible an AppEngines high replication storage.
Drop the unnecessary indention

Indention is never going to be proper if used within JSP.
Switch rendering of feed to be JSP based

It's short, better readable and can be changed at runtime. It's a total win.