W3C home > Mailing lists > Public > public-digipub-ig@w3.org > February 2016

Re: [dpub-loc] 20160217 minutes

From: Leonard Rosenthol <lrosenth@adobe.com>
Date: Thu, 18 Feb 2016 17:33:48 +0000
To: Romain <rdeltour@gmail.com>
CC: Daniel Weck <daniel.weck@gmail.com>, "DPUB mailing list (public-digipub-ig@w3.org)" <public-digipub-ig@w3.org>
Message-ID: <9EA762D0-F5CE-44DB-9E72-AC5A57208312@adobe.com>
But a dumb server would never return such a payload – it doesn’t know how to do that!

Remember, a dumb server is one that cannot be configured in any way – it only works with what it gets “out of the box”.  If you can configure it in any way, then it’s smart.

Given a dumb server (domain.com, in Daniel’s example) and the following URLs from Dan’s example:
"packed": "https://domain.com/path/to/book1.pwp",
"unpacked”: "https://domain.com/another/path/to/book1/"

Then referencing the packed URL will return the full data of the PWP in whatever format that ends up (eg. ZIP).  Referencing the unpacked URL will either return a catalog of the directory or an error – depending on the configuration of the server.  In NEITHER case will you get an HTML doc or a JSON doc.

Leonard

From:  Romain <rdeltour@gmail.com<mailto:rdeltour@gmail.com>>
Date: Thursday, February 18, 2016 at 10:29 AM
To: Leonard Rosenthol <lrosenth@adobe.com<mailto:lrosenth@adobe.com>>
Cc: Daniel Weck <daniel.weck@gmail.com<mailto:daniel.weck@gmail.com>>, "DPUB mailing list (public-digipub-ig@w3.org<mailto:public-digipub-ig@w3.org>)" <public-digipub-ig@w3.org<mailto:public-digipub-ig@w3.org>>
Subject: Re: [dpub-loc] 20160217 minutes


On 18 Feb 2016, at 13:39, Leonard Rosenthol <lrosenth@adobe.com<mailto:lrosenth@adobe.com>> wrote:

If you have a dumb server (eg. a static file hosting service) - how do you get the “explicit links in the GET answer”?

By having links in the payload, mostly. Be it an HTML doc with link elements, or a JSON doc (like in Daniel's example).

Romain.

Received on Thursday, 18 February 2016 17:34:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 25 April 2017 10:44:40 UTC