From 5d5564b4d16ae80256aff6777b75e0351543ed02 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Wed, 6 Dec 2017 20:29:35 +0100 Subject: [PATCH] Fixed #166. --- resources/text/CHANGELOG | 6 ++++++ rssguard.pro | 2 +- src/services/standard/standardfeedsimportexportmodel.cpp | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/resources/text/CHANGELOG b/resources/text/CHANGELOG index 12b5f8c37..821a3b04b 100644 --- a/resources/text/CHANGELOG +++ b/resources/text/CHANGELOG @@ -1,3 +1,9 @@ +3.5.6 +————— + +Fixed: +▪ Missing obligatory attribute in OPML 2.0 files. (bug #166) + 3.5.5 ————— diff --git a/rssguard.pro b/rssguard.pro index 8400767dc..a9d3524c8 100755 --- a/rssguard.pro +++ b/rssguard.pro @@ -57,7 +57,7 @@ APP_REVERSE_NAME = "com.github.rssguard" APP_LOW_H_NAME = ".rssguard" APP_AUTHOR = "Martin Rotter" APP_COPYRIGHT = "(C) 2011-2017 $$APP_AUTHOR" -APP_VERSION = "3.5.5" +APP_VERSION = "3.5.6" APP_LONG_NAME = "$$APP_NAME $$APP_VERSION" APP_EMAIL = "rotter.martinos@gmail.com" APP_URL = "https://github.com/martinrotter/rssguard" diff --git a/src/services/standard/standardfeedsimportexportmodel.cpp b/src/services/standard/standardfeedsimportexportmodel.cpp index 69f3e8254..26d845938 100755 --- a/src/services/standard/standardfeedsimportexportmodel.cpp +++ b/src/services/standard/standardfeedsimportexportmodel.cpp @@ -85,6 +85,7 @@ bool FeedsImportExportModel::exportToOMPL20(QByteArray& result) { StandardFeed* child_feed = static_cast(child_item); QDomElement outline_feed = opml_document.createElement("outline"); + outline_feed.setAttribute(QSL("type"), QSL("rss")); outline_feed.setAttribute(QSL("text"), child_feed->title()); outline_feed.setAttribute(QSL("xmlUrl"), child_feed->url()); outline_feed.setAttribute(QSL("description"), child_feed->description());