Hi Lenya devs,

IMO it would be very convenient to agree on a uniform syntax for
addressing documents. This could be used as a parameter for the
doc-info module, for internal links, etc.

The parameters which have to be contained are

  - publication ID
  - area
  - uuid
  - language

My first idea would be to use the current syntax of the doc-info module:

  {pubId}:{area}:{uuid}:{language}

e.g.

  default:authoring:23e40a90-2c68-11db-a98b-0800200c9a66:en


The doc-info module could be invoked for the currently requested
document using one of these expressions (choose which you like most):

  {doc-info:{page-envelope:document-address}:path}
  {doc-info:{page-envelope:document-identifier}:path}
  ...

An internal link URL might look like this:

  document://{pubId}:{area}:{uuid}:{language}

Which protocol name should we use?

Thanks for any comments!

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