Summary: | Akregator fails to fetch articles from OPML imported feeds | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | techno_plume-coding |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
techno_plume-coding
2007-03-24 22:29:53 UTC
SVN commit 646411 by osterfeld: detect "xmlURL" as feed URL, as used by Live Journal. Fixes import of Lj OPML files (all feeds were imported as folders before) BUG: 143435 M +3 -1 feed.cpp M +1 -1 feedlist.cpp --- trunk/KDE/kdepim/akregator/src/feed.cpp #646410:646411 @@ -125,11 +125,13 @@ Feed* feed = 0; - if( e.hasAttribute("xmlUrl") || e.hasAttribute("xmlurl") ) + if( e.hasAttribute("xmlUrl") || e.hasAttribute("xmlurl") || e.hasAttribute("xmlURL") ) { QString title = e.hasAttribute("text") ? e.attribute("text") : e.attribute("title"); QString xmlUrl = e.hasAttribute("xmlUrl") ? e.attribute("xmlUrl") : e.attribute("xmlurl"); + if (xmlUrl.isEmpty()) + xmlUrl = e.attribute("xmlURL"); bool useCustomFetchInterval = e.attribute("useCustomFetchInterval") == "true"; --- trunk/KDE/kdepim/akregator/src/feedlist.cpp #646410:646411 @@ -111,7 +111,7 @@ { QString title = e.hasAttribute("text") ? e.attribute("text") : e.attribute("title"); - if (e.hasAttribute("xmlUrl") || e.hasAttribute("xmlurl")) + if (e.hasAttribute("xmlUrl") || e.hasAttribute("xmlurl") || e.hasAttribute("xmlURL") ) { Feed* feed = Feed::fromOPML(e); if (feed) |