Importing OPML to Links (6 posts)

  1. kbiglione
    Posted 12 years ago #

    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?

  2. Anonymous
    Posted 12 years ago #

    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/html.justme.dnsalias.org/wp-admin/link-parse-opml.php on line 58
    Inserted 0 links into category 2. All done! Go manage those links.

  3. JustMe
    Posted 12 years ago #

    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? :)

  4. kbiglione
    Posted 12 years ago #

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

  5. Laughinglizard
    Posted 12 years ago #

    Please grab the latest nightly release from http://www.wordpress.org/nightly/ and replace the link-parse-opml.php file in your wp-admin folder.

  6. Anonymous
    Posted 12 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.