This element allows for the configuration of information which is used when using HTTP upload within Ephox EditLive! for XML to upload embedded image and media files.
<httpUpload>
<editLive>
...
<mediaSettings>
<httpUpload ... />
</mediaSettings>
...
</editLive>This attribute defines the location where images can be found after they have been uploaded. For more information please see the article on HTTP upload.
This attribute defines the location on the Web server of the script which handles image uploads. For more information please see the article on HTTP upload.
This attribute defines whether local object files are automatically uploaded using the base and href attributes mentioned above.
This attribute is a boolean, and can have the value of either true or false.
This element is used to provide extra information when performing a HTTP upload. This can be used so that extra information is provided to your HTTP upload handler script. Information is provided in name and value pairings.
The following example demonstrates how to define the base and href attributes for EditLive! for XML.
<editLive>
...
<mediaSettings>
<httpUpload
base="http://yourserver.com/imagedir/"
href="http://yourserver.com/scripts/uploadhandler.asp"
</httpUpload>
</mediaSettings>
...
</editLive> The <httpUpload> element can appear only once within the <mediaSettings> element.
If there is no <httpUploadData> element(s) then <httpUpload> must be a complete tag, it cannot contain a tag body. Therefore the tag must be closed in the same line. It should appear as below:
<httpUpload base=... />
If there are <httpUploadData> elements present then the <httpUpload> element needs to have both opening and closing tags. It should appear as below:
... <httpUpload base=... > <httpUploadData name=... /> <httpUploadData name=... /> </httpUpload> ...
Copyright 2001-2005 Ephox Corporation. All Rights Reserved.