Opened 20 years ago
Closed 18 years ago
#3712 closed defect (bug) (worksforme)
Blogroll Import Links fails
| Reported by: | MichaelH | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.1 |
| Severity: | normal | Keywords: | opml import |
| Cc: | Focuses: |
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
@
20 years ago
- Resolution invalid
- Status closed → 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
@
20 years ago
- Cc added
- Priority normal → 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
@
20 years ago
- Keywords opml import added
- Milestone 2.1.1 → 2.1.2
- Version → 2.1
2.1.1 is out, so bumping the milestone to 2.1.2.
#5
@
20 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
@
18 years ago
- Milestone 2.6
- Resolution → invalid
- Status reopened → 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
@
18 years ago
- Milestone → 2.6
- Resolution invalid
- Status closed → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.