Skip to content
Commit 8a852291 authored by Xuetian Weng's avatar Xuetian Weng
Browse files

Remove Webkit usage in potd data engine.

Summary:
For natgeoprovider, since the page it can be accepted by QXmlStreamReader
to get required content, we simply parse it as XML though HTML is NOT
necessarily valid XML.

For noaaprovider, QXmlStreamReader will hit an error in the middle of parsing
so we use regular expression to extract the url.

Test Plan: Manually test with plasmashell

Reviewers: mart, hein, broulik

Reviewed By: broulik

Subscribers: #plasma, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D3372
parent e1c99d9d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment