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 or
lenyadoc://de/index/thorsten.wav and it will return the correct
location, even if it is an asset/resource/whatever?
salu2
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]