Friday July 11, 2003
Added "Comment" link to RSS Feed Thanks to Lance, my RSS feed validates once again. [Details]. Also, I added a "Comment" link to the bottom of my posts (in the RSS feed). I got the idea from Russ and I think it's a good one. In my rss.vm file, I changed:
<content:encoded><![CDATA[#showEntryText($entry)</content:encoded>
To:
<content:encoded><![CDATA[#showEntryText($entry)
#if( $website.AllowComments )
<p align="right">
<a href="$absBaseURL/page/$entry.website.user.userName?
anchor=$entry.anchor">Add a Comment</a>
</p>
#end]]>
</content:encoded>
In the code above, the href should all be one one line, but in order to get NetNewsWire to render my full post, I had to split it up. Is this a bug? It seems if I have a <pre> with too many characters (>80?), then it just ends the post.
If Roller users dig this enhancement, I'll commit it to CVS.
Posted in Roller
at Jul 11 2003, 10:25:19 AM MDT
1 Comment
Search This Site
Recent Entries
- Secure JSON Services with Play Scala and SecureSocial
- My What's New in Spring 3.1 Presentation
- Twitter's Open Source Summit: Bootstrap 2.0 Edition
- Refreshing AppFuse's UI with Twitter Bootstrap
- 2011 - A Year in Review
- Upgrading AppFuse to Spring Security 3.1 and Spring 3.1
- What have I been working on at Taleo?
- Our Engaging Trip to Paris and Antwerp
- My HTML5 with Play Scala, CoffeeScript and Jade Presentation from Devoxx 2011
- Deploying Java and Play Framework Apps to the Cloud with James Ward
Posted by Lance on July 12, 2003 at 08:01 AM MDT #