Page 1 of 1

Disabling RSS and removing from sidebar

Posted: Sun Dec 16, 2007 4:59 am
by annaf1973
Hi - I have just installed Serendipity and it works great! :)

I would like to remove the RSS feed links from the sidebar, as this is a memorial site for my father for us all to post our stories and thoughts, and we don't need the RSS feature.

Could anyone let me know how to do this?

Thanks in advance-
Anna

Re: Disabling RSS and removing from sidebar

Posted: Sun Dec 16, 2007 1:45 pm
by yellowled
annaf1973 wrote:I would like to remove the RSS feed links from the sidebar, as this is a memorial site for my father for us all to post our stories and thoughts, and we don't need the RSS feature.

Could anyone let me know how to do this?
Well, basically just log into the admin backend, go to "Configure Plugins", tick the "Syndicate this blog" sidebar plugin (and only this!) and click "Remove ticked plugins".

However, this will not stop s9y from generating RSS feeds. To do that you'll need to dig deeper, which - as far as I know - means we'll have to at least know which template you're using so we can tell you what exactly to remove to stop s9y from including RSS links into the HTML code of your blog.

Maybe there's an easier way to disable RSS feeds, so maybe you want to wait for some more replys, but this is the first step.

YL

Remove RSS feed for comments only

Posted: Thu Jan 17, 2008 4:34 am
by Rei
I know how to take out the link using the sidebar plugin, but is there any way to totally disable the feed for comments only?

Reason: I have some categories (from existing blogs and now want to keep it for private only) which the read and write permissions being set to the Standard Editor only. It's working exactly as what i want, when the editor for that category log in, he/she can read those published posts but not the public. However, Google crawled the site and indexed the comments of those posts, which i would not want to show publicly but unable to remove from the Google now.

Please let me know what can i do?

Another question.
When i follow the comments title link on the comments feed, although public can't view the contents (since i set the categories to Standard Editor only), but at the bottom of page showing the following
Warning: Invalid argument supplied for foreach() in /homepagepath/plugins/serendipity_event_categorytemplates/serendipity_event_categorytemplates.php on line 139
Am i doing something wrong?

Re: Remove RSS feed for comments only

Posted: Thu Jan 17, 2008 3:07 pm
by garvinhicking
Hi!

Hm, you could disable RSS feeds altogether if you delete the rss.php file?

As for the error you mention: This was a bug in the categorytemplates plugin, I've updated that in version 0.24. It was noncritical though.

Regards,
Garvin

Re: Remove RSS feed for comments only

Posted: Fri Jan 18, 2008 4:20 am
by Rei
garvinhicking wrote:Hi!
Hm, you could disable RSS feeds altogether if you delete the rss.php file?
Hm, that's just what Anna want. How about disable the comments feed only (for all the comments)? Any codes in the related files that i could safely comment out to achieve the purpose?

Re: Remove RSS feed for comments only

Posted: Fri Jan 18, 2008 11:31 am
by garvinhicking
Hi!

Sadly, those are routed both through rss.php and it would be complex to seperate them. It's better to remove all RSS functionality, unless you want to dig into PHP code and do that everytime you update serendipity.

Regards,
Garvin

Posted: Fri Jan 18, 2008 8:07 pm
by Rei
Hi Garvin,

I commented out line 40 to 44, and line 89 to 100 in rss.php.
I disabled the comments feed at the sidebar, but if anybody accidentally goes to the comments.rss2, he/she would only get the same things as index.rss2, i.e. only the post contents would be showing.

I am ok with this solution, just need to remind myself to do that for each update. Thanks! :P