Browse Source

about rss : new streams are aliased by their title

adaptive-webui-19844
Arnaud Demaiziere 18 years ago
parent
commit
2a9d2a4910
  1. 5
      src/rss.h

5
src/rss.h

@ -241,8 +241,11 @@ class RssStream : public QObject{ @@ -241,8 +241,11 @@ class RssStream : public QObject{
if (channel.tagName() == "channel") {
QDomElement property = channel.firstChild().toElement();
while(!property.isNull()) {
if (property.tagName() == "title")
if (property.tagName() == "title") {
title = property.text();
if(alias==getUrl())
setAlias(title);
}
else if (property.tagName() == "link")
link = property.text();
else if (property.tagName() == "description")

Loading…
Cancel
Save