Upload an OPML File: Unsupported file type

by dawdpk, Wednesday, June 12, 2013, 21:39 (4291 days ago)

Hi All,

today I wanted to try out selfoss. The installation went fine without any problems, but at the moment I wanted to import my .opml-File I had to stop.

The following error was shown:
There was a problem importing your OPML file:
Unsupported file type: application/octet-stream

The file itself is not from Google Reader, but from a selfhosted Fever instance.

Could somebody please explain the problem behind it and may provide a solution to this problem?

Cheers
dawdpk

Upload an OPML File: Unsupported file type

by dawdpk, Wednesday, June 12, 2013, 21:46 (4291 days ago) @ dawdpk

Actually solved the problem by changing the file-extension from .opml to .xml.

The controller is fine, but the config of my Apache httpd is not sufficient to find the Mime type of the .opml-File.

Maybe the check in https://github.com/SSilence/selfoss/blob/master/controllers/Opml.php#L61 could be optimized or elsewise a more clear information can be provided.

RSS Feed of thread
powered by my little forum