code: def dict(self):
          
          post_dict = {
              'id': self.id,
              'link': self.link,
              'permalink': self.permalink,
              'content_type': self.content_type,
              'slug': self.slug,
              'updated': self.updated, #.strftime(conf.GOSCALE_ATOM_DATETIME_FORMAT),
              'published': self.published, #.strftime(conf.GOSCALE_ATOM_DATETIME_FORMAT),
              'title': self.title,
              'description': self.description,
              'author': self.author,
              'categories': self.categories[1:-1].split(',') if self.categories else None,
              'summary': self.summary,
              }
          if self.attributes:
              attributes = simplejson.loads(self.attributes)
              post_dict.update(attributes)
          return post_dict
docs: Returns dictionary of post fields and attributes