Changing the auto generated default RSS feed to something else
liquid crystal - February 25, 2008 - 11:43
| Project: | PHPTemplate |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi
As you know if you access your drupal site with Safari or FF (and probably IE 7?) you get this RSS icon in the address bar which links to the default RSS feed for your site. Can I change where does it link to? The reason for me doing this, because I recently subscribed to feedburner and I want to use the feedburner RSS feed link instead of the one generated by drupal.
I'm using the default Garland theme on Drupal 6
thanks..

#1
The RSS icon in your address bar comes from following link present in the head tag of your drupal's homepage template.
change the value of href to link it to wherever you want..
hope that works for you
#2
In page.tpl.php file find print $head, and just before this statement paste this code
$head = str_replace('rss.xml', 'rss/content', $head);