Home
The Toolkit for Online Communities
17103 Community Members, 1 member online, 2115 visitors today
Log In Register
OpenACS Home : ACS API Browser : RSS Support 0.3d7 : rss-support-procs.tcl
Publicity:
[Public Only | All]

rss-support-procs.tcl

Procedure to add subscriptions
Location:
packages/rss-support/tcl/rss-support-procs.tcl
Created:
2005-01-22
Author:
Dave Bauer <dave@thedesignexperience.org>
CVS Identification:
$Id: rss-support-procs.tcl,v 1.2.14.1 2013/08/27 11:25:28 gustafn Exp $

Procedures in this file

Detailed information

rss_support::add_subscription (public)

rss_support::add_subscription -summary_context_id summary_context_id \
    -impl_name impl_name -owner owner [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -object_type object_type ] \
    [ -timeout timeout ] [ -lastbuild lastbuild ] \
    [ -context_id context_id ] [ -creation_date creation_date ]

Switches:
-summary_context_id (required)
object_id to subscribe to
-impl_name (required)
RssGenSubscr service contract implementation name
-owner (required)
-creation_user (optional)
-creation_ip (optional)
-object_type (defaults to "rss_gen_subscr") (optional)
object type to create
-timeout (defaults to "3600") (optional)
time between rebuilds of the rss feed
-lastbuild (optional)
-context_id (optional)
object this subscription inherits from
-creation_date (optional)
date and time subscription was created
Returns:
subscr_id
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2005-01-22
 

rss_support::del_subscription (public)

rss_support::del_subscription \
    [ -summary_context_id summary_context_id ] \
    [ -impl_name impl_name ] [ -owner owner ]

Switches:
-summary_context_id (optional)
summary context id to delete
-impl_name (optional)
implemenation name to delete
-owner (optional)
owner package of implementation
Returns:
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2005-01-23
 

rss_support::get_subscr_id (public)

rss_support::get_subscr_id [ -summary_context_id summary_context_id ] \
    [ -impl_name impl_name ] [ -owner owner ]
Return subscription id

Switches:
-summary_context_id (optional)
Object_id subscribed to
-impl_name (optional)
Implementation (object_type) name
-owner (optional)
Owner of implementation (package_key)
Returns:
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2005-02-04
 

rss_support::subscription_exists (public)

rss_support::subscription_exists \
    [ -summary_context_id summary_context_id ] \
    [ -impl_name impl_name ]
Check if a subscription exists

Switches:
-summary_context_id (optional)
summary context id to check
-impl_name (optional)
Returns:
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2005-01-23