Open bobberb opened 7 years ago
Hi! Thank you for the report!
I grabbed Gwern's OPML file from https://raw.githubusercontent.com/gwern/gwern.net/master/docs/personal/rss-subscriptions.opml , and it imported just fine. Can you share yours?
Alternatively you can narrow it down by deleting parts of the file and keeping the one that triggers the issue, then repeating until you boiled it down to a few lines, then share that (maybe censoring the URLs).
Oh, and of course you can try Gwern's file with your build to make sure this isn't due to compiler/libraries/other environment-specific things.
Gwern's OPML does work. I'll see if I can narrow down mine and post it shortly.
Found the error:
Whereas gwern has a working <outline>
for folders, tt-rss is exporting them as
<outline text="Android">
I was able to fix this by reformatting to
<outline title="Android" text="Android" description="Android" type="folder">
Cool! Here's what I'm going to do over the next few days regarding this:
OPML spec allows what TT-RSS does:
An
is an XML element containing at least one required attribute, text, and zero or more additional attributes.
Need to take a look at our OPML-importing code and see why it requires any other attributes at all. I don't plan to look into this immediately; this issue is free for the taking.
Newsbeuter version:
newsbeuter 2.10-d1c1 System: Linux 4.11.5-1-ARCH (x86_64) Compiler: g++ 7.1.1 20170528 ncurses: ncurses 6.0.20170527 (compiled with 6.0) libcurl: libcurl/7.54.1 OpenSSL/1.1.0f zlib/1.2.11 libpsl/0.17.0 (+libicu/59.1) libssh2/1.8.0 nghttp2/1.23.1 (compiled with 7.54.1) SQLite: 3.19.3 (compiled with 3.19.3) libxml2: compiled with 2.9.4
Steps to reproduce the issue:
gdb debug log: