Comments showing up in feeds

View: New views
6 Messages — Rating Filter:   Alert me  

Comments showing up in feeds

by Brian Levine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hi,

I have disabled comments for my blog on the roller admin page.  There's only one blog (mine).  But comments still shows up in the "Feeds" section.  I'd really like it to not be there, especially because it throws an error when I click on the link.  Here's the error:

Sorry! We couldn't find your document
           
           
           
           
           
           
               
                    Status Code
                    404
               
               
                    Message
                    /roller/roller-ui/rendering/feed/main/comments/atom
               
               
                    Type
                   

               
               
                    Exception
                    The file that you requested could not be found on this server.

Is there some way to remove the link?  I thought maybe there would be something in the categories section in the roller admin stuff, but it just has the categories that I defined.  

Thanks!

/Brian

_________________________________________________________________
It’s easy to add contacts from Facebook and other social sites through Windows Live™ Messenger. Learn how.
https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow

Re: Comments showing up in feeds

by Dave Johnson-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Jun 8, 2008 at 6:16 PM, Brian Levine <levine_brian@...> wrote:
> I have disabled comments for my blog on the roller admin page.  There's only one blog (mine).  But comments still shows up in the "Feeds" section.  I'd really like it to not be there, especially because it throws an error when I click on the link.  Here's the error:

The "Feeds" section? I assume you mean a Feeds section that is part of
your blog's theme? If so, which theme are you using? If not, then what
Feeds section do you mean?

- Dave


> Sorry! We couldn't find your document
>
>                    Status Code
>                    404
>
>
>                    Message
>                    /roller/roller-ui/rendering/feed/main/comments/atom
>
>
>                    Type
>
>
>
>
>                    Exception
>                    The file that you requested could not be found on this server.
>
> Is there some way to remove the link?  I thought maybe there would be something in the categories section in the roller admin stuff, but it just has the categories that I defined.
>
> Thanks!
>
> /Brian
>
> _________________________________________________________________
> It's easy to add contacts from Facebook and other social sites through Windows Live™ Messenger. Learn how.
> https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow

RE: Comments showing up in feeds

by Brian Levine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



It's a custom theme that's based on the basic theme (I think, how can I tell?)

But it's on the right hand side of the page between the calendar and the bookmarks section.  There's also (aside from the comments rss/atom feed) a feed for "All", as well as the categories that I defined.  Sorry about not being clear.

Thanks!
/B

> Date: Mon, 9 Jun 2008 12:52:08 -0400
> From: snoopdave@...
> To: user@...
> Subject: Re: Comments showing up in feeds
>
> On Sun, Jun 8, 2008 at 6:16 PM, Brian Levine <levine_brian@...> wrote:
> > I have disabled comments for my blog on the roller admin page.  There's only one blog (mine).  But comments still shows up in the "Feeds" section.  I'd really like it to not be there, especially because it throws an error when I click on the link.  Here's the error:
>
> The "Feeds" section? I assume you mean a Feeds section that is part of
> your blog's theme? If so, which theme are you using? If not, then what
> Feeds section do you mean?
>
> - Dave
>
>
> > Sorry! We couldn't find your document
> >
> >                    Status Code
> >                    404
> >
> >
> >                    Message
> >                    /roller/roller-ui/rendering/feed/main/comments/atom
> >
> >
> >                    Type
> >
> >
> >
> >
> >                    Exception
> >                    The file that you requested could not be found on this server.
> >
> > Is there some way to remove the link?  I thought maybe there would be something in the categories section in the roller admin stuff, but it just has the categories that I defined.
> >
> > Thanks!
> >
> > /Brian
> >
> > _________________________________________________________________
> > It's easy to add contacts from Facebook and other social sites through Windows Live™ Messenger. Learn how.
> > https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow

_________________________________________________________________
Enjoy 5 GB of free, password-protected online storage.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_062008

Re: Comments showing up in feeds

by Dave Johnson-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Brian Levine wrote:
> I have disabled comments for my blog on the roller admin page.
> There's only one blog (mine).  But comments still shows up in the "Feeds"
> section.  I'd really like it to not be there, especially because it throws
> an error when I click on the link.  Here's the error:

First, the #showAtomFeedsList() and #showRSSFeedsList() should not
show comment links if comments are disabled for a blog. Second, the
#showAutodiscoveryLinks() should do the same thing.

You can work around those problems by not using those macros and
displaying your feed list in some other way (e.g. copy the code from
the macro file in weblogs.vm and modify to not show the comments feed
list).

There might be a third bug. I'm not sure how your theme is forming
links to the comment feeds. Are there any error messages in the Roller
or Tomcat log files when that 404 error is returned? Can you send a
copy of your weblog template, the one that displays the feed list with
the undesired comment link?

- Dave

RE: Comments showing up in feeds

by Boris Milikič :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 
Can I use velocity variable -  ${entry.commentCount} in java script function?


- Boris

Re: Comments showing up in feeds

by Dave Johnson-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 1, 2008 at 11:10 AM, Boris Milikič <boris.milikic@...> wrote:
> Can I use velocity variable -  ${entry.commentCount} in java script function?

Yes, in a way. You can use a Roller template to generate JavaScript code.

JavaScript does not know about Velocty expressions, of course. If you
use that in a Roller template, it will be evaluated on the server-side
and turned into a number in the generated HTML/JavaScript.

- Dave
LightInTheBox - Buy quality products at wholesale price