[Zope] Can Zope handle multiple markup language?

seb bacon seb@jamkit.com
Mon, 15 Oct 2001 17:06:26 +0100


A different (and IMO nicer) approach is to use the CMF skins
tool to present your content.  The CMF separates content, application,
and presentation very well, and you get the added benefit of having
filesystem-based DTML/zpt/images etc out of the box.

We use it to display accessible and printable versions, but it could
easily be extended to use any markup you wanted.

seb

* Firestar <theebh@yahoo.com> [011015 16:13]:
> Hi Mike,
> 
> Yup that sounds similar to what I was doing. Using
> XSLT + XML combo, the work of generating content in
> various markup language is quite easy. I was wondering
> whether using ZPT in Zope will be able to achieve the
> same thing, possibly in a more
> flexible/efficient/faster way?
> 
> My opinion is that with the increase in wireless
> devices and demand for wireless content, a solution
> that can allow developers to serve content in multiple
> markup languages quickly will surely be valuable. I'm
> sure Zope will benefit if this is one area it is
> moving to (just like how Enhydra promotes their XMLC
> as a selling point)
> 
> Regards,
> Firestar
> 
> --- Mike Krohn <mike@krohn.org> wrote:
> > I set up something a few months ago which sounds
> > very like
> > what you are after. I used Phil Harris' nXMLDocument
> > product. I had my own XML-based page definition
> > language
> > together with a style sheet which could translate to
> > XHTML
> > or whatever, dependent on browser type. My XML was
> > actually
> > the definition of the whole page structure and
> > content,
> > rather than just data but that shouldn't make a
> > difference.
> > The nXMLDoc product does the XSL translation as the
> > page is
> > served. A bit like Cocoon.
> > 
> > It worked great. There were a few glitches in
> > setting it up
> > but nothing serious (and I can't recall what they
> > were so
> > thay can't have been anything much). The project got
> > shelved
> > so I never did any performance testing. Otherwise it
> > all did
> > exactly what it said on the tin.
> > ....Mike
> > 
> > ----- Original Message -----
> > From: "Firestar" <theebh@yahoo.com>
> > To: <zope@zope.org>
> > Sent: Saturday, October 13, 2001 5:05 AM
> > Subject: [Zope] Can Zope handle multiple markup
> > language?
> > 
> > 
> > : Hi,
> > :
> > : I have not used Zope before, but i have heard a
> > lot of
> > : new features in Zope such as ZPT Page Templates
> > that
> > : address the issues of presentation. My question is
> > -
> > : is it easy/fast to use Zope to serve content in
> > : MULTIPLE markup language?
> > :
> > : For e.g. I would like to customise my content (in
> > XML)
> > : and deliver it as HTML (for PCs), WML (for WAP
> > phones)
> > : and cHTML (for imode phones). Currently i am using
> > : XSLT/Java to do so and i was wondering whether
> > Zope
> > : could do the same (perhaps in a simpler way?). And
> > if
> > : a new markup language appears, will the solution
> > be
> > : flexible enough to support it?
> > :
> > : Thanks in advance.
> > :
> > : Regards,
> > : Firestar
> > :
> > : __________________________________________________
> > : Do You Yahoo!?
> > : Make a great connection at Yahoo! Personals.
> > : http://personals.yahoo.com
> > :
> > : _______________________________________________
> > : Zope maillist  -  Zope@zope.org
> > : http://lists.zope.org/mailman/listinfo/zope
> > : **   No cross posts or HTML encoding!  **
> > : (Related lists -
> > : 
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > :  http://lists.zope.org/mailman/listinfo/zope-dev )
> > :
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

-- 

   [] j a m k i t 
           
        seb bacon
T:  020 7749 7218
F:  020 7739 8683
M:  07968 301 336
W: www.jamkit.com