From 8fb9aceee28f33592104ae7305ff1d2775889813 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 2 Dec 2005 09:24:59 +0100 Subject: further updates to xml import ui --- xml-import.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'xml-import.php') 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."; } -- cgit v1.2.3