Creating routes to feeds

Hi all,

I want to create rss feeds per user for his posts and events.
Something like\2\posts\feed where 2 is the id of the
user, posts is the model and feed indictaing that the requested format
is rss.

cansomeone give me a hint on how to do this in the routes?