Re: [Zope-dev] Structure-text : html

2001-09-21 Thread R. David Murray

On Thu, 20 Sep 2001, Jens Vagelpohl wrote:
 AFAIK this is the right behavior and not a bug. you ask for the
 StructureText document to be rendered and you inform the rendering
 machinery that the document is in structured text. the rendering process
 will output HTML.

 i think what you want is to simply say dtml-var StructureTextDoc without
 the fmt flag. that should get you the raw structured text. the rendering
 process then assumes the document is already in some kind of HTML format
 and does not try to generate HTML tags.

 On Thursday, September 20, 2001, at 07:14 , Sin Hang Kin wrote:
  When I use dtml-var StructureTextDoc fmt=structured-text
 
  I got html /html in the result. Are there any reason that it should be
  there? I wounder how can structured text generate valid html or be used in
  wap applications.

I think you misread what Sin Hang Kin was getting at.  Consider:

dtml-var standard_html_header
dtml-var StructuredTextDoc fmt=structured-text
dtml-var standard_html_footer

Yes, you want StructuredTextDoc to be output using html formatting.
But what you *don't* want is to have html/html (or header or
body) tags; those are all handled by standard_html_header/footer.

Unless nesting html documents inside html documents is allowed by
the html standards?  And supported correctly (for some useful
definition of correctly) by almost all browsers?

--RDM


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Structure-text : html

2001-09-20 Thread Sin Hang Kin

When I use dtml-var StructureTextDoc fmt=structured-text

I got html /html in the result. Are there any reason that it should be
there? I wounder how can structured text generate valid html or be used in
wap applications.

If structured text is hard coded to output unnecessary html then I
consider it a serious bug. And there should be coding rules that ensure in
future no such bugs exist in Zope.


Rgs,

Kent Sin
-
kentsin.weblogs.com
kentsin.imeme.net


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Structure-text : html

2001-09-20 Thread Jens Vagelpohl

AFAIK this is the right behavior and not a bug. you ask for the 
StructureText document to be rendered and you inform the rendering 
machinery that the document is in structured text. the rendering process 
will output HTML.

i think what you want is to simply say dtml-var StructureTextDoc without 
the fmt flag. that should get you the raw structured text. the rendering 
process then assumes the document is already in some kind of HTML format 
and does not try to generate HTML tags.

jens


On Thursday, September 20, 2001, at 07:14 , Sin Hang Kin wrote:

 When I use dtml-var StructureTextDoc fmt=structured-text

 I got html /html in the result. Are there any reason that it should be
 there? I wounder how can structured text generate valid html or be used in
 wap applications.

 If structured text is hard coded to output unnecessary html then I
 consider it a serious bug. And there should be coding rules that ensure in
 future no such bugs exist in Zope.


 Rgs,

 Kent Sin
 -
 kentsin.weblogs.com
 kentsin.imeme.net


 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] structure text

2000-09-27 Thread nw_moriarty us

I asked, some time ago, why the StructuredText.py did not work with the example 
provided in the triple quotes but my email has been patchy.  Did anybody reply as to 
why the :: does not work all the time?

Nigel




--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )