first stage of newsblur api code