Sounds like exactly what I need. So just double-checking, I
would
activate this by adding
comments-recent=org.blojsom.plugin.comment.RecentCommentsPl
ugin
then adding comments-recent to the mappings, then put
something like
#foreach ($entry in $BLOJSOM_RECENT_COMMENTS)
$entry.getTitle
#end
in my template.
How do I find out the variable names in the array (like
getTitle for
BLOJSOM_PLUGIN_ALL_ENTRIES)?
At 2:19 PM +1100 2/14/06, Cliffano Subagio wrote:
>Hi Ben,
>
>org.blojsom.plugin.comment.RecentCommentsPlugin grabs
the most
>recent comments and puts them inside
BLOJSOM_RECENT_COMMENTS
>velocity context.
>
>However, this plugin only processes the entries
'filtered' within
>the chain and not all entries within the blog. I.e. if
you are
>viewing the entries from december 2005, this plugin will
only grab
>the comments from entries from december 2005.
>
>There was a discussion to make it more event based.
>- grab x most recent comments during startup
>- if there's a new comment, broadcast an event which
will update the
>x most recent comments
>But I haven't heard about any progress to it so far.
>
>Another way to get recent comments from all entries is
to modify
>RecentCommentsPlugin to process
BLOJSOM_PLUGIN_ALL_ENTRIES instead
>of the entries array, and chain this modified plugin
behind all
>entries plugin.
>This is quite expensive because it will load all entries
at all
>time, but if your server has the firepower, this won't
hurt .
>
>Cheers,
>Cliff.
>
>On 2/14/06, Ben Robbins
><<mailto:info activemac.com>info activemac.com > wrote:
>
>Is there some way to show recent comments on a page as a
sidebar or
>even as a separate RSS feed? I want visitors to be be
able to see
>what other visitors have commented recently.
>
>I'm using the all-entries plugin to show a list of
posts, but I
>couldn't find anything comparable for comments. I'm
fairly new to
>blojsom, and a search of the archives didn't turn up
anything.
>
>Thanks
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you
grep through log files
>for problems? Stop! Download the new AJAX search
engine that makes
>searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!
><
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&b
id=230486&dat=121642>http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>Blojsom-users mailing list
><mailto:Blojsom-users lists.sourceforge.net>Blojsom-users lists.sourceforge.net
><https://lists.sourceforge.net/lists/listinfo/blojs
om-users>
>https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
--
ActiveMac Consulting
http://www.activemac.com/
a>
Seattle, WA 206-297-8834
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep
through log files
for problems? Stop! Download the new AJAX search engine
that makes
searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|