             post_date:    article.created_on
             post_content: article.content
             post_title:   article.title
-            post_author:  1 #@authors[article.author]
+            post_author:  @authors[article.author_id]
             post_excerpt: article.description
             post_thumbnail: featuredImage.id
             post_status: if article.draft then 'draft' else 'publish'
             post_name: article.slug
             terms_names:
               category: [@categories[article.category]]
-              post_tag: ['EWAO Archive']
+              post_tag: ['ewao-archive']
 
           log "writing article: #{article.title}"
           # log data
 
-          @wordpress.newPost data, (error, id) ->
+          @wordpress.newPost data, (error, id) =>
             if error
               console.error red error, "\narticle: ", article.title
             else
-              debug "created article: #{id}"
+              debug "created article: #{id}, #{article.title}, #{@config.wpUrl}/?p=#{id}"
 
   writeMedia: ({url, data, type, filename, origUrl, md5sum}) ->
     @whenReady.then =>

          resolve
            origUrl: origUrl
            url: @media[md5sum].link
        else
          file =
            name: filename

          log "writing media file: #{file.name}, #{file.type}"
          @wordpress.uploadFile file, (error, result) ->
            if error
              console.error red error, "\nfilename: ", file.name
              reject error
            else
              result.origUrl = origUrl
