Doug Chestnut wrote:
[...]
can somebody who's into the asset code clarify how assets are
differenciated from documents for the purpose of the insertAsset
usecase? i'd like to see this set documented and set in stone somewhere.
since i'm trying to unify the insertAsset and insertImage usecases: how
do we tell images (or in fact anything that can be directly displayed in
the rendered page) from "binary" assets (i.e. stuff that will be
displayed as a link, such as pdfs)?
Currently "resource" doctypes are referenced as assets.
Perhaps this should be handled instead by formats of the doctype instead
of a particular doctype. This way, any document that has an image
representation would be treated as an image, etc.
+1
{resource-type:format-xhtml-inline} could return an XML snippet
<xhtml:object data="..." title="..."/>
It could be included using for instance
<lenya:document src="lenyadoc://..."/>
BTW, this could be used for XML documents as well, the xhtml-inline
format would just return an <xhtml:div> or something like that.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]