summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/data/rekonq.desktop2
-rw-r--r--src/webtab.cpp16
2 files changed, 17 insertions, 1 deletions
diff --git a/src/data/rekonq.desktop b/src/data/rekonq.desktop
index df564c47..b0f8f2e3 100644
--- a/src/data/rekonq.desktop
+++ b/src/data/rekonq.desktop
@@ -5,6 +5,7 @@ Name[da]=rekonq
Name[de]=rekonq
Name[en_GB]=rekonq
Name[es]=rekonq
+Name[fr]=rekonq
Name[ga]=rekonq
Name[lt]=rekonq
Name[nds]=Rekonq
@@ -20,6 +21,7 @@ GenericName[da]=KDE-browser baseret på Webkit
GenericName[de]=WebKit-basierter Webbrowser für KDE
GenericName[en_GB]=Webkit KDE Browser
GenericName[es]=Navegador Webkit para KDE
+GenericName[fr]=Navigateur Webkit pour KDE
GenericName[ga]=Brabhsálaí Webkit KDE
GenericName[lt]=Webkit KDE naršyklė
GenericName[nds]=Webkit-KDE-Kieker
diff --git a/src/webtab.cpp b/src/webtab.cpp
index fd44cc10..6bafd04a 100644
--- a/src/webtab.cpp
+++ b/src/webtab.cpp
@@ -184,7 +184,21 @@ bool WebTab::hasRSSInfo()
foreach(QWebElement el, col)
{
if( el.attribute("type") == QL1S("application/rss+xml") || el.attribute("type") == QL1S("application/rss+xml") )
- _rssList << KUrl( el.attribute("href") );
+ {
+ if( el.attribute("href").startsWith( QL1S("http") ) )
+ {
+ _rssList << KUrl( el.attribute("href") );
+ }
+ else
+ {
+ KUrl u = url();
+ // NOTE
+ // cd() is probably better than setPath() here,
+ // for all those url sites just having a path
+ if(u.cd( el.attribute("href") ))
+ _rssList << u;
+ }
+ }
}
return !_rssList.isEmpty();