I have been fooling arround with datasource all day today, but I can not get this to work properly. All I am trying to do is create somekind of XML file that lists a bunch of text fields, and the URL of an IMAGECACHE image. The purpose of this project it to allow an iPhone app that i am working on to down load the information, perhaps as a plist.
As a normal view, everythign works great... exactly the way I want to see it. But as soon as I use any ( and I have tried all) of the datasource types, I can not get the URL file... just some serialized data.

I was also reading a post about how I need to add a relationship to the file, which I have been trying to figure out. But if the view works fine as a PAGE type, why would i have to change anything as an XML output type? more important, perhaps someone can give me a hink about what I should do instead to fix this issue. perhaps I should be using another type of solution?

Comments

irishgringo’s picture

Assigned: allisterbeharry » Unassigned
Status: Fixed » Active

resolved

KerriO’s picture

I am having this exact same issue. Adding the image field not only creates an element with a string of serialized data, as shown above, but it also creates additional elements. A single image field is adding all this to the XML file:
<image_fid>6</image_fid>
<image_list>1</image_list>

<image_data>
a:2:{s:3:&quot;alt&quot;;s:9:&quot;DESCRIPTION&quot;;s:5:&quot;title&quot;;s:0:&quot;&quot;;}
</image_data>

allisterbeharry’s picture

Assigned: Unassigned » allisterbeharry
Status: Active » Fixed

This is fixed in 6.x-1.0beta1

Assigned: Unassigned » allisterbeharry
Status: Active » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.