Limit rss feed length with query param

I ran across an issue where my feed got to be too big for feedburner, so I added a query param to be able to limit the number of posts.