def getContentFilepath(date, slug):
  '''Creates a content file path which is located in Config.POST_DIR.'''
  filename = ("%s_%s.xml")%(date.strftime('%Y%m%d'), slug)
  filename = os.path.join(Config.POST_DIR, filename)
  return getFilepath(filename)
dataset/ETHPy150Open DeanCutlet/filestack/util.py/getContentFilepath/original