2020-03-16 Fred Gleason <fredg@paravelsystems.com>

* Added an 'RSS_SCHEMAS' table to the database.
	* Incremented the database version to 319.
	* Added an 'RSS Schema' dropdown to the 'Edit Feed' dialog in
	rdadmin(1).
This commit is contained in:
Fred Gleason
2020-03-17 16:12:36 -04:00
parent 9eb6b5fae3
commit ff93b583f4
20 changed files with 465 additions and 144 deletions

View File

@@ -2,7 +2,7 @@
##
## docs/tables/automake.am for Rivendell
##
## (C) Copyright 2002-2018 Fred Gleason <fredg@salemradiolabs.com>
## (C) Copyright 2002-2020 Fred Gleason <fredg@salemradiolabs.com>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License version 2 as
@@ -91,6 +91,7 @@ EXTRA_DIST = audio_cards.txt\
report_services.txt\
report_stations.txt\
reports.txt\
rss_schemas.txt\
rule_lines.txt\
service_clocks.txt\
service_perms.txt\

View File

@@ -21,6 +21,7 @@ BASE_PREAMBLE varchar(191)
PURGE_URL varchar(191)
PURGE_USERNAME varchar(64)
PURGE_PASSWORD varchar(64)
RSS_SCHEMA int(10) unsigned From RSS_SCHEMAS.ID
HEADER_XML text
CHANNEL_XML text
ITEM_XML text

View File

@@ -0,0 +1,11 @@
RSS_SCHEMAS Table Layout for Rivendell
The RSS_SCHEMAS table holds template data for various RSS schemas.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary Key
NAME varchar(64)
HEADER_XML text From FEEDS.HEADER_XML
CHANNEL_XML text From FEEDS.CHANNEL_XML
ITEM_XML text From FEEDS.ITEM_XML