diff -r c973eef8fef1 -r a60eb8619906 WebBrowser/WebBrowserView.py --- a/WebBrowser/WebBrowserView.py Sat Feb 20 17:31:34 2016 +0100 +++ b/WebBrowser/WebBrowserView.py Sat Feb 20 17:45:40 2016 +0100 @@ -1886,7 +1886,6 @@ ## RSS related methods below ########################################################################### - # TODO: RSS, extract links from page to implement RSS stuff def checkRSS(self): """ Public method to check, if the loaded page contains feed links. @@ -1901,21 +1900,6 @@ for feed in feeds: if feed["url"] and feed["title"]: self.__rss.append((feed["title"], feed["url"])) -## frame = self.page() -## linkElementsList = frame.findAllElements("link").toList() -## -## for linkElement in linkElementsList: -## # only atom+xml and rss+xml will be processed -## if linkElement.attribute("rel") != "alternate" or \ -## (linkElement.attribute("type") != "application/rss+xml" and -## linkElement.attribute("type") != "application/atom+xml"): -## continue -## -## title = linkElement.attribute("title") -## href = linkElement.attribute("href") -## if href == "" or title == "": -## continue -## self.__rss.append((title, href)) return len(self.__rss) > 0