diff --git a/src/parser.js b/src/parser.js index e1dafa9..ffca48f 100644 --- a/src/parser.js +++ b/src/parser.js @@ -110,6 +110,10 @@ function getPostCoverImageId(postData) { return id; } +function getAuthor(post) { + return post.creator[0] +} + function collectAttachedImages(channelData) { const images = getItemsOfType(channelData, 'attachment') // filter to certain image file types