By ron williams on
I'm trying to find what rss.xml aliases. I need to edit what is sent with my rss feed. It's not a redirect in .htaccess so I'm not sure where to look.
I'm trying to find what rss.xml aliases. I need to edit what is sent with my rss feed. It's not a redirect in .htaccess so I'm not sure where to look.
Comments
A starting point
Based on this question, I've just added a paragraph to the troubleshooting handbook for you.
The short answer is that rss.xml is created by ">node_feed()
As it's totally dynamic content, it can't be 'edited' so much as 'configured'. What was the question again?
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
RE: What's the question
Well I needed to insert a stylesheet into my rss feed because I'm going to be putting a new feature on my website that will allow users to display a box with links on there website to the latest content that is added on my website. I figured rss would be the easiest way to do this, which is why I asked what rss.xml (the front pages rss) was aliasing.
Any other ideas on how to do this, or an alternate method?
Ron Williams
http://ronwilliams.io/
Can't see
Doesn't look like there are any NICE ways to do it at the moment. You''l have to edit http://api.drupal.org/api/HEAD/function/node_feed a bit yourself and add the required line towards the bottom of that function. I assume between the xml and rss tags.
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Contemplate module
have a look at http://drupal.org/project/contemplate
It can theme CCK (and other node types) teasers, bodies and RSS feeds (which will look like the teasers actually).
Nice mod, only pity that is difficult to integrate sometimes with other contrib modules that add content to nodes (Userreview, Image, Voting,...). Still workarounds for most of them are possible.
Anyhow i am still looking.. no other "easier" solution to this issue possible? :o
Cheers
-Marco