diff --git a/xml-import.php b/xml-import.php index 4b1cd1bc1..d5081d64f 100644 --- a/xml-import.php +++ b/xml-import.php @@ -34,7 +34,7 @@ function import_article($link, $data) { - print "Processing article ".$data["title"]. + print "

Article: ".$data["title"]. " (".$data["feed_title"].")
"; $owner_uid = $_SESSION["uid"]; @@ -55,7 +55,7 @@ if (db_num_rows($result) == 0) { - print "Not found, adding base entry...
"; + print "Adding base entry...
"; $entry_title = db_escape_string($data["title"]); $entry_guid = db_escape_string($data["guid"]); @@ -138,9 +138,9 @@

- -
+ +

Import XMLDB

@@ -178,8 +178,10 @@ $article_data[$child->tagname()] = $child->get_content(); } - import_article($link, $article_data); + $is_imported = import_article($link, $article_data); } + + print "

Return to preferences"; } else { print "Error: could not parse document."; }