MrChuckomo / poddycast

Podcast app made with Electron, lots of ❤️ and ☕️
GNU General Public License v3.0
179 stars 29 forks source link

Lose folder infomation after imported #151

Open Jiang10086 opened 2 months ago

Jiang10086 commented 2 months ago

Describe the bug The OPML contained a folder, but import to poddycast lost it.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Edit'
  2. Click on 'Import OPML'
  3. Select the OPML file.
  4. See error

Expected behavior Folder remained.

Screenshots image As upper image, the OPML have a folder named "test". (Right is FeedBro, imported the same OPML file)

Desktop (please complete the following information):

Additional context This is what is in the OPML:

<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Feed Subscriptions</title>
</head>
<body>
      <outline text="字谈字畅" title="字谈字畅" type="rss" 
            xmlUrl="https://www.thetype.com/typechat/feed/" htmlUrl="https://www.thetype.com/typechat/"/>
  <outline title="Test" text="Test">
      <outline text="文化有限" title="文化有限" type="rss" 
            xmlUrl="https://s1.proxy.wavpub.com/weknownothing.xml"/>
  </outline>
</body>
</opml>
MrChuckomo commented 2 months ago

@Jiang10086 thank you for opening this request. I'll check the matter as soon as possible.

It's correct the current version of the app supports a very flat OPML structure. The support for folders isn't covered at the moment. I'll also flag that issue as a new feature for an upcoming release.