Installing new data types in DataGrab

» Visit the DataGrab support page

DataGrab has the facility to import other kinds of data than default types that it comes bundled with (RSS, CSV and XML), simply by copying a new datatype folder to the correct place.

Each data type is contained in a folder and contains at least 1 file. For example, a twitter data type could have the following structure.

Twitter data type

Note: the datatype file has the format dt.[folder_name].php. I’ve prefixed my datatypes with ajw.

To install this datatype, simply copy the folder to your system/expressionengine/third_party/ajw_datagrab/datatypes folder:

Twitter data type

Now when you go to the DataGrab module you should have an extra option in the “Create new import” menu.

Twitter data type