20030711 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

Comments:

Cool, I say Add It!

Posted by Lance on July 12, 2003 at 08:01 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is a Web Architecture Consultant specializing in open source frameworks.
« May 2012
SunMonTueWedThuFriSat
  
1
2
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today

Recent Entries

Tag Cloud