added recursive function to handle paging in RSS feeds