news icon indicating copy to clipboard operation
news copied to clipboard

OPML Import: Unsupported feed type (possibly due to RDF?)

Open glacambre opened this issue 1 year ago • 0 comments

Checklist

  • [x] I am using the latest version
  • [x] I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
  • [x] This issue contains only one bug. I will open one issue for every bug report I want to file.

Steps to reproduce the bug

Import the following OPML file:

<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.1">
  <head>
    <title>
      Feeder
    </title>
  </head>
  <body>
    <outline title="Free software jobs" text="Free software jobs" type="rss" xmlUrl="https://static.fsf.org/fsforg/rss/jobs.xml"/>
    <outline title="FSF News" text="FSF News" type="rss" xmlUrl="https://static.fsf.org/fsforg/rss/news.xml"/>
    <outline title="fossjobs.net" text="fossjobs.net" type="rss" xmlUrl="https://www.fossjobs.net/rss/all/"/>
    <outline title="L&apos;Agenda du Libre" text="L&apos;Agenda du Libre" type="rss" xmlUrl="https://www.agendadulibre.org/events.rss"/>
  </body>
</opml>

Actual behavior

News fails with "Failed to import feed $URL Reason: Unsupported feed type".

Expected behavior

News is able to import this OPML file. As far as I can tell, the failure might be caused by the use of RDF in the feeds' XML file, although I can't be certain of that. As far as I understand, this is probably valid, according to the RSS spec? You'll probably know better than me :) If RDF is the reason the import fails, could you add this information to the error message?

Logs

I couldn't find the log button.

Device info

  • Android version/Custom ROM version: Stock android 13.
  • Device model: Pixel 4A.

glacambre avatar Oct 17 '22 07:10 glacambre