Ticket #3712 (closed defect: worksforme)

Opened 2 years ago

Last modified 2 months ago

Blogroll Import Links fails

Reported by: MichaelH Assigned to: 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 (1.2 kB) - added by MichaelH on 01/29/07 19:05:14.
feeds2.opml (1.2 kB) - added by MichaelH on 01/30/07 02:22:04.
export.xml (9.2 kB) - added by KimHbel on 02/02/07 10:50:19.
OPML-File, generated from Google-Reader
feeds.2.opml (4.5 kB) - added by KimHbel on 02/02/07 10:51:16.
OPML-File, generated from IE7

Change History

01/29/07 19:05:14 changed by MichaelH

  • attachment feeds.opml added.

01/29/07 23:24:43 changed by yabfog

  • 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.

01/30/07 02:21:45 changed by MichaelH

  • status changed from closed to reopened.
  • resolution 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.

01/30/07 02:22:04 changed by MichaelH

  • attachment feeds2.opml added.

02/02/07 10:50:19 changed by KimHbel

  • attachment export.xml added.

OPML-File, generated from Google-Reader

02/02/07 10:51:16 changed by KimHbel

  • attachment feeds.2.opml added.

OPML-File, generated from IE7

02/19/07 16:26:20 changed by drmike

  • cc set to theapparatus@gmail.com.
  • 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

02/21/07 15:07:30 changed by Nazgul

  • keywords set to opml import.
  • 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.

03/13/07 18:03:09 changed by Otto42

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.

03/28/07 00:25:04 changed by foolswisdom

  • priority changed from high to normal.
  • milestone changed from 2.1.3 to 2.3.

03/28/07 14:46:59 changed by drmike

  • cc changed from theapparatus@gmail.com to drmike.

09/19/07 22:08:21 changed by Nazgul

  • milestone changed from 2.3 to 2.5.

(follow-up: ↓ 10 ) 06/27/08 14:25:28 changed by pishmishy

  • status changed from reopened to closed.
  • resolution set to invalid.
  • milestone 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!)

(in reply to: ↑ 9 ) 06/27/08 15:02:52 changed by Otto42

  • status changed from closed to reopened.
  • resolution 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.

06/27/08 15:12:42 changed by pishmishy

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

06/27/08 15:16:25 changed by Otto42

  • status changed from reopened to closed.
  • resolution set to worksforme.
  • milestone 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.