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
Comment #1
irishgringo commentedresolved
Comment #2
KerriO commentedI 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:"alt";s:9:"DESCRIPTION";s:5:"title";s:0:"";}
</image_data>
Comment #3
allisterbeharry commentedThis is fixed in 6.x-1.0beta1