Accepted answer

Here is how I do it:

    // Make a post node.                                                         
    $node = new Node();                                                            

    // Use the node type you need here, in this case 'post'.                                               
    $node->type = 'post';
    $node->title = 'Replace This With The Title You Want';                                                          
    node_object_prepare($node);                                                    
    $node->language = LANGUAGE_NONE;                                               
    $node->uid = 1;                                                                
    $node->status = 1;                                                             
    $node->promote = 0;                                                            
    $node->comment = 0;

    // Save your field data.                                                     
    $node->field_author[$node->language][]['value'] = getMetaAndClean($thisBlog[8]);
    $node->field_date[$node->language][]['value'] = getMetaAndClean($thisBlog[13]);
    $node->field_byline[$node->language][]['value'] = getMetaAndClean($thisBlog[12]);

    // Save submit and save the node.
    $node = node_submit($node);                                                    
    node_save($node);

Comments

Here is how I do it:

    // Make a post node.                                                         
    $node = new Node();                                                            

    // Use the node type you need here, in this case 'post'.                                               
    $node->type = 'post';
    $node->title = 'Replace This With The Title You Want';                                                          
    node_object_prepare($node);                                                    
    $node->language = LANGUAGE_NONE;                                               
    $node->uid = 1;                                                                
    $node->status = 1;                                                             
    $node->promote = 0;                                                            
    $node->comment = 0;

    // Save your field data.                                                     
    $node->field_author[$node->language][]['value'] = getMetaAndClean($thisBlog[8]);
    $node->field_date[$node->language][]['value'] = getMetaAndClean($thisBlog[13]);
    $node->field_byline[$node->language][]['value'] = getMetaAndClean($thisBlog[12]);

    // Save submit and save the node.
    $node = node_submit($node);                                                    
    node_save($node);