Re: [Zope] HTML formatting from a text field

2000-12-14 Thread Ausum

Thanks to all the people who answered.
I couldn't wait to find the proper product so I went the shorter way.
Being not a developer, I just borrowed the code from this known site,
expecting that you real coders could write a finished Zope product.
My needs were simple: let authorized IE-PC users to paste html-formatted
text when needed and in WYSIWYG mode, while having the webmaster to
pay attention to design and layout using Dreamweaver and Zope.
Here you'll find the sample and the code:

http://www.zope.org/Members/ausum/Html-formatted%20text%20field/

There's a pending job (from the original code) and it is to enable
the insert images and tables feature. 

Regards,


Ausum



David Spencer wrote:
 
 Ausum,
 
 I would suggest going to the website for Lotus Quickplace
 (www.quickplace.com or www.lotus.com) and signing up for a demo account.
 They've got a very simple word processor (bold, italics, a couple of fonts,
 etc.) integrated into their project sites that, I think, does what you're
 describing.  I'm pretty sure everything is accomplished using Javascript.
 If you could port something like this over to zope and release it as a
 product, so that WYSIWYG documents can be created through the web and still
 incorporate standard headers and footers, I would be a very happy man.  I
 dread trying to explain zwiki and structured text to clients.  You might
 also want to look at standardbrains.editthispage.com.  He's got an
 excellent, javascript-based approach to WYSIWYG editing, but you can't save
 it back to the site as far as I can tell.
 
 David
 
 

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




RE: [Zope] HTML formatting from a text field

2000-12-13 Thread Lee Hunter

Hi Ausum,

Do you mean a text field that shows a row of formatting buttons at the top
for 'bold', 'italic' 'add link' etc.

There is an ActiveX control that is built in to IE Explorer 5.x - you just
have to call it from your page.

Here's the information from Microsoft:

http://msdn.microsoft.com/workshop/author/dhtml/edit/ref/cncpt.asp

If you get it working with Zope (which shouldn't be a problem) let us know.

The Manila/Frontier CMS uses it as a default and it works well. It's very
handy when you have users who have basic word processor knowledge (i.e. they
know enough to select text first then click a formatting button) but can't
be trusted with hand coding html.

Cheers

Lee Hunter



  - - - H U M  C O M M U N I C A T I O N S  L T D - - -
website design, content management and technical editing
   Ste. 147 99 Fifth Ave Ottawa ON Canada K1S 5P5
  1-819-459-2511


Ausum wrote:
 what I have in mind, wich is
 a sort of simple html editor within a text field. As I said before, the
 only place I've seen something like that is at Hotmail.



___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] HTML formatting from a text field

2000-12-13 Thread Rik Hoekstra



Lee Hunter wrote:
 
 Hi Ausum,
 
 Do you mean a text field that shows a row of formatting buttons at the top
 for 'bold', 'italic' 'add link' etc.
 
 There is an ActiveX control that is built in to IE Explorer 5.x - you just
 have to call it from your page.
 
 Here's the information from Microsoft:
 
 http://msdn.microsoft.com/workshop/author/dhtml/edit/ref/cncpt.asp
 
 If you get it working with Zope (which shouldn't be a problem) let us know.
 


There was a start at a product doing this (called ZIE) by Johan Carlsson
, but it looks like it was aborted quite some time ago. Dont know about
its status. You could try how far it would get you, tho
see:
http://www.zope.org/Members/johanc/ZIE

hth

Rik

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] HTML formatting from a text field

2000-12-13 Thread David Spencer

Ausum,

I would suggest going to the website for Lotus Quickplace
(www.quickplace.com or www.lotus.com) and signing up for a demo account.
They've got a very simple word processor (bold, italics, a couple of fonts,
etc.) integrated into their project sites that, I think, does what you're
describing.  I'm pretty sure everything is accomplished using Javascript.
If you could port something like this over to zope and release it as a
product, so that WYSIWYG documents can be created through the web and still
incorporate standard headers and footers, I would be a very happy man.  I
dread trying to explain zwiki and structured text to clients.  You might
also want to look at standardbrains.editthispage.com.  He's got an
excellent, javascript-based approach to WYSIWYG editing, but you can't save
it back to the site as far as I can tell.

David


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




RE: [Zope] HTML formatting from a text field

2000-12-13 Thread sean . upton

I remember reading somewhere about messaging between Java applets and
JavaScript code in the browser, allowing JavaScript code from a web form to
manipulate the applet output; the example was typing something into a text
box, clicking a button in a form, and having that rendered in some obscure
font inside the applet.  Where I read this escapes me, and I've never tried
this, but I wonder if such a trick works conversely.  In other words, what
if the applet can pass values to a JavaScript variable associated with the
value of a form input element in the browser's HTML DOM?

I could imagine that something like this could be very effective for certain
situations where people want better through-the-web editing of code (imagine
if you could edit dtml in a web form color coding syntax with a feature to
collapse blocks of code, similar to Homesite 4.5, or editing python scripts
-- what were python methods -- with an outline-based editor that created
automatic indentation).

Or, better yet, imagine running JPython within the applet (I don't know
whether this is possible) to do all this.  

Anyway, I wonder if this type of thing could be an alternative to either
ActiveX components or a XUL/XPCOM based-interface.

Sean

-Original Message-
From: Rik Hoekstra [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 8:17 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] HTML formatting from a text field




Lee Hunter wrote:
 
 Hi Ausum,
 
 Do you mean a text field that shows a row of formatting buttons at the top
 for 'bold', 'italic' 'add link' etc.
 
 There is an ActiveX control that is built in to IE Explorer 5.x - you just
 have to call it from your page.
 
 Here's the information from Microsoft:
 
 http://msdn.microsoft.com/workshop/author/dhtml/edit/ref/cncpt.asp
 
 If you get it working with Zope (which shouldn't be a problem) let us
know.
 


There was a start at a product doing this (called ZIE) by Johan Carlsson
, but it looks like it was aborted quite some time ago. Dont know about
its status. You could try how far it would get you, tho
see:
http://www.zope.org/Members/johanc/ZIE

hth

Rik

___
Zope maillist  -  [EMAIL PROTECTED]
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 )

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] HTML formatting from a text field

2000-12-12 Thread Ausum

I'm needing a tool that could let a normal user to update a web page,
HTML-formatted from a text field within a Zope's form, just like the
Compose page at Hotmail, when selecting "Rich Text Format".

Does anyone know how to do it? I've tried to find out the technology
behind that page, but guess I didn't get too far.


Thanks in advance,


Ausum

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] HTML formatting from a text field

2000-12-12 Thread Ausum

Yes I did, but I guess it doesn't work for what I have in mind, wich is
a sort of simple html editor within a text field. As I said before, the
only place I've seen something like that is at Hotmail.

Has anyone tried to parse HTML code to Zope, from a WYSIWYG-style java
applet text field?


Ausum



Dieter Maurer wrote:
 
 Ausum writes:
   I'm needing a tool that could let a normal user to update a web page,
   HTML-formatted from a text field within a Zope's form, just like the
   Compose page at Hotmail, when selecting "Rich Text Format".
  
   Does anyone know how to do it? I've tried to find out the technology
   behind that page, but guess I didn't get too far.
 Did you look at the ZWiki product (-- zope.org)?
 
 Dieter
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 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 )

___
Zope maillist  -  [EMAIL PROTECTED]
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 )