D5729: #379003: Fix National Geographic POTD provider
Juri Vitali
noreply at phabricator.kde.org
Sat May 6 13:14:27 UTC 2017
vitali created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
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.
REPOSITORY
R114 Plasma Addons
REVISION DETAIL
https://phabricator.kde.org/D5729
AFFECTED FILES
dataengines/potd/natgeoprovider.cpp
To: vitali, sebas
Cc: plasma-devel, spstarr, progwolff, Zren, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170506/41d71a32/attachment.html>
More information about the Plasma-devel
mailing list