cffeed: Atom problem
I'm trying to create an Atom feed using cffeed (funny that all of the examples on the internet use RSS). If I leave out "content", the feed is created fine, but of course with no content. I have the following cfscript:
s.entry.content = StructNew();
s.entry.content.value = posts.post_body;
(s is the struct I'm passing to cffeed, entry is the array that contains all of my entries using index i)
But I get the following error:
content should be a Array.
So I go ahead and change it to this:
s.entry.content = ArrayNew(1);
s.entry.content[1] = posts.post_body;
And now I get this error:
content should be a Struct.
So which is it, ColdFusion? An array or a struct?
