Changed processContent function to switch among different feeds formats (rather than if's) and added code to bring in a JSON feed