Index: openacs-4/packages/rss-support/rss-support.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/rss-support/rss-support.info,v diff -u -r1.13.2.1 -r1.13.2.2 --- openacs-4/packages/rss-support/rss-support.info 27 Aug 2004 18:21:36 -0000 1.13.2.1 +++ openacs-4/packages/rss-support/rss-support.info 13 Dec 2004 16:13:23 -0000 1.13.2.2 @@ -8,7 +8,7 @@ t rss-support - + Dave Bauer Jerry Asher Andrew Grumet @@ -32,7 +32,7 @@ </ul> - + Index: openacs-4/packages/rss-support/sql/oracle/rss-generation-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/rss-support/sql/oracle/rss-generation-create.sql,v diff -u -r1.2 -r1.2.4.1 --- openacs-4/packages/rss-support/sql/oracle/rss-generation-create.sql 30 Sep 2003 12:10:10 -0000 1.2 +++ openacs-4/packages/rss-support/sql/oracle/rss-generation-create.sql 13 Dec 2004 16:13:24 -0000 1.2.4.1 @@ -152,7 +152,8 @@ p_context_id in acs_objects.context_id%TYPE default null ) return acs_objects.object_id%TYPE is - v_subscr_id rss_gen_subscrs.subscr_id%TYPE; + v_subscr_id rss_gen_subscrs.subscr_id%TYPE; + v_summary_context_id rss_gen_subscrs.summary_context_id%TYPE; begin v_subscr_id := acs_object.new ( p_subscr_id, @@ -163,10 +164,16 @@ p_context_id ); + if p_summary_context_id is null then + v_summary_context_id := v_subscr_id; + else + v_summary_context_id := p_summary_context_id; + end if; + insert into rss_gen_subscrs (subscr_id, impl_id, summary_context_id, timeout, lastbuild) values - (v_subscr_id, p_impl_id, p_summary_context_id, p_timeout, p_lastbuild); + (v_subscr_id, p_impl_id, v_summary_context_id, p_timeout, p_lastbuild); return v_subscr_id; end new; Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/rss-support/sql/oracle/upgrade/upgrade-0.3d2-0.3d3.sql'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/rss-support/sql/postgresql/rss-generation-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/rss-support/sql/postgresql/rss-generation-create.sql,v diff -u -r1.10 -r1.10.4.1 --- openacs-4/packages/rss-support/sql/postgresql/rss-generation-create.sql 17 May 2003 11:20:27 -0000 1.10 +++ openacs-4/packages/rss-support/sql/postgresql/rss-generation-create.sql 13 Dec 2004 16:13:24 -0000 1.10.4.1 @@ -188,6 +188,7 @@ p_creation_ip alias for $9; -- default null p_context_id alias for $10; -- default null v_subscr_id rss_gen_subscrs.subscr_id%TYPE; + v_summary_context_id rss_gen_subscrs.summary_context_id%TYPE; begin v_subscr_id := acs_object__new ( p_subscr_id, @@ -198,10 +199,16 @@ p_context_id ); + if p_summary_context_id is null then + v_summary_context_id := v_subscr_id; + else + v_summary_context_id := p_summary_context_id; + end if; + insert into rss_gen_subscrs (subscr_id, impl_id, summary_context_id, timeout, lastbuild) values - (v_subscr_id, p_impl_id, p_summary_context_id, p_timeout, p_lastbuild); + (v_subscr_id, p_impl_id, v_summary_context_id, p_timeout, p_lastbuild); return v_subscr_id; Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/rss-support/sql/postgresql/upgrade/upgrade-0.3d2-0.3d3.sql'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/rss-support/tcl/rss-generation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/rss-support/tcl/rss-generation-procs.tcl,v diff -u -r1.12.2.1 -r1.12.2.2 --- openacs-4/packages/rss-support/tcl/rss-generation-procs.tcl 25 Jun 2004 08:20:18 -0000 1.12.2.1 +++ openacs-4/packages/rss-support/tcl/rss-generation-procs.tcl 13 Dec 2004 16:13:24 -0000 1.12.2.2 @@ -121,7 +121,10 @@ if { [exists_and_not_null iarray(category)] } { append rss "[ad_quotehtml $iarray(category)]" \n } - + + if { [exists_and_not_null iarray(enclosure_url)] && [exists_and_not_null iarray(enclosure_length)] && [exists_and_not_null iarray(enclosure_type)] } { + append rss "" + } append rss {} \n }