Hi,
Did you try to get access to ‘content:encode’ like ‘content’ or ‘encoded’?
I’ve the same problem when use QXmlInputSource and QDom* in C++ code. When I receive parsed datas and try to use it I receive ‘content’ field not ‘content:encode’. I don’t is this bug or this is right. Try to use content field.
The problem when you RSS has a to field like in this rss http://blog.qt.digia.com/feed/ :
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">
<channel>
<title>Qt Blog</title>
<atom:link href="http://blog.qt.digia.com/feed/" rel="self" type="application/rss+xml"/>
<link>http://blog.qt.digia.com</link>
<description>For Developers by Developers</description>
<lastBuildDate>Fri, 17 Oct 2014 09:21:55 +0000</lastBuildDate>
<language>en-US</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>http://wordpress.org/?v=3.6.1</generator>
<item>
<title>Qt 5.4 Beta Available</title>
<link>
http://blog.qt.digia.com/blog/2014/10/17/qt-5-4-beta-available/?utm_source=rss&utm_medium=rss&utm_campaign=qt-5-4-beta-available
</link>
<comments>
http://blog.qt.digia.com/blog/2014/10/17/qt-5-4-beta-available/#comments
</comments>
<pubDate>Fri, 17 Oct 2014 09:00:21 +0000</pubDate>
<dc:creator>Tuukka Turunen</dc:creator>
<category>
<![CDATA[ Licensing ]]>
</category>
<category>
<![CDATA[ Qt ]]>
</category>
<category>
<![CDATA[ Releases ]]>
</category>
<guid isPermaLink="false">http://blog.qt.digia.com/?p=40509</guid>
<description>
</description>
<content:encoded>...</content:encoded>
<wfw:commentRss> //get like commentRss
http://blog.qt.digia.com/blog/2014/10/17/qt-5-4-beta-available/feed/
</wfw:commentRss>
<slash:comments>14</slash:comments> //get like comments
</item>
↧