[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenetwork/librss
From:       Frerich Raabe <raabe () kde ! org>
Date:       2004-12-14 17:16:11
Message-ID: 20041214171611.A55771BB99 () office ! kde ! org
[Download RAW message or body]

CVS commit by raabe: 

- Fix for buggy RSS 2.0 feeds which use the version string '2' instead of
  '2.0' (this is a backport from aKregator's librss fork).


  M +1 -1      document.cpp   1.19


--- kdenetwork/librss/document.cpp  #1.18:1.19
@@ -97,5 +97,5 @@ Document::Document(const QDomDocument &d
                         else if (attr == QString::fromLatin1("0.94"))
                                 d->version = v0_94;
-                        else if (attr == QString::fromLatin1("2.0"))
+                        else if (attr == QString::fromLatin1("2.0") || attr == QString::fromLatin1("2"))
                                 d->version = v2_0;
                 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic