| 1 |
<?php |
<?php |
| 2 |
// $Id: import_html_process.inc,v 1.5.4.14 2009/05/17 15:12:46 dman Exp $ |
// $Id: import_html_process.inc,v 1.5.4.15 2009/07/01 02:40:56 dman Exp $ |
| 3 |
/** |
/** |
| 4 |
* @file Actual routines for importing files. |
* @file Actual routines for importing files. |
| 5 |
* |
* |
| 662 |
// Invent new paths for the new documents if the exsl:document didn't define them |
// Invent new paths for the new documents if the exsl:document didn't define them |
| 663 |
if (isset($nodes[$node->path])) { |
if (isset($nodes[$node->path])) { |
| 664 |
// already using this path, extend a new one |
// already using this path, extend a new one |
| 665 |
$node->path .= '/'. import_html_check_name($node->label?$node->label:$node->title); |
$node->path .= '/'. import_html_check_name(!empty($node->label)?$node->label:$node->title); |
| 666 |
} |
} |
| 667 |
|
|
| 668 |
$node->title = import_html_guess_document_title($node); |
$node->title = import_html_guess_document_title($node); |