Summary: | Having problems with MSDN RSS 2.0 Feeds | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | David Menday <david> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
David Menday
2004-10-14 17:52:12 UTC
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); |