$ignore[] = 'crawl_pagecount';
             $ignore[] = 'crawl_pagecount_success';
             $ignore[] = 'running_crawl_item_processed';
             $ignore[] = 'running_crawl_item_to_process';
             $c = $item->children();
             foreach ($item->children() as $name => $data) {
                 if (!in_array($name, $ignore)) {
                     $d = (string) $data;
                     if ($name == 'params') {
                         $stmt->addColumnValue($name, base64_decode($d));
                     } else {
                         $stmt->addColumnValue($name, $d);
                     }
                 }
             }
             if ($mode == 'insert' && !$stmt->checkNotNull($mg_source_not_null)) {
                 $arr = array('status' => 'error');
                 //echo json_encode($arr);
                 //exit();
             } else {
                 $rs = $stmt->execute();
             }
         }
     }
     $arr = array('status' => 'success');
     echo json_encode($arr);
 } else {
     $arr = array('status' => 'error');
     $arr = array('message' => 'parsing');
     echo json_encode($arr);
 }