OPML import fixes

git-svn-id: http://svn.automattic.com/wordpress/trunk@10175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2008-12-10 18:43:43 +00:00
parent 47b68e1400
commit 0eede66e7f
2 changed files with 4 additions and 0 deletions

View File

@@ -9,6 +9,8 @@
/** Load WordPress Bootstrap */
require_once('../wp-load.php');
global $opml, $map;
// columns we wish to find are: link_url, link_name, link_target, link_description
// we need to map XML attribute names to our columns
$opml_map = array('URL' => 'link_url',