2020-05-20 Fred Gleason <fredg@paravelsystems.com>

* Added 'FEEDS.CHANNEL_AUTHOR', 'FEEDS.CHANNEL_OWNER_NAME',
	'FEEDS.CHANNEL_OWNER_EMAIL', 'FEEDS.CHANNEL_EXPLICIT' and
	'PODCASTS.ITEM_EXPLICIT' fields to the database.
	* Incremented the database version to 326.
	* Added 'RDFeed::channelAuthor()', 'RDFeed::setChannelAuthor()',
	'RDFeed::channelOwnerName()', 'RDFeed::setChannelOwnerName()',
	'RDFeed::channelOwnerEmail(), 'RDFeed::setChannelOwnerEmail()',
	'RDFeed::channelExplicit()', 'RDFeed::setChannelExplicit()',
	'RDPodcast::itemExplicit()' and 'RDPodcast::setItemExplicit()'
	methods.
	* Added 'Author', Owner Name' and 'Owner E-Mail controls to the
	'Edit Feed' dialog box in rdadmin(1).
	* Added a 'Channel contains explicit content' checkbox to the
	'Edit Feed' dialog box in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-05-20 12:42:54 -04:00
parent e5c465fb57
commit b326c2d24f
20 changed files with 574 additions and 231 deletions

View File

@@ -29,7 +29,7 @@
class RDRssSchemas
{
public:
enum RssSchema {CustomSchema=0,Rss202Schema=1,LastSchema=2};
enum RssSchema {CustomSchema=0,Rss202Schema=1,AppleSchema=2,LastSchema=3};
RDRssSchemas();
QString name(RssSchema schema) const;
QSize minimumImageSize(RssSchema schema) const;
@@ -37,6 +37,7 @@ class RDRssSchemas
QString headerTemplate(RssSchema schema) const;
QString channelTemplate(RssSchema schema) const;
QString itemTemplate(RssSchema schema) const;
bool supportsItemImages(RssSchema schema) const;
private:
QStringList c_names;
@@ -45,6 +46,7 @@ class RDRssSchemas
QStringList c_header_templates;
QStringList c_channel_templates;
QStringList c_item_templates;
QList<bool> c_supports_item_images;
};