You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by I-Chung Young <ic...@puma.mt.att.com> on 2000/10/27 05:43:54 UTC

How to do this or it is the wrong way to go

All,

	I am struggle with how to integrate Cocoon with Phone.com's
Digest content type (multipart/mixed). The (raw) output (http 
response) should be something like:

----------- start here ----------
Content-type: multipart/mixed; boundary="abcd"

__abcd
Content-type: application/x-up-cacheop

.....

__abcd
Content-type: text/vnd.wap.wml

<wml>
....
</wml>

__abcd--
----------- end here ----------

	One fundamental question, should I even bother to
solve this problem using cocoon? I know I can use servlet
to include result of wml (which is the result of XSP page).
However, the link in xsp page is not generic for all (HTML/WML)

	I cannot setup digest as a new formatter. I got
error on output text before element with XML formatter. Or
all wml tag is striped off with text formatter.

	I even consider using/modifying DB Prism's HeaderProcessor
and use it in XML. But this should only apply to WML pages.

	Where does this kind of device dependent control belong to
content or presentation or management (as in Cocoon2)? Or shouldn't
be mixed with publishing framework.

	Any suggestion?

Thanks.
------------
I-Chung Young
ichung@puma.mt.att.com