Friday April 18, 2003
No Dice on Comments I tried Dave's suggestion for comments, but no dice. Here's what I have:
#set( $comments = $entry.comments )
<comments>
#foreach( $comment in $comments )
<comment id="$comment.id">
<author>$comment.name</author>
<email />
<url />
<timestamp>$comment.postTime</timestamp>
<body>
$comment.content
</body>
</comment>
#end
</comments>
It looks like this Velocity template expects to be a part of something great that exposes the $entry variable. Is it possible to simply pass in an entryid and have the XML generated for that. That's what I really want.
BTW, isn't it lovely how it tries to process the template above? Doesn't seem to for Dave - oh well.
Posted in Roller
at Apr 18 2003, 02:43:21 PM MDT
2 Comments
Matt Raible is the Lead UI Architect at LinkedIn. The opinions on this site are mine, not my employers.
Search This Site
Recent Entries
- Jack's Mohawk
- LinkedIn Cuts 10% (a.k.a. The Journey is Over)
- Happy Birthday Abbie!
- Moving from Spring's XML to Annotations in AppFuse
- Free Maven Training in New Orleans on Election Day
- AppFuse Light ยป AppFuse, Maven Archetypes and Shared Web Assets
- Great Weekend in Montana
- Colorado Software Summit 2008 Wrapup
- RESTful Web Applications with Subbu Allamaraju
- Core Animation with Bill Dudney
Posted by Lance on April 18, 2003 at 04:24 PM MDT #
Posted by Dave Johnson on April 18, 2003 at 09:27 PM MDT #