switching feed building to a db_query, piping it through a template