xmp api benutzen imageshackapi
-
hi, ich möchte zum testen eine xml datei erstellen die auf die folgenede api zugreift (http://code.google.com/p/imageshackapi/wiki/ImageshackAPI) , genauer auf
Unified upload API ImageShack is pleased to introduce new unified API to upload/transload your images and videos Unified API entry point is: http://www.imageshack.us/upload_api.php for images and http://render.imageshack.us/upload_api.php for video files Supported parameters are: * fileupload; (input type="file") - image or video file. Mandatory unless url parameter is specified. * frmupload; (input type="file") - video default frame picture. Optional, used only for video upload. When you uploading your video you could supply a default frame that will be displayed when video is stopped. Dimensions of this image should be the same as video file's ones to avoid artefacts on screen. * url; This parameter indicates that transload method is used instead of upload * optsize; resize options for image in form WxH if image is uploaded/transloaded. No impact on video uploads. * rembar; Developer could tell to ImageShack to leave/remove information bar on thumbnail image generated by ImageShack . If you've supplied this parameter as yes or as 1 then generated thumbmail will have no information bar. No impact on video uploads * tags; A comma-separated list of tags to add to your video/image. E.g. family,picture. Optional * public; Public/private marker of your video/picture. yes means public (default), no means private. Optional * cookie; Registration code, optional. * a_username; Username, optional. * a_password; Password, optional. * key; Your DeveloperKey. Mandatory.
ich wüsste wie man das in php oder java macht, aber ich kann mir nicht erklären wie ich das in eine xml datei scheibe (zum teil habe ich das problem, dass ich mir die öffnenden und schließende tags nicht vorstellen kann.
z.b. bei fileupload, müsste es dann<select name="fileupload" id="fileupload"> <option value=url zum bild>bild</option> </select>
heißen?
-
es muss im topic xml anstatt xmp heißen, sry
-
Hallo,
wenn dann:
<fileupload>HierDieDatei.jpg</fileupload>
Es wird sicher eine genauere Sepzifikation zum XML-Schema der imageshackapi geben.
VlG