Why must it be stored in a RDB? Can you not store the DTML in the ZODB and store the path or id to the DTML in the RDB or a python script that can massage whatever data you need and call the DTML.. -- Jeffrey D Peterson Webmaster Crary Industries, Inc. 237 12th St NW West Fargo, ND 58078 P: 701-499-5928 E: jeff.peterson@crary.com
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of Andrew Milton Sent: Wednesday, August 18, 2010 11:26 AM To: Garry Saddington Cc: zope@zope.org Subject: Re: [Zope] Storing DTML in SQL
+-------[ Garry Saddington ]---------------------- | Garry Saddington wrote: | > Justin Dunsworth wrote: | >> I am currently working on a project where I am storing HTML within a | >> MySQL database to display dynamic pages and content in sequences. I | >> would like to be able to store DTML within the tables as well and be | >> able to call them within the page to display that content. I tried | >> mixing the DTML in with the HTML and it shows the HTML correctly but no | >> DTML. | >> | >> Is it possible to even do this? Are there other suggestions on how to go | >> about this? | > | > The closest I have found is on Zopelabs | > (http://www.zopelabs.com/cookbook/1078612026) | | Sorry wrong recipe try this: | | http://www.zopelabs.com/cookbook/993850737/1011691351
Do I really have to explain why that particular recipe is a bad idea? d8)
-- Andrew Milton akm@theinternet.com.au _______________________________________________ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )