You are here

disqus_comment_import.yml in Disqus 8

migrations/disqus_comment_import.yml

File

migrations/disqus_comment_import.yml
View source
  1. id: disqus_comment_import
  2. label : Import Disqus comments
  3. source:
  4. plugin: disqus_source
  5. constants:
  6. field_name: disqus
  7. comment_type: comment_no_subject
  8. comment_body/format: filtered_html
  9. thread: 0
  10. process:
  11. cid: id
  12. pid: pid
  13. entity_id:
  14. plugin: disqus_comment_entity_id
  15. source: identifier
  16. entity_type:
  17. plugin: disqus_comment_entity_type
  18. source: identifier
  19. field_name: constants/field_name
  20. comment_type: constants/comment_no_subject
  21. uid: uid
  22. name: name
  23. mail: email
  24. homepage: url
  25. hostname: ipAddress
  26. created:
  27. -
  28. plugin: callback
  29. callable: strtotime
  30. source: createdAt
  31. changed:
  32. -
  33. plugin: callback
  34. callable: strtotime
  35. source: createdAt
  36. status: isApproved
  37. thread: constants/thread
  38. comment_body/value: comment
  39. comment_body/format: constants/comment_body/format
  40. destination:
  41. plugin: entity:comment