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
- Wine Tasting in Napa Valley
- How to build a Shot-Ski
- Bus Project Update
- Farewell to the 2011-2012 Ski Season
- Cruising around the Western Caribbean
- Spring Break!
- A Spectacular Trip to Stockholm and Madrid
- Comparing Web Frameworks and HTML5 with Play Scala at Jfokus 2012
- Play Framework 2.0 with Peter Hilton at Jfokus
- Secure JSON Services with Play Scala and SecureSocial
Posted by Lance on July 12, 2003 at 08:01 AM MDT #