Thorsten Scherler wrote:
El jue, 09-03-2006 a las 10:09 +0100, Andreas Hartmann escribió:
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.

You are saying I can use lenyadoc://en/index/thorsten.wav

ATM that would be lenyadoc://en/index/thorsten

or
lenyadoc://de/index/thorsten.wav and it will return the correct
location, even if it is an asset/resource/whatever?

Yes, once we have solved the mapper issue and we treat assets
the same way as documents (i.e., remove the distinction between
these two).

-- 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