Community Documentation

Set up a common feed importer for all comments

Last updated January 11, 2012. Created by rsbecker on January 11, 2012.
Log in to edit this page.

  1. Go to Site Building>Feed Importers>List.
  2. Clone the Mailhandler comments importer
  3. Fill in the Name field, i.e. Listmaster. If your name includes spaces and/or upper-case characters click the Edit link and give the feed importer a machine-readable name.
  4. Follow steps 4 to 12 from the topic on creating a group mailbox.
  5. Set Default commands appropriately. You may only need to set status: 0/1. Be careful here. For some reason the numbers are reversed for comments (status: 0 = published, status: 1 = requires approval).
  6. Click Save.
  7. Under the Processor click the Settings link.
  8. Follow steps 17 to 21 under the topic about creating a group feed importer.
  9. In the Input format dropdown select the input format for processing comments created from incoming emails.
  10. Next, under Processer, select Mapping.
  11. By default some fields in the email (Source) will be mapped to node fields (Target), i.e., Parent NID -> Node ID, Parent CID -> Parent ID, Body -> Body, Subject -> Title, User ID -> User ID. If you allow file attachments, map Attachments -> FileField.

Page status

Needs copy/style review

Log in to edit this page

About this page

Drupal version
Drupal 6.x
Audience
Site administrators
Level
Intermediate

Site Building Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.