You are here

README.txt in Content Import 8.3

Same filename and directory in other branches
  1. 8.9 README.txt
  2. 8 README.txt
  3. 8.4 README.txt
SUMMARY - Content Import
========================
To import content for content type from CSV file

REQUIREMENTS
------------

This module requires the following:
A CSV file for content type to import.
The .csv file can have two or more columns,
eg:- title, machine_name1, machine_name2,machine_name3...
The first row should be machine name for the content type
and the following rows will be taken as data.
Refer the example given in the module folder CSV_article.csv file

INSTALLATION
-------------
Install this module as usual. Please see
http://drupal.org/documentation/install/modules-themes/modules-8

CONFIGURATION
-------------

After successfully installing the module contentimport, 
you can import data for the selected content type via 
file import.

Install the module contentimport.

Go to Configuration and select Content Import from 
Content Authoring.
 
It will redirect you to Content Import Form, with two 
fields: Content Type and Import file.

Select the Content Type, this will have all the content types
available in the application

Before choosing csv file, check weather the first row contains 
all the machine names from the content type

The file should be CSV file.

Please give write permission for your sites/default/files/ folder 
to write the log file.

If the content type having image fields, upload all the images 
in public://<content_type>/images/ folder before importing 
the CSV file(IMCE module will be helpful for this)

Put the image name in the respective image column.

Mandatory Columns is CSV:
=========================

title - Title of the node
langcode - By default it should be 'en' for english and 
		you can define the langcode created by you.

Field Mapping:
=============

For Image field - upload all the images 
	in public://<content_type>/images/ folder before importing 
	the CSV file(IMCE module will be helpful for this).

For Entity Reference field(Taxonomy) - put the data as Vocabulary: term1, term2
	If the Vocabulary or Term is not exists it will create automatically.
	Eg: fruits:apple:orange

For Entity Reference field(Users) - put the user's email address 
	comma separated 
	If the User is not exists it will create automatically.
	Eg: user1@d8.com,user2@d8.com

For Entity Reference field(Content) - put the title of the node 
	colon separated 
	Eg: title1:title2:title3	

For Boolean field - Put On/on/Yes/yes to check the field and Off/No to uncheck the 
	field.

For Date field - Put the data in m/d/Y h:m:i format or if you want the date only
	please put the data in m/d/y format.

For Timestamp field - Put the timestamp, the system will convert and store 
	the date.

Check the attached CSV file for Sample.

Click on Import which redirects you to admin/content

File

README.txt
View source
  1. SUMMARY - Content Import
  2. ========================
  3. To import content for content type from CSV file
  4. REQUIREMENTS
  5. ------------
  6. This module requires the following:
  7. A CSV file for content type to import.
  8. The .csv file can have two or more columns,
  9. eg:- title, machine_name1, machine_name2,machine_name3...
  10. The first row should be machine name for the content type
  11. and the following rows will be taken as data.
  12. Refer the example given in the module folder CSV_article.csv file
  13. INSTALLATION
  14. -------------
  15. Install this module as usual. Please see
  16. http://drupal.org/documentation/install/modules-themes/modules-8
  17. CONFIGURATION
  18. -------------
  19. After successfully installing the module contentimport,
  20. you can import data for the selected content type via
  21. file import.
  22. Install the module contentimport.
  23. Go to Configuration and select Content Import from
  24. Content Authoring.
  25. It will redirect you to Content Import Form, with two
  26. fields: Content Type and Import file.
  27. Select the Content Type, this will have all the content types
  28. available in the application
  29. Before choosing csv file, check weather the first row contains
  30. all the machine names from the content type
  31. The file should be CSV file.
  32. Please give write permission for your sites/default/files/ folder
  33. to write the log file.
  34. If the content type having image fields, upload all the images
  35. in public:///images/ folder before importing
  36. the CSV file(IMCE module will be helpful for this)
  37. Put the image name in the respective image column.
  38. Mandatory Columns is CSV:
  39. =========================
  40. title - Title of the node
  41. langcode - By default it should be 'en' for english and
  42. you can define the langcode created by you.
  43. Field Mapping:
  44. =============
  45. For Image field - upload all the images
  46. in public:///images/ folder before importing
  47. the CSV file(IMCE module will be helpful for this).
  48. For Entity Reference field(Taxonomy) - put the data as Vocabulary: term1, term2
  49. If the Vocabulary or Term is not exists it will create automatically.
  50. Eg: fruits:apple:orange
  51. For Entity Reference field(Users) - put the user's email address
  52. comma separated
  53. If the User is not exists it will create automatically.
  54. Eg: user1@d8.com,user2@d8.com
  55. For Entity Reference field(Content) - put the title of the node
  56. colon separated
  57. Eg: title1:title2:title3
  58. For Boolean field - Put On/on/Yes/yes to check the field and Off/No to uncheck the
  59. field.
  60. For Date field - Put the data in m/d/Y h:m:i format or if you want the date only
  61. please put the data in m/d/y format.
  62. For Timestamp field - Put the timestamp, the system will convert and store
  63. the date.
  64. Check the attached CSV file for Sample.
  65. Click on Import which redirects you to admin/content