Hi,
My site has pretty static front page. Pages that I create have their own path and other posts are displayed on blocks and on news archive. I was somewhat surprised that Drupals default RSS generator only uses front page posts as feed items.
So I created an alternative RSS feeds with Views module and published it under /rss path.
It works - when I manually access the http://www.example.com/rss
However, my site still seems to produce that default http://www.example.com/rss.xml and I don't know how to turn it off or replace this link with my own rolled feeds?
Yes, most likely I can manually rewrite the template header (or maybe not) but... is there an Admin UI for this? Hmm... Yes I can put my new /rss link to block or page, but... Firefox seems to like to grab this:
<link rel="alternate" type="application/rss+xml" title="Example RSS" href="http://www.example.com/rss.xml" />
How do I change my RSS path? Under my Views RSS, I tried to override the rss.xml but that didn't help.
Thanks,
Comments
Use phptemplate_preprocess_page
Add something like this to your theme's template.php:
HTH
Arie
Change the path in the views
Change the path in the views module to /rss.xml