15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Add the File Information Tag<br />

Automatic Upload<br />

Information for each uploaded file is contained within the tag, which<br />

has two attributes.<br />

Each uploaded file contains one of these attributes and all the data contained<br />

within it. <strong>eWebEditPro</strong> uploads only one file with each post, so normally you have<br />

one entry.<br />

With the tag, the returned XML data should look something like this:<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Adding the File Information<br />

FILEINFO<br />

Attribute<br />

Description<br />

ID An ID value assigned by the server to uniquely identify a<br />

file in the data.<br />

This is not the same as the ID element, which is the<br />

value assigned by the client and most likely will not<br />

match.<br />

discard If the server accepted the file but does not want it used<br />

within the content, it sets this value to true. The client<br />

receives the data and corrects the content to not contain<br />

the file.<br />

The rest of the elements contain data about the file.<br />

IMPORTANT! These elements must exist, even if there is no data within them.<br />

This completes the XML data.<br />

<br />

<br />

<br />

<br />

C:\Inetpub\wwwroot\Arrows\next0.gif<br />

http://www.echo.com/ewebeditpro3/upload/me(1).gif<br />

<br />

128<br />

<br />

<br />

<br />

<strong>Ektron®</strong> <strong>eWebEditPro</strong> Developer’s <strong>Reference</strong> <strong>Guide</strong>, Release 5.1, Revision 1 470

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!