This commit is contained in:
Martin Rotter 2015-11-16 08:38:29 +01:00
parent 42b88b8db7
commit 34222b55b3
2 changed files with 3 additions and 2 deletions

View file

@ -21,6 +21,7 @@
Fixed:
<ul>
<li>Fixed obtaining of contents in RSS 2.0 feed entries. (bug #130)</li>
<li>Improved popup informing about changes in newly installed version.</li>
<li>Icons in notification popups are now smaller (22 x 22 pixels).</li>
<li>Encoding selection widget in feed add/edit dialog now detects encodings via case insensitive string matching.</li>

View file

@ -203,12 +203,12 @@ QList<Message> ParsingFactory::parseAsRSS20(const QString &data) {
// Deal with titles & descriptions.
QString elem_title = message_item.namedItem(QSL("title")).toElement().text().simplified();
QString elem_description = message_item.namedItem(QSL("description")).toElement().text();
QString elem_description = message_item.namedItem(QSL("encoded")).toElement().text();
QString elem_enclosure = message_item.namedItem(QSL("enclosure")).toElement().attribute(QSL("url"));
QString elem_enclosure_type = message_item.namedItem(QSL("enclosure")).toElement().attribute(QSL("type"));
if (elem_description.isEmpty()) {
elem_description = message_item.namedItem(QSL("encoded")).toElement().text();
elem_description = message_item.namedItem(QSL("description")).toElement().text();
}
// Now we obtained maximum of information for title & description.