Skip to content

Commit

Permalink
feat: Ability to import conversation type in tumblr
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Bryxí authored and mansona committed Apr 27, 2021
1 parent 847549d commit 1765f0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/importers/tumblr.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ module.exports = async function tumblrImport(fileContents) {
title = post["quote-text"][0];
content = post["quote-text"][0];
break;
case "conversation":
title = post["conversation-title"][0];
content = post["conversation-text"][0];
}

if (!allAuthors.find(existingAuthor => existingAuthor.id === author)) {
Expand Down

0 comments on commit 1765f0f

Please sign in to comment.