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
RepositorySourceusing the path of a document in the site structure. -
lenya: -
Get a
RepositorySourcein the context of Lenya. Used mainly internally. -
lenyadoc:(deprecated) -
Get a
RepositorySourceof a specific document using the UUID. -
fallback:,template-fallback:,aggregate-fallback: - Reference a resource by enforcing the publication templating mechanism.
