Monday 18 August 2008 7:14:15 am - 3 replies
Gabriel Finkelstein
Tuesday 19 August 2008 10:57:49 am
Is your file attribute called "binary" or "file"?
Take a look at these extensions, maybe they help. http://ez.no/developer/contribs/import_export/xmlimporthttp://zev.ez.no/svn/extensions/csv/trunk/
Oliver Schrenk
Tuesday 19 August 2008 12:51:36 pm
The attribute is "file". Thanks for the link. The xml import contribution almost answers all my questions.
The API is weird. Why is there a helper function to initialize images but not for files?
Tuesday 19 August 2008 3:02:03 pm
In this line you use "binary". I suppose it should be "file".
$fileContent =& $dataMap['binary']->attribute( 'content' );
But still, I guess it won't work since, as you say, there's no such method as initializeFromFile.
You must be logged in to post messages in this topic!