Bboard Sample Implementation

by Andrew Grumet
Back to RSS Support

The steps:

  1. Create one or more implentations Of the RssGenerationSubscriber interface. This example registers an implementation for bboard forums.
  2. Define the implementation procs. This example implements the contracted procs.
  3. Create a subscription for each context to be summarized. Until admin pages are available, do this by hand as follows:
    select rss_gen_subscr__new (
           null,				-- subscr_id
           2752,				-- impl_id
           2746,				-- summary_context_id (forum_id)
           0,				-- timeout
           null,				-- lastbuild
           'rss_gen_subscr',		-- object_type
           now(),				-- creation_date
           null,				-- creation_user
           null,				-- creation_ip
           null				-- context_id
    );
    
  4. The scheduled proc rss_gen_service will create a binding for the implementation and generate summaries for each subscription if the conditions for summary generation are met (i.e. if the subscription timeout interval has elapsed since the last build and if the time returned by lastUpdated is greater than the time of the last report built).
  5. Summaries can be found at /${RssGenOutputDirectory}/${ImplementationName}/${summary_context_id}/rss.xml

aegrumet@alum.mit.edu