Class ::xowiki::Weblog::EntryRenderer
::xowiki::Weblog::EntryRenderer
create ...
Class Relations
- class: ::xotcl::Class
![[i]](/resources/acs-subsite/ZoomIn16.gif)
- superclass: ::xotcl::Object
![[i]](/resources/acs-subsite/ZoomIn16.gif)
::xotcl::Class create ::xowiki::Weblog::EntryRenderer \
-superclass ::xotcl::Object
Methods (to be applied on instances)
render (scripted)
${:__parent} instvar weblog_obj
set link [:pretty_link]
regsub -all & $link "&" link
set more [expr {[$weblog_obj summary] ?
" <span class='more'> \[<a href='[ns_quotehtml $link]'>#xowiki.weblog-more#</a>\]</span>" : ""}]
append content "<DIV class='post'>" "<h2><a href='[ns_quotehtml $link]'>[ns_quotehtml ${:title}]</a></h2>" "<p class='auth'>Created by ${:creator}, " "last modified by [::xo::get_user_name ${:creation_user}] " "<span class='date'>${:pretty_date}</span></p>" ${:description} $more \n "</DIV>"