Generate valid XML/OPML.

This commit is contained in:
Martin Rotter 2016-06-22 10:32:32 +02:00
parent 792ea2650d
commit fbf60493f8
3 changed files with 28 additions and 26 deletions

File diff suppressed because one or more lines are too long

View File

@ -20,6 +20,7 @@ Removed:
Fixed:
▪ Removed "Restart" functionality, it was buggy and was causing a lot of internal problems, primarily with storing settings.
▪ OPML exporter now generates valid XML with all xmlns correctly filled.
3.2.4
—————

View File

@ -52,6 +52,7 @@ bool FeedsImportExportModel::exportToOMPL20(QByteArray &result) {
// Added OPML 2.0 metadata.
opml_document.appendChild(opml_document.createElement(QSL("opml")));
opml_document.documentElement().setAttribute(QSL("version"), QSL("version"));
opml_document.documentElement().setAttribute("xmlns:rssguard", STRFY(APP_URL));
QDomElement elem_opml_head = opml_document.createElement(QSL("head"));