mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 15:45:59 +01:00
2020-08-08 Fred Gleason <fredg@paravelsystems.com>
* Implemented multicast notifications for RSS feed items. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -84,6 +84,12 @@ MainObject::MainObject(QObject *parent)
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Connect to ripcd(8)
|
||||
//
|
||||
rda->ripc()->
|
||||
connectHost("localhost",RIPCD_TCP_PORT,rda->config()->password());
|
||||
|
||||
//
|
||||
// Scan Timer
|
||||
//
|
||||
@@ -157,6 +163,11 @@ void MainObject::ProcessFeed(const QString &key_name)
|
||||
q->value(0).toUInt(),cast->itemTitle().toUtf8().constData(),
|
||||
feed->keyName().toUtf8().constData());
|
||||
delete cast;
|
||||
RDNotification *notify=new RDNotification(RDNotification::FeedItemType,
|
||||
RDNotification::DeleteAction,
|
||||
q->value(0).toUInt());
|
||||
rda->ripc()->sendNotification(*notify);
|
||||
delete notify;
|
||||
}
|
||||
if(feed->postXml(&err_msg)) {
|
||||
rda->syslog(LOG_DEBUG,
|
||||
|
||||
Reference in New Issue
Block a user