Disabling RSS and removing from sidebar

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
annaf1973
Posts: 1
Joined: Sun Dec 16, 2007 4:55 am

Disabling RSS and removing from sidebar

Post 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
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Disabling RSS and removing from sidebar

Post 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
Rei
Regular
Posts: 30
Joined: Tue Jan 01, 2008 11:13 am
Location: Malaysia

Remove RSS feed for comments only

Post 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?
s9y 1.2.1 & 1.3.1 - bulletproof v1.2 - Safari3.0.4 & 3.1.2
linux - php5.2.6 - mysql5.0.51a
[openssl extension - no / magic_quotes_gpc - on / allow_url_fopen - off / post_max_size - 8m / imagemagick binary - not found]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Remove RSS feed for comments only

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Rei
Regular
Posts: 30
Joined: Tue Jan 01, 2008 11:13 am
Location: Malaysia

Re: Remove RSS feed for comments only

Post 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?
s9y 1.2.1 & 1.3.1 - bulletproof v1.2 - Safari3.0.4 & 3.1.2
linux - php5.2.6 - mysql5.0.51a
[openssl extension - no / magic_quotes_gpc - on / allow_url_fopen - off / post_max_size - 8m / imagemagick binary - not found]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Remove RSS feed for comments only

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Rei
Regular
Posts: 30
Joined: Tue Jan 01, 2008 11:13 am
Location: Malaysia

Post 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
s9y 1.2.1 & 1.3.1 - bulletproof v1.2 - Safari3.0.4 & 3.1.2
linux - php5.2.6 - mysql5.0.51a
[openssl extension - no / magic_quotes_gpc - on / allow_url_fopen - off / post_max_size - 8m / imagemagick binary - not found]
Post Reply