[aKregator-devel] [Bug 91328] Having problems with MSDN RSS 2.0 Feeds
Brought to you by:
lippel
From: George S. <st...@kd...> - 2004-12-01 08:57:09
|
------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=91328 staikos kde org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From staikos kde org 2004-12-01 09:56 ------- 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); |