I was separated the get feed function from index.