Lenya Protocols
Cocoon uses different protocols to access sources. The protocols are handled by a SourceFactory
which resolves the
given URI to a source. There are a few protocols specific to Lenya:
-
lenya-document:
- Reference a document by UUID. The swiss army knife of Lenya. Used for all internal links.
-
site:
-
Get a
RepositorySource
using the path of a document in the site structure. -
lenya:
-
Get a
RepositorySource
in the context of Lenya. Used mainly internally. -
lenyadoc:
(deprecated) -
Get a
RepositorySource
of a specific document using the UUID. -
fallback:
,template-fallback:
,aggregate-fallback:
- Reference a resource by enforcing the publication templating mechanism.