Class ::xowiki::includelet::rss-button (public)
::xowiki::IncludeletClass ::xowiki::includelet::rss-button
Defined in /var/www/openacs.org/packages/xowiki/tcl/includelet-procs.tcl
Include an RSS button referring to pages of the specified time span.
- Testcases:
- No testcase defined.
Source code: namespace eval ::xowiki::includelet {} ::nsf::object::alloc ::xowiki::IncludeletClass ::xowiki::includelet::rss-button {set :__default_metaclass ::xotcl::Class set :__default_superclass ::xotcl::Object set :aggregating false set :cacheable false set :localized true set :personalized true} ::xowiki::includelet::rss-button instproc render {} { :get_parameters set parent_ids [${:__including_page} parent_id] set href [export_vars -base [::$package_id package_url] {{rss $span} parent_ids name_filter title entries_of}] ::xo::Page requireLink -rel alternate -type application/rss+xml -title RSS -href $href return "<a href=\"[ns_quotehtml $href]\" class='rss'>RSS</a>" } ::xowiki::includelet::rss-button instparametercmd parameter_declaration ::xowiki::includelet::rss-button instparametercmd __decoration ::nsf::relation::set ::xowiki::includelet::rss-button superclass ::xowiki::Includelet ::nx::slotObj -container slot ::xowiki::includelet::rss-button ::xowiki::includelet::rss-button::slot eval {set :__parameter { {__decoration plain} {parameter_declaration { {-span "10d"} {-name_filter} {-entries_of} {-title} }} }} ::nsf::object::alloc ::xotcl::Attribute ::xowiki::includelet::rss-button::slot::__decoration {set :accessor public set :configurable true set :convert false set :default plain set :defaultmethods {} set :disposition alias set :domain ::xowiki::includelet::rss-button set :incremental 0 set :manager ::xowiki::includelet::rss-button::slot::__decoration set :methodname __decoration set :multiplicity 1..1 set :name __decoration set :per-object false set :position 0 set :required false set :substdefault 0b111 set :trace none : init} ::nsf::object::alloc ::xotcl::Attribute ::xowiki::includelet::rss-button::slot::parameter_declaration {set :accessor public set :configurable true set :convert false set :default { {-span "10d"} {-name_filter} {-entries_of} {-title} } set :defaultmethods {} set :disposition alias set :domain ::xowiki::includelet::rss-button set :incremental 0 set :manager ::xowiki::includelet::rss-button::slot::parameter_declaration set :methodname parameter_declaration set :multiplicity 1..1 set :name parameter_declaration set :per-object false set :position 0 set :required false set :substdefault 0b111 set :trace none : init}XQL Not present: Generic, PostgreSQL, Oracle