Service contracts and support for generating RSS feeds.
Basic support for RSS generation and parsing. RDF Site Summary (RSS) is a lightweight multipurpose extensible metadata description and syndication format. This package can be used to publish site content in a manner useful to other websites and webservices. For each item (news event, ticket, bboard message, ...) that you want to publish, you create a property list that describes that item (url to item, title of item, description of item, etc.). You pass a list of those items (and some other parameters) to rss_gen, and it will generate your XML for you. You can also implenent a set of functions that satisfy the RSS service contracts and the RSS can be recreated from a scheduled procedure.
tcl/rss-generation-procs.tcl RSS feed generation procs generates an rss feed given channel information and item information tcl/rss-generation-service-procs.tcl RSS feed service procs tcl/rss-support-procs.tcl Procedure to add subscriptions tcl/rss-utilities-procs.tcl RSS support procs
rss_assert_dir Steps through path creating each new directory as needed. rss_first_url_for_package_id Finds the first site node (ordered by node_id) associated with package_id and returns the relative url for that node. rss_first_url_for_package_id_helper Does the actual work for rss_first_url_for_package_id. rss_gen <pre> Generates an RSS XML doc given channel information and item information. rss_gen_091 generate an rss 0.91 xml feed rss_gen_100 generate an rss 1.0 xml feed very basic rss 1.0, with no modules implemented.... rss_gen_200 generate an rss 2.0 xml feed rss_gen_bind Creates bindings for unbound implementations for RssGenerationSubscriber. rss_gen_report Build a report, write it out, log it. rss_gen_report_dir Return a directory path, relative to the pageroot, for the rss subscription with subscr_id or impl_name + summary_context_id provided. rss_gen_report_file Return a file path for the rss subscription with subscr_id or impl_name + summary_context_id provided. rss_gen_service rss_package_id <pre> # Returns the package_id for rss if it is rss is mounted. rss_package_url <pre> # Returns the rss package url if it is mounted. rss_support::add_subscription rss_support::del_subscription rss_support::get_subscr_id Return subscription id rss_support::subscription_exists Check if a subscription exists
www/ | |
admin/ | |
index.adp | |
subscrs.adp | |
subscrs.tcl | |
delete-2.tcl | Delete the subscription, and maybe the report. |
delete.adp | |
delete.tcl | Confirm deletion of a subscription. |
index.adp | |
my-subscrs.adp | |
my-subscrs.tcl | |
subscr-ae-2.adp | |
subscr-ae-2.tcl | Insert or update the subscription. |
subscr-ae.adp | |
subscr-ae.tcl | Present an admin page for adding or editing subscriptions. |
subscr-run.tcl | Run a report for the given subscription. |
subscrs-include.adp | |
subscrs-include.tcl |
Calle Aprestadora 19, 12o-2a
08902 Hospitalet de Llobregat (Barcelona)
Spain
Tel Europe: +34 609 953 751
Tel US: +1 415 200 2465
Mail: info@project-open.com