Waldo Jaquith
Member
Posted 6 years ago #
Blogroll -> Import Links -> Import OPML File reports that it has successfully imported all entries in an OPML file...but it doesn't. No new entries are imported.
Detailed steps:
- Installed 2.1.3 and set up a fresh WordPress install
- Erased pre-installed blogroll entries
- Went to the "Import Links" function
- Specified http://www.cvilleblogs.com/opml.xml as URL
- Pressed "Import OPML File"
- Observed that all 219 links had successfully been imported, with each individually named as "inserted" by WordPress
- Followed the "go manage those links" link
- Observed on "Blogroll Management" page that no links were listed
- Checked the wp_links table in the database to verify that the table is empty
I see no open tickets that pertain to this. Is it a bug, or is it possible that I'm doing something wrong?
Waldo Jaquith
Member
Posted 6 years ago #
For the record, after applying this patch and increasing MAX_FILE_SIZE in the form field to handle the size of my OPML file (32k), uploading the file, as opposed to specifying a remote URL, had precisely the same results.
Waldo Jaquith
Member
Posted 6 years ago #
I take the 0 responses to indicate that I should report this as a bug.
Waldo Jaquith
Member
Posted 6 years ago #
For the record, the problem turns out to be that WordPress doesn't appear to support the xmlUrl OPML tag, only the htmlUrl tag. So WordPress happily went through all 216 entries in the OPML file, reported that all of them look just fine, but didn't once complain that, without an htmlUrl tag, there was nothing to import. I went through and changed all of my xmlUrl tags to htmlUrl tags, and now everything has imported nicely.
brentwic
Member
Posted 5 years ago #
Seeing this is an ongoing issue can you show what changes you made by chance to solve this...
duffysrant
Member
Posted 5 years ago #
Waldo Jaquith -
Thanks for the pointer. That was the cause of my OPML file not getting inported.
How I fixed it: