tughi / aggregator-android

News reader for Android

Home Page:https://tughi.github.io/aggregator-android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import from OPML Error

And96 opened this issue · comments

Describe the bug
Cannot import OPML file. Please improve OPML import feature. It's hard to migrate from other apps

To Reproduce
Try to import OPML.xml file attached here. No line imported into aggregator.
OPML.zip

Device (please complete the following information):

  • Aggregator version: [e.g. Preview-033]
  • Device: [e.g. Xiaomi Poco F5]
  • Android version: [e.g. Android 13]
  • It seems you only accept windows end line characters? CRLF

  • If first line is empty it dont load anything (LF char only). Inital space or endlines should be removed

If I remove first line, and I change all end line char to windows format, it's better but.... it load only 4 item, instead of 186

example here
OPML_with_windows_end_lines.zip

if there is and & inside text or link, it crash. Similar error if there are non-ascii characters

Manually fixing the file it work.
This is the cleaned file. Where I can import all
OPML_with_removed_char.zip
186/186 feeds