Support » Fixing WordPress » Importing OPML to Links

  • I seem to have hit a snag importing an OPML file in the link manager. I’ve attempted to import using a couple of different approaches – uploading a file and specifying an opml URL. Neither seems to do anything.
    FYI, my OPML files were exported from FeedDemon. Is there a possible file compatibility problem, or am I missing a step somewhere along the way?

Viewing 5 replies - 1 through 5 (of 5 total)
  • I too am having a problem with this, only my import is coming from BlogRoll. I follow the instructions exactly as stated and get this error statement:
    Parse error: parse error, unexpected T_ECHO in /var/www/html/ on line 58
    Inserted 0 links into category 2. All done! Go manage those links.

    OK all… this is coming from a php newb so feel free to take it with a grain of salt… but also know that once I made this change I got it to work with no problems… so dumb luck I am guessing! lol
    Anyways, I too was having probs importing my BlogRoll using the Import BlogRoll function. I kept getting the above error message. Asked the boyfriend what “echo” means and he said sometimes it is a print-type function. Did some searching on the web and saw some similar kind of relation of echo = print. So I opened the above file using wordpad, counted down to line 58, saw the word “echo” and thought “ok, this can be easily fixed if I totally screw it up”. So I bit the bullet and made the highlighted change to line 58. It appears to work as after I save the file, I then went back to BlogRoll, copied the OPML code, pasted it into the WordPress box as directed, clicked Import… and success! So give it a try, it may just work for you too. 🙂
    So this is the original line in my link-parse-opml.php file:
    or echo(sprintf(“XML error: %s at line %d”,
    And this is the line after my change:
    or print(sprintf(“XML error: %s at line %d”,
    Hope this works for you… and btw, if you can do so in layman’s terms… wanna explain to me exactly what I did and why it worked? 🙂

    No such luck for me. I even tried importing from BlogRoll after making the suggested changes and that failed as well.

    Please grab the latest nightly release from and replace the link-parse-opml.php file in your wp-admin folder.

    This must just be me. I’ve downloaded the link-parse-opml.php file from the nightly build and installed to the admin directory. Still no luck.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Importing OPML to Links’ is closed to new replies.