mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-30 07:29:33 +02:00
2023-05-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that caused the 'View Raw XML [Front] report to use locally generated XML. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
c2f9bd52fb
commit
7b5a1d02aa
@ -24092,3 +24092,6 @@
|
||||
* Added 'View Raw XML [Front]' and 'View Raw XML [Back]' items to
|
||||
the right-click menu in the 'Rivendell Feed List' dialog in
|
||||
rdadmin(1).
|
||||
2023-05-15 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rdadmin(1) that caused the 'View Raw XML [Front]
|
||||
report to use locally generated XML.
|
||||
|
@ -152,15 +152,14 @@ void FeedListView::generateBackItemReportData()
|
||||
void FeedListView::viewFrontRawXmlData()
|
||||
{
|
||||
QDateTime now=QDateTime::currentDateTime();
|
||||
bool ok=false;
|
||||
QList<unsigned> front_ids;
|
||||
QString err_msg;
|
||||
RDFeedListModel *m=(RDFeedListModel *)model();
|
||||
QString keyname=m->data(m->index(d_mouse_row,0)).toString();
|
||||
RDFeed *feed=new RDFeed(keyname,rda->config(),this);
|
||||
QByteArray xml;
|
||||
|
||||
if(feed->frontActiveCasts(&front_ids,&err_msg)) {
|
||||
QString xml=feed->rssXml(&err_msg,now,&ok,&front_ids);
|
||||
if(feed->rssFrontXml(&xml,&err_msg)) {
|
||||
RDTextFile(xml,true);
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user