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 by Lance on July 12, 2003 at 02:01 PM MDT #