Opened 18 years ago
Closed 17 years ago
#3712 closed defect (bug) (worksforme)
Blogroll Import Links fails
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.1 |
Component: | Administration | Keywords: | opml import |
Focuses: | Cc: |
Description
Importing opml file fails with this message:
Importing...
XML error: Invalid document end at line 1
Inserted 0 links into category 2. All done! Go manage those links.
Same file successfully imports into 2.0.7.
This was originally reported in the forums by KimHbel
http://wordpress.org/support/topic/103224?replies=1
Attachments (4)
Change History (16)
#2
@
18 years ago
- Resolution invalid deleted
- Status changed from closed to reopened
Slightly embarrassed as I uploaded file I was trying to make work and I did edit it. I've attached another file that was exported from Feedster and is untouched.
The file throws the error reported above in 2.1 but imports 7 links into 2.0.7.
#3
@
18 years ago
- Cc theapparatus@… added
- Priority changed from normal to high
Greets:
Please be aware that this problem also occurs on the standard WordPress Multiuser platform as well as wordpress.com.
http://en.forums.wordpress.com/topic.php?id=6982
It only occurs though when one is trying to upload the XML file. Importing links via a URL works fine.
Hope this helps,
-drmike
#4
@
18 years ago
- Keywords opml import added
- Milestone changed from 2.1.1 to 2.1.2
- Version set to 2.1
2.1.1 is out, so bumping the milestone to 2.1.2.
#5
@
18 years ago
A suggested workaround exists in this thread: http://wordpress.org/support/topic/103224?replies=18
However, he simply eschewed the use of wp_remote_fopen() for the case of file uploads entirely, suggesting that there is a problem with the file upload mechanism.
#9
follow-up:
↓ 10
@
17 years ago
- Milestone 2.6 deleted
- Resolution set to invalid
- Status changed from reopened to closed
I don't believe that WordPress includes OPML import/export features any more. I certainly can't find any references to it in the interface or code. Resolving as invalid (although I'm sure it was at one point!)
#10
in reply to:
↑ 9
@
17 years ago
- Milestone set to 2.6
- Resolution invalid deleted
- Status changed from closed to reopened
Replying to pishmishy:
I don't believe that WordPress includes OPML import/export features any more. I certainly can't find any references to it in the interface or code. Resolving as invalid (although I'm sure it was at one point!)
Yes, it does still have those.
Import: /wp-admin/link-import.php (Accessible through Manage->Links->Add new->Import link on the sidebar).
Export: Just go to /wp-links-opml.php.
The OPML file is not valid XML and cannot be parsed. See that closing outline element immediately preceding the closing body element (line #13) -- there is no matching opening outline element. Looks like you made a mistake hand-editing that OPML file.