CCK Node Reference to custom feed

I'm working with 2 types of nodes, 'alert' and 'area'. I've pre-populated a bunch of area data which contains various information such as coordinates, etc. Each 'alert' has, among other information(title,scope), a node reference to an 'area'.

I'm trying to create a feed like this:

<alerts>
  <alert>
  <title>Title</title>
  <scope>Public</scope>
  ....
  <area>
     <coordinates></coordinates>
     ...etc....
  </area>
  ....
  </alert>
  <alert>...</alert>
</alerts>

I've got the basic alert stuff out using Views Node Feed by pulling out the [field_area][0]['values'] but it just returns a node id. How can I retrieve the rest of the area information so that I can put it in my feed?

Login to post comments