Added support for limiting the number of posts in the feed

Hope it could be useful :)