Andreas Hartmann wrote:

[...]

Which protocol should we use?
IMO the relative form of the lenyadoc:/ protocol is appropriate:

  lenyadoc:/<language>/<uuid>

I would like to change the order of the arguments, because then
it would be quite straightforward to make the language optional.
The old order isn't necessary anymore because the UUID can't
contain slashes.

  lenyadoc:/<uuid>/<language>
  lenyadoc:/<uuid>

I just noticed that it might make sense to use a different delimiter,
for instance a colon:

- With the slash as separator, an absolute URL is created if the
  UUID is accidentally an empty string (lenyadoc://en)

- If we don't use the slash, we could make the UUID optional as well
  (lenyadoc:/:en). For instance, in a customer project, we had to
  display the English version on French news pages. This would be
  quite easy with this syntax:

  <ci:include src="lenyadoc:/:en"/>


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