You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Shervin Asgari <sh...@linpro.no> on 2006/06/26 17:18:40 UTC

How to add comments in the rss

Hello. I want to be able to put the #showCommentsPageLink( $entry ) in 
the rss of each user, because our planetplanet uses rss feeds to show 
the planet, and I want to be able to see how many comments each blog has 
received on the front page. However, I am wondering which vm file I need 
to add #showCommentsPageLink( $entry ) in to get it in the rss?

I tried the planetrss.vm, but that didnt quite work.

Shervin

Re: How to add comments in the rss

Posted by Shervin Asgari <sh...@linpro.no>.
Nice catch Allen! It was the web browsers cache. Thank you. This saved 
me a lot of headache and  grief :)

Shervin

Allen Gilliland wrote:
> I guarantee that Roller's out of the box caching is not persisting 
> between server restarts, so it's not a caching issue.  Are you doing a 
> shift+reload when you try and get the feed again?  What happens when 
> you use a client that doesn't support if-modified-since headers and 
> does it's own client side caching?  wget maybe?
>
> I know that when I test the feeds through my browser I often get 
> troubled by the fact that the browser does a lot of it's own caching, 
> make sure that it's not your browser causing the behavior you are 
> talking about.
>
> If you still really think it's Roller's caching then you can login as 
> an admin and navigate to "Server Administration > Cache Info" and 
> you'll see a cache listed there called 
> "org.apache.roller.ui.filters.FeedCacheFilter" which should show you 
> stats about the feed cache and give you a button to clear it.
>
> -- Allen
>
>
> Shervin Asgari wrote:
>> Hello. Just wanted to come with an update to this. The reason why I 
>> couldn't see the changes is because of some caching issues. I changed 
>> the rss.vm file, but for every user I had viewed before, it showed 
>> the "old" rss file. Regardless if I restarted tomcat or not.
>>
>> How can I turn of the caching for rss? I have tried to delete the 
>> caching in roller.properties, and I tried to feedcache in web.xml and 
>> restarted tomcat, but that didn't seem to help either. Any suggestions?
>>
>> Shervin
>>
>>
>>
>> Shervin Asgari wrote:
>>> Hello. I want to be able to put the #showCommentsPageLink( $entry ) 
>>> in the rss of each user, because our planetplanet uses rss feeds to 
>>> show the planet, and I want to be able to see how many comments each 
>>> blog has received on the front page. However, I am wondering which 
>>> vm file I need to add #showCommentsPageLink( $entry ) in to get it 
>>> in the rss?
>>>
>>> I tried the planetrss.vm, but that didnt quite work.
>>>
>>> Shervin

Re: How to add comments in the rss

Posted by Allen Gilliland <al...@sun.com>.
I guarantee that Roller's out of the box caching is not persisting 
between server restarts, so it's not a caching issue.  Are you doing a 
shift+reload when you try and get the feed again?  What happens when you 
use a client that doesn't support if-modified-since headers and does 
it's own client side caching?  wget maybe?

I know that when I test the feeds through my browser I often get 
troubled by the fact that the browser does a lot of it's own caching, 
make sure that it's not your browser causing the behavior you are 
talking about.

If you still really think it's Roller's caching then you can login as an 
admin and navigate to "Server Administration > Cache Info" and you'll 
see a cache listed there called 
"org.apache.roller.ui.filters.FeedCacheFilter" which should show you 
stats about the feed cache and give you a button to clear it.

-- Allen


Shervin Asgari wrote:
> Hello. Just wanted to come with an update to this. The reason why I 
> couldn't see the changes is because of some caching issues. I changed 
> the rss.vm file, but for every user I had viewed before, it showed the 
> "old" rss file. Regardless if I restarted tomcat or not.
> 
> How can I turn of the caching for rss? I have tried to delete the 
> caching in roller.properties, and I tried to feedcache in web.xml and 
> restarted tomcat, but that didn't seem to help either. Any suggestions?
> 
> Shervin
> 
> 
> 
> Shervin Asgari wrote:
>> Hello. I want to be able to put the #showCommentsPageLink( $entry ) in 
>> the rss of each user, because our planetplanet uses rss feeds to show 
>> the planet, and I want to be able to see how many comments each blog 
>> has received on the front page. However, I am wondering which vm file 
>> I need to add #showCommentsPageLink( $entry ) in to get it in the rss?
>>
>> I tried the planetrss.vm, but that didnt quite work.
>>
>> Shervin

Re: How to add comments in the rss

Posted by Shervin Asgari <sh...@linpro.no>.
Hello. Just wanted to come with an update to this. The reason why I 
couldn't see the changes is because of some caching issues. I changed 
the rss.vm file, but for every user I had viewed before, it showed the 
"old" rss file. Regardless if I restarted tomcat or not.

How can I turn of the caching for rss? I have tried to delete the 
caching in roller.properties, and I tried to feedcache in web.xml and 
restarted tomcat, but that didn't seem to help either. Any suggestions?

Shervin



Shervin Asgari wrote:
> Hello. I want to be able to put the #showCommentsPageLink( $entry ) in 
> the rss of each user, because our planetplanet uses rss feeds to show 
> the planet, and I want to be able to see how many comments each blog 
> has received on the front page. However, I am wondering which vm file 
> I need to add #showCommentsPageLink( $entry ) in to get it in the rss?
>
> I tried the planetrss.vm, but that didnt quite work.
>
> Shervin