Forgive me if I'm being a bit dim, but I've searched high and low for this... I'd like to create some simple pages using Structured Text. Am I right in thinking Zope supports this out of the box? I'm not using ZWiki, or Plone, or CMF. I may use some or all of these in the future, but right now I have a nice ZPT-based site and I want people to be able to put some STX-based content up there... Many thanks, Quentin
Unless something has changed, Zope supports structured text out of the box. You can also download a standalone version from CVS. Some later Zopes support restructured text. On Mon, 16 Aug 2004, Quentin Stafford-Fraser wrote:
Forgive me if I'm being a bit dim, but I've searched high and low for this...
I'd like to create some simple pages using Structured Text. Am I right in thinking Zope supports this out of the box?
I'm not using ZWiki, or Plone, or CMF. I may use some or all of these in the future, but right now I have a nice ZPT-based site and I want people to be able to put some STX-based content up there...
Many thanks, Quentin
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On 17 Aug 2004, at 04:38, Dennis Allison wrote:
Unless something has changed, Zope supports structured text out of the box.
Thanks Dennis, but what do I actually do? If I create a new file, or DTML document, or Page Template and put structured text in it, it just comes out rendered as plain text. I'm guessing I need to give it a particular name, or property, or change the MIME type, or some such. I certainly don't have a 'Structured Text Document' product or anything similar I can add. This is Zope 2.7, BTW. Many thanks, all. Quentin
<dtml-var foo structured-txt> will render foo from structured text. foo can be a file object or a dtml-method opbject. 2.7 also includes a product for Restructured test. On Tue, 17 Aug 2004, Quentin Stafford-Fraser wrote:
On 17 Aug 2004, at 04:38, Dennis Allison wrote:
Unless something has changed, Zope supports structured text out of the box.
Thanks Dennis, but what do I actually do? If I create a new file, or DTML document, or Page Template and put structured text in it, it just comes out rendered as plain text.
I'm guessing I need to give it a particular name, or property, or change the MIME type, or some such. I certainly don't have a 'Structured Text Document' product or anything similar I can add.
This is Zope 2.7, BTW.
Many thanks, all. Quentin
Sorry, I can't help. I rarely use ZPT. On Tue, 17 Aug 2004, Quentin Stafford-Fraser wrote:
On 17 Aug 2004, at 08:31, Dennis Allison wrote:
<dtml-var foo structured-txt> will render foo from structured text. foo can be a file object or a dtml-method opbject.
Ah, thanks - anybody know an equivalent using ZPT?
Quentin
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Quentin Stafford-Fraser wrote:
On 17 Aug 2004, at 08:31, Dennis Allison wrote:
<dtml-var foo structured-txt> will render foo from structured text. foo can be a file object or a dtml-method opbject.
Ah, thanks - anybody know an equivalent using ZPT?
Quentin
I've never used it, but you may find interresting having a look to http://www.zope.org/Members/philikon/STXDocument -- David Convent
Quentin Stafford-Fraser wrote:
On 17 Aug 2004, at 08:31, Dennis Allison wrote:
<dtml-var foo structured-txt> will render foo from structured text. foo can be a file object or a dtml-method opbject.
Ah, thanks - anybody know an equivalent using ZPT?
also found this: http://mail.zope.org/pipermail/zope/2004-April/149144.html -- David
Quentin Stafford-Fraser wrote at 2004-8-17 08:58 +0100:
On 17 Aug 2004, at 08:31, Dennis Allison wrote:
<dtml-var foo structured-txt> will render foo from structured text. foo can be a file object or a dtml-method opbject.
Ah, thanks - anybody know an equivalent using ZPT?
Most things you know from DTML are defined in "Products.PythonScripts.standard". What you are looking for now it there under the name "structured_text". -- Dieter
On Tue, Aug 17, 2004 at 08:58:32AM +0100, Quentin Stafford-Fraser wrote:
On 17 Aug 2004, at 08:31, Dennis Allison wrote:
<dtml-var foo structured-txt> will render foo from structured text. foo can be a file object or a dtml-method opbject.
Ah, thanks - anybody know an equivalent using ZPT?
This struck me as such a good question, I felt compelled to post a ZopeLabs recipe :-) http://www.zopelabs.com/cookbook/1092772190 -- Paul Winkler http://www.slinkp.com
participants (5)
-
David Convent -
Dennis Allison -
Dieter Maurer -
Paul Winkler -
Quentin Stafford-Fraser