Version: 1.0 beta6 (using KDE KDE 3.3.0) Installed from: Gentoo Packages Compiler: gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6) OS: Linux For example the feed "MSDN Just Published" does not display any entries/articles http://msdn.microsoft.com/rss.xml Same for MSDN: Visual C++ http://msdn.microsoft.com/visualc/rss.xml
0000000 o ; ? < ? x m l sp v e r s i o n 357 273 277 074 077 170 155 154 040 166 145 162 163 151 157 156 That's probably why.
Or not
The problem is that MSDN puts the <item> nodes inside the <channel> node. Moving them out lets akregator read it.
CVS commit by staikos: make MSDN feeds work: 1) Skip over UTF8 junk 2) Handle version="2" as version="2.0" -> might want to make this version stuff more robust? BUG: 91328 M +1 -1 document.cpp 1.10 M +4 -0 loader.cpp 1.12 --- kdenonbeta/akregator/src/librss/document.cpp #1.9:1.10 @@ -108,5 +108,5 @@ Document::Document(const QDomDocument &d else if (attr == QString::fromLatin1("0.94")) d->version = v0_94; - else if (attr.startsWith("2.0")) // http://www.breuls.org/rss puts 2.00 in version (BR #0000016) + else if (attr.startsWith("2.0") || attr == QString::fromLatin1("2")) // http://www.breuls.org/rss puts 2.00 in version (BR #0000016) d->version = v2_0; } --- kdenonbeta/akregator/src/librss/loader.cpp #1.11:1.12 @@ -291,4 +291,8 @@ void Loader::slotRetrieverDone(const QBy } + if (len > 3 && QChar(*charData) == 0357) { // 0357 0273 0277 + len -= 3; + charData += 3; + } QByteArray tmpData; tmpData.setRawData(charData, len);