     full: url: crop(imageSrc, { width: 1200, height: 706 } )
     thumb: url: crop(imageSrc, { width: 900, height: 530 } )
   html = if article.send_body then getTextSections(article) else ''
-  console.log html
   sailthru.apiPost 'content',
     url: "#{FORCE_URL}/article/#{_.last(article.slugs)}"
     date: article.published_at

    article.slugs = (article.slugs or []).concat slug
    cb(null, article)

generateKeywords = (article, accessToken, cb) ->
  keywords = []
  callbacks = []
  if article.primary_featured_artist_ids
    for artistId in article.primary_featured_artist_ids
      do (artistId) ->

onPublish = (article, author, accessToken, cb) ->
  if not article.published_at
    article.published_at = new Date
  generateSlugs article, author, cb

generateSlugs = (article, author, cb) ->
  slug = _s.slugify author.name + ' ' + article.thumbnail_title
