Cuted some stuff from getposts to work on AppHarbor