Partially solve adding author for feed
This commit is contained in:
parent
ed7f75de13
commit
e092354696
@ -240,6 +240,7 @@ void DataManager::addFeed(const QString &url)
|
||||
Q_EMIT feedAdded(urlFromInput.toString());
|
||||
|
||||
Fetcher::instance().fetch(urlFromInput.toString());
|
||||
// TODO: fetch authors?
|
||||
}
|
||||
|
||||
Entry* DataManager::getQueueEntry(int const &index) const
|
||||
|
@ -104,8 +104,10 @@ void Fetcher::processFeed(Syndication::FeedPtr feed, const QString &url)
|
||||
authorname = otherItems.value(QStringLiteral("http://www.itunes.com/dtds/podcast-1.0.dtdauthor")).text();
|
||||
qDebug() << "authorname" << authorname;
|
||||
}
|
||||
if (!authorname.isEmpty()) processAuthor(url, QLatin1String(""), authorname, QLatin1String(""), authoremail);
|
||||
}
|
||||
|
||||
|
||||
QString image = feed->image()->url();
|
||||
// If there is no regular image tag, then try the itunes tags
|
||||
if (image.isEmpty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user