fixing feed query, adding date to template