Ticket #3712 (closed defect (bug): worksforme)

Opened 5 years ago

Last modified 4 years ago

Blogroll Import Links fails

Reported by: MichaelH Owned by: anonymous
Priority: normal Milestone:
Component: Administration Version: 2.1
Severity: normal Keywords: opml import
Cc: drmike

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

feeds.opml Download (1.2 KB) - added by MichaelH 5 years ago.
feeds2.opml Download (1.2 KB) - added by MichaelH 5 years ago.
export.xml Download (9.2 KB) - added by KimHbel 5 years ago.
OPML-File, generated from Google-Reader
feeds.2.opml Download (4.5 KB) - added by KimHbel 5 years ago.
OPML-File, generated from IE7

Change History

  • Status changed from new to closed
  • Resolution set to invalid

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.

  • Status changed from closed to reopened
  • Resolution invalid deleted

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.

KimHbel5 years ago

OPML-File, generated from Google-Reader

KimHbel5 years ago

OPML-File, generated from IE7

  • 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

  • Keywords opml import added
  • Version set to 2.1
  • Milestone changed from 2.1.1 to 2.1.2

2.1.1 is out, so bumping the milestone to 2.1.2.

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.

  • Priority changed from high to normal
  • Milestone changed from 2.1.3 to 2.3
  • Cc drmike added; theapparatus@… removed
  • Milestone changed from 2.3 to 2.5

comment:9 follow-up: ↓ 10   pishmishy4 years ago

  • Status changed from reopened to closed
  • Resolution set to invalid
  • Milestone 2.6 deleted

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!)

comment:10 in reply to: ↑ 9   Otto424 years ago

  • Status changed from closed to reopened
  • Resolution invalid deleted
  • Milestone set to 2.6

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.

Thanks :-) Both feeds imported fine here - I'm presuming that this has been fixed sometime between 2.1 and now. worksforme?

  • Status changed from reopened to closed
  • Resolution set to worksforme
  • Milestone 2.6 deleted

Yeah, I'm going to go with worksforme. The problem had to do with the bit that receives the uploaded files, and I think that was fixed elsewhere for some other reason.

Note: See TracTickets for help on using tickets.