I really want the functionality to import CCK nodes from a CSV file. I just discovered Drupal several months ago so my only experience is with Drupal 6.x. I'd prefer to use Drupal 6 since that's what I'm currently comfortable with.
Would I be better off waiting for this functionality for Drupal 6? Or should I build my project in 5?
If this feature only a few weeks down the road for 6 I can wait for it. If it's more than a few months away I'll probably just go back to 5.

Comments

dchaffin’s picture

Priority: Minor » Normal

Is there any update on this? I used it almost successfully in 6.x and it imported everything wonderfully except my custom fields. It used the proper content type and everything and seemed to parse the text file fine, it just leaves out the custom fields. Is there any timeline for this?

Robrecht Jacques’s picture

The core CCK fields (Text, Number, Userreference, ...) will be added today and -rc4 will be released this weekend with those included (and maybe a few others).

cybershan’s picture

this is the coolest new to see the rc4 released.

tassoman’s picture

Will be there «CCK node reference» too? I would reference nodes not by nid, but by title.

Robrecht Jacques’s picture

Yes: Text, Number, User Reference, Node Reference, Optionwidgets will be included. Probably also Date, Link, Email and some other easy ones.

Will not be included: ImageField and FileField.

tassoman’s picture

My first need is to update Ubercart's uc_product.inc from version 5.x to 6.x in few hours. .. .. Wich main differences we have to expect from version 5.x to 6.x?

cybershan’s picture

Can't wait to see the rc4 release.

hughdurkin’s picture

Any idea when rc4 might be released with the Drupal 6 / CCK support? I'm on the edge of my seat for this one, it'll solve so many issues (I have to import 250k nodes to migrate a site to Drupal!). Robrecht, great work so far :-)

koenvi’s picture

Hi, this module is great! I'm also waiting on the RC 4... If I can help out with debugging the code or anything, please let me know!

tlangston’s picture

Agree with koenvi and others - can't wait for rc4 - thanks for this module!

okmi’s picture

we have been waiting for cck support as well! thank you so much for this module... without it we would be in quite a bind :)

petey318’s picture

niklp’s picture

Status: Active » Closed (duplicate)

This is a duplicate of the post indicated above, please let this one die.

indiapoly’s picture

Title: When to expect CCK imports for 6.x? » supported/content.inc for supporting CCk import just a start..When to expect CCK imports for 6.x?

Hi,

I searched on drupal for CCK node_importing support.. but didnt got it... So just pasted my code... from drupal 5 .. few changes


function content_node_import_fields($type) 
{      

  $types = (array) content_types();
  $fields = array();
  if (($node_type = node_import_type_is_node($type)) !== FALSE) 
  {
      $type=$node_type;
  }                    
  if (isset($types[$type])) 
  {
    $content_type = $types[$type];
    foreach ($content_type['fields'] as $field)
     {
      // Create a potential input field for each field column by creating a dummy name for each column.
      $db_info = content_database_info($field);
      foreach ($db_info['columns'] as $column => $info) 
      {
          $fields[$field['field_name'] .'_'. $column] = array
          (
              'title' => t($field['widget']['label'] .' '. $column .' ('. $field['field_name'] .')'),
          );
      }
    }
  }
  return $fields;
}

:-)

http://indiapoly.com/

niklp’s picture

Title: supported/content.inc for supporting CCk import just a start..When to expect CCK imports for 6.x? » (duplicate re) CCK imports for 6.x?

Exactly what part of post #13 was ambiguous?!

DO NOT USE THIS THREAD. IT IS A DUPLICATE. GO TO THE OTHER THREAD PLEASE.