Update of /cvsroot/phpwebsite-comm/modules/podcaster/boost
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17620/boost
Modified Files:
install.sql update.php
Log Message:
getting ready for 1.0.5 itunes cats changes
Index: install.sql
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/podcaster/boost/install.sql,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** install.sql 2 Jan 2008 04:24:01 -0000 1.2
--- install.sql 9 Jan 2008 21:41:09 -0000 1.3
***************
*** 42,43 ****
--- 42,119 ----
CREATE INDEX podcastepisode_idx on podcaster_episode(channel_id);
+
+ CREATE TABLE podcaster_category (
+ id int NOT NULL default 0,
+ title varchar(255) NOT NULL,
+ parent_id int NOT NULL default 0,
+ PRIMARY KEY (id)
+ );
+
+ INSERT INTO podcaster_category (id, title, parent_id) VALUES
+ (10, 'Arts', 0),
+ (11, 'Design', 10),
+ (12, 'Fashion & Beauty', 10),
+ (13, 'Food', 10),
+ (14, 'Literature', 10),
+ (15, 'Performing Arts', 10),
+ (16, 'Visual Arts', 10),
+ (20, 'Business', 0),
+ (21, 'Business News', 20),
+ (22, 'Careers', 20),
+ (23, 'Investing', 20),
+ (24, 'Management & Marketing', 20),
+ (25, 'Shopping', 20),
+ (30, 'Comedy', 0),
+ (40, 'Education', 0),
+ (41, 'Education Technology', 40),
+ (42, 'Higher Education', 40),
+ (43, 'K-12', 40),
+ (44, 'Language Courses', 40),
+ (45, 'Training', 40),
+ (50, 'Games & Hobbies', 0),
+ (51, 'Automotive', 50),
+ (52, 'Aviation', 50),
+ (53, 'Hobbies', 50),
+ (54, 'Other Games', 50),
+ (55, 'Video Games', 50),
+ (60, 'Government & Organizations', 0),
+ (61, 'Local', 60),
+ (62, 'National', 60),
+ (63, 'Non-Profit', 60),
+ (64, 'Regional', 60),
+ (70, 'Health', 0),
+ (71, 'Alternative Health', 70),
+ (72, 'Fitness & Nutrition', 70),
+ (73, 'Self-Help', 70),
+ (74, 'Sexuality', 70),
+ (80, 'Kids & Family', 0),
+ (90, 'Music', 0),
+ (100, 'News & Politics', 0),
+ (110, 'Religion & Spirituality', 0),
+ (111, 'Buddhism', 110),
+ (112, 'Christianity', 110),
+ (113, 'Hinduism', 110),
+ (114, 'Islam', 110),
+ (115, 'Judaism', 110),
+ (116, 'Other', 110),
+ (117, 'Spirituality', 110),
+ (120, 'Science & Medicine', 0),
+ (121, 'Medicine', 120),
+ (122, 'Natural Sciences', 120),
+ (123, 'Social Sciences', 120),
+ (130, 'Society & Culture', 0),
+ (131, 'History', 130),
+ (132, 'Personal Journals', 130),
+ (133, 'Philosophy', 130),
+ (134, 'Places & Travel', 130),
+ (140, 'Sports & Recreation', 0),
+ (141, 'Amateur', 140),
+ (142, 'College & High School', 140),
+ (143, 'Outdoor', 140),
+ (144, 'Professional', 140),
+ (150, 'Technology', 0),
+ (151, 'Gadgets', 150),
+ (152, 'Tech News', 150),
+ (153, 'Podcasting', 150),
+ (154, 'Software How-To', 150),
+ (160, 'TV & Film', 0);
Index: update.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/podcaster/boost/update.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** update.php 7 Jan 2008 03:41:51 -0000 1.8
--- update.php 9 Jan 2008 21:41:10 -0000 1.9
***************
*** 76,89 ****
case version_compare($currentVersion, '1.0.4', '<'):
$content[] = '<pre>';
-
- $new_icon = PHPWS_SOURCE_DIR . 'mod/podcaster/img/rss_sm.png';
- $destination_directory = $home_dir . 'images/mod/podcaster/';
- $icon_name = 'rss_sm.png';
- if (PHPWS_File::fileCopy($file_origin, $destination_directory, $file_destination, 1, 1)) {
- $content[] = "--- Successfully copied $icon_name to $destination_directory";
- } else {
- $content[] = "--- Failed to copy $icon_name to $destination_directory</pre>";
- return false;
- }
$files = array('templates/edit_settings.tpl',
--- 76,79 ----
***************
*** 96,99 ****
--- 86,90 ----
'templates/info.tpl',
'templates/block.tpl',
+ 'img/rss_sm.png',
'conf/config.php'
);
***************
*** 114,117 ****
--- 105,118 ----
+ case version_compare($currentVersion, '1.0.5', '<'):
+ $content[] = '<pre>';
+
+ $content[] = '1.0.5 changes
+ ----------------
+ + Added db and class for iTunes categories
+ + Improved iTunes categories functions in channel and form class
+
+ </pre>';
+
|