First pass at support for multiple content-types. WARNING: Indices and feeds are broken.
Fix feeds and indices.