[Zope-CMF] Adding support for ReST to Document.py

Jens Vagelpohl jens at dataflake.org
Mon Jun 11 15:28:37 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 11 Jun 2007, at 18:05, Charlie Clark wrote:
> Back to my original problem: it's easy enough to edit Document.py  
> and document_edit_template. However, I note that the browser/ 
> document.py does some kind of lookup for supported text formats. Is  
> this what Tres was referring to? How do I register restructured for  
> use for anything using formlib?

See the very top of CMFDefault/browser/document.py, there's a simple  
hardcoded structure.


> BTW - should we keep NewsItem as a separate Python module? The  
> difference between a NewsItem and a Document is minimal and  
> essentially one of presentation and this should surely be handled  
> by the registration.

I don't think this is an issue worth devoting time to.

jens


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGbaJlRAx5nvEhZLIRAtfOAJ99M7m+B/mNa2Fy3ffDFoMkl2x49wCgstk/
Cj3L6Bbsux4Pb75fo4fPc9I=
=3UEZ
-----END PGP SIGNATURE-----


More information about the Zope-CMF mailing list