W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > April to June 2009

Renditions/Reviews/Thumbnails in WebDAV

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 26 May 2009 20:48:41 +0200
Message-ID: <4A1C3989.1060100@gmx.de>
To: WebDAV <w3c-dist-auth@w3.org>

the CMIS TC is currently discussing how to expose thumbnails in their 
API. While listening to that discussion, I realized it would be trivial 
in WebDAV, based on link-typed properties and the DAV:expand-property 

So, the use case is: retrieve contents of a folder, and for each image 
in the folder, retrieve URLs + metadata for thumbnail images.


1) New property x:preview-set, containing a set of DAV:href elements 
referencing HTTP resources representing the preview (thumbnail) resources.

2) The DAV:expand-property 
already allows getting the contents of a collection, while also 
expanding link-type properties.

Such as:

Host: www.webdav.org
Depth: 1
Content-Type: text/xml; charset="utf-8"
Content-Length: xxxx

<D:expand-property xmlns:D="DAV:">
  <D:property name="preview-set" namespace="extension-URI">

Note that this REPORT will also allow retrieving properties of the link 
targets, such as the thumbnail's dimensions.

BR, Julian
Received on Tuesday, 26 May 2009 18:49:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:38 UTC