Feed import: Don't fail on OPML entry with no title or text

https://forums.zotero.org/discussion/96841/impossible-dimporter-ompl-rss
This commit is contained in:
Dan Stillman 2022-05-20 00:24:30 -04:00
parent b98a5e0545
commit cb2594f53f
3 changed files with 8 additions and 3 deletions

View file

@ -26,7 +26,8 @@ describe("Zotero.Feeds", function () {
"http://example.com/feed1.rss": "A title 1",
"http://example.com/feed2.rss": "A title 2",
"http://example.com/feed3.rss": "A title 3",
"http://example.com/feed4.rss": "A title 4"
"http://example.com/feed4.rss": "A title 4",
"http://example.com/feed5.rss": Zotero.getString('pane.collections.untitled')
};
yield Zotero.Feeds.importFromOPML(opmlString);
let feeds = Zotero.Feeds.getAll();