Summary: | missing xml tag in the opml generated file | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | Carlo Perassi <carlo> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.0-beta8 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Carlo Perassi
2005-01-03 12:31:00 UTC
I have a fix for <?xml ... in my CVS. Once the HEAD is unfrozen I'll commit. And iirc, you can of course import opml from anywhere KIO can reach, including the net. CVS commit by karchebny: * Add <?xml pi to feeds opml according to OPML spec at opml.org/spec BUG: 96211 M +3 -0 feedlist.cpp 1.7 --- kdepim/akregator/src/feedlist.cpp #1.6:1.7 @@ -162,4 +162,7 @@ QDomDocument FeedList::toOPML() const { QDomDocument doc; + QDomProcessingInstruction pi = doc.createProcessingInstruction( "xml", "version=\"1.0\" encoding=\"UTF-8\"" ); + doc.appendChild( pi ); + QDomElement root = doc.createElement( "opml" ); root.setAttribute( "version", "1.0" ); |