Replace XML parsing in National Geographic dataengine

Authored by vitali on Jul 10 2017, 11:29 PM.

Description

Replace XML parsing in National Geographic dataengine

The current parsing mechanism to obtain the current NatGeo POTD based on
XML is broken, this patch proposes an alternative mechanism using
QRegularExpression library. For this method to continue working in the
future it is supposed that the web page will maintain a sane format,
namely that the relevant tag will not be broken among many lines, the
fields inside the tag will maintain the same relative order, and
obviously that it will not be obfuscated.

BUG: 379003

Reviewers: sebas, mart

Reviewed By: mart

Subscribers: mart, Zren, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D5729

Details

Committed
davidedmundsonJul 10 2017, 11:30 PM
Reviewer
mart
Differential Revision
D5729: #379003: Fix National Geographic POTD provider
Parents
R114:24d6a6ae26e2: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown