mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-19 09:01:18 +02:00
2022-03-08 Fred Gleason <fredg@paravelsystems.com>
* Added a 'direct' namespace to the 'Apple iTunes' and 'Apple iTunes + Superfeed' RSS schemas. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2023,6 +2023,9 @@ QString RDFeed::ResolveChannelWildcards(const QString &tmplt,RDSqlQuery *chan_q,
|
||||
toString("ddd, d MMM yyyy hh:mm:ss ")+"GMT");
|
||||
ret.replace("%PUBLISH_DATE%",RDLocalToUtc(chan_q->value(13).toDateTime()).
|
||||
toString("ddd, d MMM yyyy hh:mm:ss ")+"GMT");
|
||||
ret.replace("%DIRECT_PUBLISH_DATE%",
|
||||
RDLocalToUtc(chan_q->value(13).toDateTime()).
|
||||
toString("yyyy-MM-ddThh:mm:ss+00:00"));
|
||||
ret.replace("%GENERATOR%",QString("Rivendell ")+VERSION);
|
||||
ret.replace("%FEED_URL%",RDXmlEscape(chan_q->value(17).toString())+"/"+
|
||||
RDXmlEscape(keyName()+"."+RD_RSS_XML_FILE_EXTENSION));
|
||||
@@ -2077,6 +2080,9 @@ QString RDFeed::ResolveItemWildcards(const QString &tmplt,RDSqlQuery *item_q,
|
||||
ret.replace("%ITEM_PUBLISH_DATE%",
|
||||
RDLocalToUtc(item_q->value(13).toDateTime()).
|
||||
toString("ddd, d MMM yyyy hh:mm:ss ")+"GMT");
|
||||
ret.replace("%ITEM_DIRECT_PUBLISH_DATE%",
|
||||
RDLocalToUtc(item_q->value(13).toDateTime()).
|
||||
toString("yyyy-MM-ddThh:mm:ss+00:00"));
|
||||
ret.replace("%ITEM_GUID%",RDPodcast::guid(item_q->value(15).toString(),
|
||||
item_q->value(10).toString(),
|
||||
item_q->value(0).toUInt(),
|
||||
|
Reference in New Issue
Block a user