custom rss feeds/cck
Im curious if anyone can lend some assistance with the best way to go about building a custom rss feed. Im a long time developer, but new to drupal. Essentially all i want to build is a simple xml feed that pushes the node title and a custom cck image field/imagecache into the feed. Im using it to power a flash project that will basically take an article title, path to an image that is processed by imagecache, and the url. And dump this information into a nicely formatted xml feed. I have been reading into AMFPHP but its really over kill for my needs. I originally started looking into how to do this with views, as i do have view_rss installed. but it looks like it just works off of the body and teaser. One consideration Im leaning towards is righting my own module to present this as a view type, just as i have the options for list, table, full node, iCal, RSS, etc. but before i do i wanted to ask the more experienced drupal'ers if there is a better way before i start hacking away at code.

Contemplate module
I think that the Contemplate module might do what you are looking for.
http://drupal.org/project/Contemplate
The Content Template (a.k.a. ConTemplate) module allows modification of Drupal's teaser and body fields using administrator defined templates. These templates use PHP code and all of the node object variables are available for use in the template. An example node object is displayed and it is as simple as clicking on its properties to add them to the current template.
This module was written to solve a need with the Content Construction Kit (CCK), where it had a tendency toward outputting content in a not-very-pretty way. And as such, it dovetails nicely with CCK, adding a "template" tab to CCK content-type editing pages and pre-populating the templates with CCK's default layout. This makes it easy to rearrange fields, output different fields for teaser and body, remove the field title headers, output fields wrapped for use with tabs.module (part of JSTools), or anything you need.
But Content Template can actually be used on any node type and allows modification of the teaser and body properties before they go out in an RSS feed or are handed off to the theme.
-------------------
http://www.PrivacyDigest.com/ News from the Privacy Front (Drupal)
http://www.SunflowerChildren.org/ Helping children around the world ( Drupal)
well, this actually looks
well, this actually looks like it will be helpful to me. but i dont know if it seems like a good solution for what im wanting to do. i dont want to affect every rss feed, i just wont to build 1 custom feed.
Works for me!
I had a custom field i needed to get into my RSS. Contemplate works beautifully and it's only specific to this content type I'm working with which is fine by me. All I had to do was hit the 'Affect RSS output' checkbox on that content type's template. It already knew that I wanted to include my custom field in each item. Logic... yaaay.
Hi, I understand your pain
Hi,
I understand your pain :p
A lot of people have been asking how to do this and there are no real answers.
Views2 RSS and CCK doesn't show custom fields in the RSS XML output.
People use the Contemplate Module to try and force the CCK fields but they don't return as XML elements (at least for many of us)
The best way to get this to happen is to go here and add your comments to get it a priority feature request.
http://drupal.org/node/316107
Hopefully the right people will see it and either at the feature or a clever chap will provide a patch.
This is for Drupal 6 by the way.
Apparently there has been a patch written for Drupal 5 that does this. you can read about that in the above link