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>
<httpImageUpload ... />
</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 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>
<images>
<httpImageUpload
base="http://yourserver.com/imagedir/"
href="http://yourserver.com/scripts/uploadhandler.asp"
/>
...
</images>
</mediaSettings>
...
</editLive> The <httpUpload> element can appear only once within the <mediaSettings> element.
If there is no <httpUploadData> element(s) then <httpImageUpload> 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:
<httpImageUpload base=... />
If there are <httpUploadData> elements present then the <httpUpload> element needs to have both opening and closing tags. It should appear as below:
... <httpImageUpload base=... > <httpUploadData name=... /> <httpUploadData name=... /> </httpImageUpload> ...
Copyright 2001-2004 Ephox Corporation. All Rights Reserved.