Thorsten Scherler wrote:

[...]

The plan should be when requesting
lenyacontent://{page-envelope:publication-id}/{page-envelope:area}/{page-envelope:document-language}/{page-envelope:document-id}
is to:
a) lookup {document-id}.{language}.meta
b) determine the resource type
c) resourceType.getPathMapper().getPath(document)
d) return /foo/bar/index_en.odt for the ODT resource type

wdyt?
>
Did I forgot something? Can I reuse the excellent work of Andreas
regarding the new repo api?

No, I don't think so.

BTW why a new protocol? Well this protocol should finally treat docs and
resources the same. ;)

Once we change the behaviour of the DocumentIdToPathMapper like mentioned
above, the lenyadoc:// protocol will behave exactly like this.
I don't see the need for another protocol.

-- Andreas



--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to