• I’m trying to import links from a Blogrolling (opml) link and it’s not working in 2.1

    “XML error: no element found at line 1” is the error I receive

Viewing 5 replies - 1 through 5 (of 5 total)
  • You didn’t pull up the file in Word or WordPad, did you? Both of those modify the format of the file and it will no longer work.

    If you have, you can try opening it up in WordPad and resaving it as a txt file with no formatting.

    Thread Starter frenchvanillacoffee

    (@frenchvanillacoffee)

    Nope, I saw it in Blogrolling and then import it. It always worked before this ….

    “If a program or website you use allows you to export your links or subscriptions as OPML you may import them here.”

    So you’re saying save it as a .txt file and try it?

    I’ve just had exactly the same error with OPML exported from Google Reader (no subsequent edits)

    Found this thread that might help… https://www.ads-software.com/support/topic/103224

    there is error in link add logic, to get it work find wp-admin/update-db.php file and find wp_insert_link function in it.

    if( trim( $link_url ) == ” )
    // return 0;
    $link_url = apply_filters(‘pre_link_url’, $link_url);
    comment out return 0.
    should work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unable to import links’ is closed to new replies.